Allow a jobset to be created from an evaluation
[?]
Jul 6, 2015, 1:17 PM
UQA4FMUAWSGCX33ZN5R5UC25QZTJ2X6DMP4L7XDFNMHC5QYHR2CQCDependencies
- [2]
UOINKJ2JAdd an action to cancel all builds in a jobset eval - [3]
LUYDIGYMMake input value wider - [4]
LZVO64YGMerge in the first bits of the API work - [5]
K3HODXGHCheck all inputs for blame but only email selected inputs - [6]
DAPOSS44Use the REST API in the web interface for editing projects - [7]
GEADFVZ5hydra-queue-runner: Improved scheduling - [8]
3HZY24CX* Make jobsets viewable under - [9]
VJFLX7B6Fix rendering of jobset inputs - [10]
6LTPI6B2 - [11]
OX6NYJDVSplit viewing and editing a jobset - [12]
RSEGBU6CHydra/20: Jobset clone feature - [13]
ZFEN2MAOSimplify jobset cloning - [14]
JY7BXXOPSplit viewing and editing a project - [15]
RQI3GRC6Enable setting checkresponsible in the edit jobset form - [16]
2G63HKCHFix some wellformedness issues - [17]
OK4P3AMKRemove the ability to add multiple jobset input alternatives - [18]
PVIRRARJTurn hiding/unhiding a jobset into a checkbox - [19]
VZX6HJ3IFix jobset input handling in the API - [20]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [21]
TQVKZQUGUse the REST API in the web interface for editing jobsets - [22]
NIX2TKYVUse redirectJSON - [23]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [24]
LHBSOI2DFix adding jobset inputs - [*]
U4TD3AIQAdd support for viewing jobset evaluations - [*]
T273UOB7Support obtaining the contents of an evaluation as a channel - [*]
6HWHYPSWAdd an action menu to evaluations
Change contents
- replacement in src/lib/Hydra/Controller/Jobset.pm at line 166
$c->stash->{clone} = defined $c->stash->{params}->{clone};$c->stash->{cloneJobset} = defined $c->stash->{params}->{cloneJobset}; - replacement in src/lib/Hydra/Controller/Jobset.pm at line 272
$c->stash->{clone} = 1;$c->stash->{cloneJobset} = 1; - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 158
sub create_jobset : Chained('eval') PathPart('create-jobset') Args(0) {my ($self, $c) = @_;my $eval = $c->stash->{eval}; - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 164
requireProjectOwner($c, $c->stash->{project}); - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 166
$c->stash->{template} = 'edit-jobset.tt';$c->stash->{createFromEval} = 1;} - edit in src/lib/Hydra/Controller/Project.pm at line 116
$c->stash->{edit} = 1; - edit in src/lib/Hydra/Controller/Project.pm at line 126
$c->stash->{edit} = 1; - replacement in src/root/edit-jobset.tt at line 1
[% WRAPPER layout.tt title=(create ? "Create jobset in project $project.name" : clone ? "Cloning jobset $project.name:$jobset.name" : "Editing jobset $project.name:$jobset.name") %][% WRAPPER layout.tt title=(create ? "Creating jobset in project $project.name" :createFromEval ? "Creating jobset from evaluation $eval.id of $project.name:$jobset.name" :cloneJobset ? "Cloning jobset $project.name:$jobset.name" :"Editing jobset $project.name:$jobset.name") %] - replacement in src/root/edit-jobset.tt at line 18
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %][% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes edit=1 %] - replacement in src/root/edit-jobset.tt at line 21
[% alt = input.search_related('jobsetinputalts', {altnr => 0}) %]<input style="width: 95%" type="text" [% HTML.attributes(value => alt.value, id => "$baseName-value", name => "$baseName-value") %]/>[% IF input.jobsetinputalts_rs.count > 1 %][% IF createFromEval %][% value = (input.uri or input.value); IF input.revision; value = value _ " " _ input.revision; END;warn = input.altnr != 0;%][% ELSE %][% alt = input.search_related('jobsetinputalts', {altnr => 0});value = alt.valuewarn = input.jobsetinputalts_rs.count > 1;%][% END %][% IF warn %] - edit in src/root/edit-jobset.tt at line 36
<input style="width: 95%" type="text" [% HTML.attributes(value => value, id => "$baseName-value", name => "$baseName-value") %]/> - replacement in src/root/edit-jobset.tt at line 50
[% FOREACH input IN jobset.jobsetinputs %][% inputs = createFromEval ? eval.jobsetevalinputs : jobset.jobsetinputs; FOREACH input IN inputs %] - replacement in src/root/edit-jobset.tt at line 87
<input type="text" class="span3" name="name" [% HTML.attributes(value => clone ? "" : jobset.name) %]/><input type="text" class="span3" name="name" [% HTML.attributes(value => edit ? jobset.name : "") %]/> - replacement in src/root/edit-jobset.tt at line 155
<button id="submit-jobset" type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> [%IF create || clone %]Create jobset[% ELSE %]Apply changes[% END %]</button><button id="submit-jobset" type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> [%IF !edit %]Create jobset[% ELSE %]Apply changes[% END %]</button> - replacement in src/root/edit-jobset.tt at line 207
[% IF create || clone %][% IF !edit %] - edit in src/root/jobset-eval.tt at line 49[28.353][2.1621]
<li><a href="[% c.uri_for(c.controller('JobsetEval').action_for('create_jobset'), [eval.id]) %]">Create a jobset from this evaluation</a></li>