hydra: do not use refs/heads while checking for latest commit in branch
[?]
Sep 7, 2010, 2:56 PM
3I6BNF4SWOQLXZPBESHH4S743QEMOXUJR4IKFRVQ3PO6SUGLPIAACDependencies
- [2]
C7CXMZ66hydra: do not perform git clone every time. in stead work on local clone and pull - [3]
BK24VA6Q* for git inputs, check latest revision of branch (defaults to master for now), if there is change, only use input if last checkout was > hour ago. - [4]
KQS7DSKJ* Clean up indentation. - [5]
CHQEG6WYHydra/29: Added timeout to svn/git checkouts, job evaluation - [6]
JTRG7RDQadd support for git as jobinput - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 321
("git", "ls-remote", $clonePath, "refs/heads/".$branch));die "Cannot get head revision of Git branch '$branch' at `$uri':\n$stderr" unless $res1;("git", "ls-remote", $clonePath, $branch));die "Cannot get head revision of Git branch '$branch' at `$uri':\n$stderr" unless $res1 ; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 325
(my $revision, my $ref) = split ' ', $stdout;my ($first) = split /\n/, $stdout;(my $revision, my $ref) = split ' ', $first;