hydra: moved getbuildlog

[?]
Sep 2, 2010, 8:56 AM
QBQSQOSYZLHDZ65RLOFEWFAIKHA5UN7V4RQYVXHCWUJDDXXGOZFQC

Dependencies

  • [2] C7CXMZ66 hydra: do not perform git clone every time. in stead work on local clone and pull
  • [3] A22P7HCO hydra: at evaluation, check if path is already built, and mark as built in stead of adding to the queue.
  • [4] FR7XCVLK
  • [5] 3XTHEUMP * Implemented the clone feature.
  • [6] 5SHCWE7X * Prevent repeated evaluation of a jobset with the same inputs. This
  • [7] 3BKF6P72 * Use Nix's negative caching.
  • [8] OG7BEM57
  • [9] MPGVCHVF * Fix an apparent incompatibility with recent DBIx::Class.
  • [10] CXRCPDSQ * added support for twitter notification
  • [11] 7YBYT2LQ
  • [12] AFTXA575 * $HYDRA_DATA environment variable.
  • [13] SGNXIOI4 Hydra/32: Add option to force evaluation of a certain jobset via web interface (for admins only)
  • [14] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [15] O25D52TA initial support for mercurial
  • [16] 6KCP6ODP * Get the URI for use in notification mails from the Hydra config

Change contents

  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 13
    [4.2785][3.0:98]()
    our @EXPORT = qw(fetchInput evalJobs checkBuild inputsToArgs captureStdoutStderr getReleaseName);
    [4.2785]
    [4.2815]
    our @EXPORT = qw(fetchInput evalJobs checkBuild inputsToArgs captureStdoutStderr getReleaseName getBuildLog);
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 17
    [2.81]
    [2.81]
    }
    sub getBuildLog {
    my ($drvPath) = @_;
    my $logPath = "/nix/var/log/nix/drvs/" . basename $drvPath;
    return -e $logPath ? $logPath : undef;
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 26
    [4.2817]
    [4.2817]
  • edit in src/script/hydra_build.pl at line 29
    [4.2][4.2:153](),[4.153][4.0:1](),[4.1][4.56:57](),[4.153][4.56:57]()
    sub getBuildLog {
    my ($drvPath) = @_;
    my $logPath = "/nix/var/log/nix/drvs/" . basename $drvPath;
    return -e $logPath ? $logPath : undef;
    }