Pass additional attributes for Git inputs
[?]
Dec 5, 2011, 2:13 PM
4FWDVNWAUAFDXPXIOBOVM2ZRPZG4LLE4JBKYIXUKR45YN6MEOMXQCDependencies
- [2]
CHQEG6WYHydra/29: Added timeout to svn/git checkouts, job evaluation - [3]
KQS7DSKJ* Clean up indentation. - [4]
KW3M6NSRhydra: run nix-prefetch-git on local clone of git repo - [5]
WWUOQ7V4* hydra: indentation and fixed duplicate key in cachedgitinputs bug - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [*]
JTRG7RDQadd support for git as jobinput - [*]
3XTHEUMP* Implemented the clone feature.
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 385
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 389
- edit in src/lib/Hydra/Helper/AddBuilds.pm at line 402
# For convenience in producing readable version names, pass the# number of commits in the history of this revision (‘revCount‘)# and the output of git-describe (‘gitTag’).my $revCount = `git rev-list $revision | wc -l`; chomp $revCount;die "git rev-list failed" if $? != 0;my $gitTag = `git describe --always $revision`; chomp $gitTag;die "git describe failed" if $? != 0; - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 416
, revCount => int($revCount), gitTag => $gitTag - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 632[9.2074][9.2074]
(defined $alt->{revCount} ? "; revCount = " . $alt->{revCount} . "" : "") .(defined $alt->{gitTag} ? "; gitTag = \"" . $alt->{gitTag} . "\"" : "") .