fetchInputGit: Populate TopGit branches when on a topic branch.
[?]
Mar 22, 2011, 10:21 PM
6ZSLRO7MT4LN4XVV3GK6NFUHEQP5LBU5CS3ZYIINOOO2MFPHFHSQCDependencies
- [2]
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. - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate
Change contents
- edit in src/lib/Hydra/Helper/AddBuilds.pm at line 329
if (-f ".topdeps") {# This is a TopGit branch. Fetch all the topic branches so# that builders can run "tg patch" and similar.(my $res, $stdout, $stderr) = captureStdoutStderr(600,("tg", "remote", "--populate", "origin"));print STDERR "Warning: `tg remote --populate origin' failed:\n$stderr" unless $res;}