Pass inputs to release expressions using -I

[?]
Dec 5, 2011, 12:08 PM
SM5M2J3AGBS4IHD7TBFBVNMXTUBVA5OIFIIJJDAU6KUCPRU4S74AC

Dependencies

  • [2] RFE6T5LG * Store jobset evaluations in the database explicitly. This includes
  • [3] AEKIREIH * Updated hydra_eval_jobs for the new evaluator.
  • [4] 5SHCWE7X * Prevent repeated evaluation of a jobset with the same inputs. This
  • [5] FDE3BJAP * Refactoring.
  • [6] PIMGMGAF Rename hydra_eval_jobs to hydra-eval-jobs
  • [*] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.
  • [*] YGRLM2SK * Export all relevant info about the derivation.
  • [*] A63IHCMX * Register GC roots properly.
  • [*] KD5237CU * eval-jobs now efficiently evaluates all Hydra jobs from a
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [*] 3XTHEUMP * Implemented the clone feature.
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • edit in src/c/hydra-eval-jobs.cc at line 12
    [9.23]
    [8.451]
    #include "common-opts.hh"
  • edit in src/c/hydra-eval-jobs.cc at line 207
    [3.2497]
    [8.613]
    /* Prevent undeclared dependencies in the evaluation via
    $HYDRA_PATH. */
    unsetenv("HYDRA_PATH");
  • edit in src/c/hydra-eval-jobs.cc at line 234
    [10.582]
    [11.2867]
    else if (parseSearchPathArg(arg, i, args.end(), state))
    ;
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 607
    [13.1469]
    [13.1469]
    push @res, "-I", "$input=$inputInfo->{$input}->[0]->{storePath}"
    if scalar @{$inputInfo->{$input}} == 1
    && defined $inputInfo->{$input}->[0]->{storePath};
  • replacement in src/script/hydra-evaluator at line 118
    [4.2335][2.5463:5522]()
    if ($jobset->jobsetevals->find({hash => $argsHash})) {
    [4.2335]
    [4.2400]
    if (scalar($jobset->jobsetevals->search({hash => $argsHash})) > 0) {