Fix reproduce script
[?]
May 26, 2015, 1:54 PM
4IH6RYSGLCZXUH64J5UFRU6VE7CDD4EYSCZZMIPHWZEJD7KDL5VACDependencies
- [2]
ZH6B56XRTry harder to find build logs - [3]
5Q4ZLL37reproduce.tt: Add --help flag - [4]
3G7OYUSEreproduce.tt: Check for the presence of commands like nix-build - [5]
MMJYE535Also show number of evaluations of which a build is a part - [6]
LZVO64YGMerge in the first bits of the API work - [7]
FU4GO5VNOn build pages, provide a link to the build's first eval - [8]
HZWUT4YNAllow users to reproduce builds on their own systems - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
HSVVEKTY* Start of a JSON API to get information about a specific build.
Change contents
- replacement in src/lib/Hydra/Controller/Build.pm at line 102
$c->stash->{eval} = $c->stash->{build}->jobsetevals->search({ hasnewbuilds => 1},{ rows => 1, order_by => ["id"] })->single;$c->stash->{eval} = getFirstEval($build); - edit in src/lib/Hydra/Controller/Build.pm at line 555[3.317][11.412]
$c->stash->{eval} = getFirstEval($c->stash->{build}); - replacement in src/root/reproduce.tt at line 82
[%+ FOREACH input IN build.inputs %][% inputs = build.inputs.size > 0 ? build.inputs : eval.jobsetevalinputs %][%+ FOREACH input IN inputs %]