* Record the input containing the Nix expression (release.nix) in the

[?]
Mar 23, 2009, 9:42 PM
BTOXLRG37PPI4MPXMVGZP2GJVUHV5LFMR3EMIWZMRZEJGV23M72QC

Dependencies

  • [2] S5PV6IIM * Represent jobs explicitly in the DB.
  • [3] 7YBYT2LQ
  • [4] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [5] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [6] POPU2ATH * hydra_scheduler: use eval-jobs.
  • [7] L2E6EVE2 * Merged the Build and Job tables.
  • [8] M552HLIA * Support variant builds.
  • [9] TLZ2SPBR
  • [10] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [11] FDE3BJAP * Refactoring.
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/script/hydra_scheduler.pl at line 253
    [3.756][3.756:807]()
    my ($project, $jobset, $inputInfo, $job) = @_;
    [3.756]
    [3.805]
    my ($project, $jobset, $inputInfo, $nixExprInput, $job) = @_;
  • edit in src/script/hydra_scheduler.pl at line 302
    [3.12524]
    [3.1167]
    my %inputs;
    $inputs{$jobset->nixexprinput} = $nixExprInput;
  • replacement in src/script/hydra_scheduler.pl at line 305
    [3.1210][3.1210:1302]()
    my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}] or die "invalid input";
    [3.1210]
    [2.5759]
    $inputs{$arg->{name}} = $inputInfo->{$arg->{name}}->[$arg->{altnr}]
    || die "invalid input";
    }
    foreach my $name (keys %inputs) {
    my $input = $inputs{$name};
  • replacement in src/script/hydra_scheduler.pl at line 312
    [2.5807][2.5807:5846]()
    { name => $arg->{name}
    [2.5807]
    [3.10662]
    { name => $name
  • replacement in src/script/hydra_scheduler.pl at line 318
    [3.10932][3.10932:11007]()
    , path => ($input->{storePath} or "") # !!! temporary hack
    [3.10932]
    [3.2396]
    , path => $input->{storePath} || "" # !!! temporary hack
  • replacement in src/script/hydra_scheduler.pl at line 373
    [3.2226][3.2226:2302]()
    my $nixExprPath = $inputInfo->{$jobset->nixexprinput}->[0]->{storePath}
    [3.2226]
    [3.2302]
    die "not supported" if scalar @{$inputInfo->{$jobset->nixexprinput}} != 1;
    my $nixExprInput = $inputInfo->{$jobset->nixexprinput}->[0]
  • replacement in src/script/hydra_scheduler.pl at line 376
    [3.2372][3.2372:2420]()
    $nixExprPath .= "/" . $jobset->nixexprpath;
    [3.2372]
    [3.3983]
    my $nixExprPath = $nixExprInput->{storePath} . "/" . $jobset->nixexprpath;
  • replacement in src/script/hydra_scheduler.pl at line 395
    [3.2965][3.2965:3020]()
    checkJob($project, $jobset, $inputInfo, $job);
    [3.2965]
    [3.7080]
    checkJob($project, $jobset, $inputInfo, $nixExprInput, $job);