[?]
Nov 7, 2008, 3:29 PM
TWURROKCCLM4VOGVBX74ZW3UR4Q3ZSU3HDHU3CIOQUJ55PFOD7GQC

Dependencies

  • [2] FDE3BJAP * Refactoring.
  • [3] WYN733ST * Store build duration, handle cached builds.
  • [4] M552HLIA * Support variant builds.
  • [5] T7AHGVGM
  • [6] X27GNHDV * Basic job info in the database.
  • [7] 5QJP6JHS * Get dependencies from the database.
  • [8] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/scheduler.pl at line 27
    [3.2333][3.2333:2358]()
    my $buildStatus = 0;
    [3.2333]
    [3.2358]
    my $outputCreated = 1; # i.e., the Nix build succeeded (but it could be a positive failure)
  • replacement in src/scheduler.pl at line 42
    [3.2380][3.2637:2679]()
    $buildStatus = $res == 0 ? 0 : 1;
    [3.2380]
    [3.2679]
    $outputCreated = $res == 0;
    }
    my $buildStatus;
    if ($outputCreated) {
    # "Positive" failures, e.g. the builder returned exit code 0
    # but flagged some error condition.
    $buildStatus = -e "$outPath/nix-support/failed" ? 2 : 0;
    } else {
    $buildStatus = 1; # = Nix failure
  • replacement in src/scheduler.pl at line 97
    [3.6636][3.415:448]()
    if ($buildStatus == 0) {
    [3.6636]
    [3.6679]
    if ($outputCreated) {
  • edit in src/scheduler.pl at line 187
    [2.1647]
    [2.1647]
    my %newInputInfo = %{$inputInfo}; $inputInfo = \%newInputInfo; # clone
  • replacement in src/scheduler.pl at line 289
    [2.4539][2.4539:4596]()
    $project, $jobset, $inputInfo, $nixExprPath,
    [2.4539]
    [2.4596]
    $project, $jobset, {}, $nixExprPath,