Pass the abbreviated Git revision

[?]
Dec 6, 2011, 10:04 PM
KNJTTZ3ZA7FRNX5YTNDWFLJNAMEA6K4EOR45SJSLQFYWMJQ33ISQC

Dependencies

  • [2] 4FWDVNWA Pass additional attributes for Git inputs
  • [3] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [4] JTRG7RDQ add support for git as jobinput
  • [*] KQS7DSKJ * Clean up indentation.
  • [*] 3XTHEUMP * Implemented the clone feature.

Change contents

  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 404
    [2.73][2.73:199]()
    # number of commits in the history of this revision (‘revCount‘)
    # and the output of git-describe (‘gitTag’).
    [2.73]
    [2.199]
    # number of commits in the history of this revision (‘revCount’)
    # the output of git-describe (‘gitTag’), and the abbreviated
    # revision (‘shortRev’).
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 411
    [2.420]
    [3.1922]
    my $shortRev = `git rev-parse --short $revision`; chomp $shortRev;
    die "git rev-parse failed" if $? != 0;
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 421
    [2.486]
    [6.8565]
    , shortRev => $shortRev
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 641
    [2.685]
    [7.2074]
    (defined $alt->{shortRev} ? "; shortRev = \"" . $alt->{shortRev} . "\"" : "") .