Allow use of a single Git clone for several branches.
[?]
Apr 12, 2012, 2:55 PM
DAKY4N64CDWYVPNGCNSWLI5UQFX45DUFLRLY7KGNYZSJLMP5BBPQCDependencies
- [2]
3I6BNF4Shydra: do not use refs/heads while checking for latest commit in branch - [3]
HABC6L4GRevert "Use git fetch --all to update local clone in stead of git pull. Also, do not use --branch in initial clone." - [4]
VJ4BZV5RAdd branch to local clone path of git repositories for now. - [5]
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. - [6]
BMSQD2ZHIndentation - [7]
CHQEG6WYHydra/29: Added timeout to svn/git checkouts, job evaluation - [8]
ARD6Z67TDo incremental SVN checkouts - [9]
C7CXMZ66hydra: do not perform git clone every time. in stead work on local clone and pull - [10]
TM6XBAG2git branches can share local clones - [11]
UO67NQMRChange `fetchInputGit' to do `git clone -b BRANCH' instead of `git clone'. - [12]
PNPT3Y7RUse git fetch --all to update local clone in stead of git pull. Also, do not use --branch in initial clone. - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [*]
JTRG7RDQadd support for git as jobinput
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 326
my $clonePath = scmPath . "/" . sha256_hex($uri.$branch);my $clonePath = scmPath . "/" . sha256_hex($uri); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 338
("git", "pull"));("git", "pull", "--all")); - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 346[15.516][2.152]
# Take the first commit ID returned by `ls-remote'. The# assumption is that `ls-remote' returned both `refs/heads/BRANCH'# and `refs/remotes/origin/BRANCH', and that both point at the# same commit.