Remove dead code

[?]
Sep 30, 2013, 9:57 AM
CGHMXHOL6MMLU4BYSFGIRP45DTDZ47HUIN4K4EPSLXGBYLEA4L2QC

Dependencies

  • [2] 4WZQW2N6 Fix indentation and get rid of some unnecessary whitespace in the output
  • [3] QE253KG4 * Option to show the tail of a log.
  • [4] GA6XIXAN * Show the input bindings in evaluation error messages.
  • [5] FYO6NECE hydra
  • [6] T6KISLR6 Fix indentation
  • [7] SHZLOM5M * eval-jobs -> hydra_eval_jobs.
  • [8] RXVJFQ5A Evaluator cleanups
  • [9] 3PNG7NIB Remove trailing whitespace
  • [10] AKRVETP5 Handle UTF-8 characters in eval error messages
  • [*] IK53RV4V
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • edit in src/root/common.tt at line 247
    [2.4899][2.4899:5244]()
    BLOCK renderInputValue;
    IF input.type == "build" || input.type == "sysbuild";
    INCLUDE renderFullBuildLink build=input.dependency;
    ELSIF input.type == "string" || input.type == "boolean" %]
    <tt>"[% input.value %]"</tt>
    [% ELSE %]
    <tt>[% input.uri %][% IF input.revision %] (r[% input.revision %])[% END %]</tt>
    [% END;
    END;
  • edit in src/script/hydra-evaluator at line 253
    [3.817][3.0:517]()
    my $bindings = "";
    foreach my $arg (@{$error->{arg}}) {
    my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}] or die "invalid input";
    $bindings .= ", " if $bindings ne "";
    $bindings .= $arg->{name} . " = ";
    given ($input->{type}) {
    when ("string") { $bindings .= "\"" . $input->{value} . "\""; }
    when ("boolean") { $bindings .= $input->{value}; }
    default { $bindings .= "..."; }
    }
    }