Flesh out the API a bit
[?]
Oct 29, 2013, 5:54 PM
NP7IOJ4QI25BLULQEYBACUR4KXWMYLNTM2K5VNPX2FAFGHZ37WYACDependencies
- [2]
SHIENRALClean up root controller - [3]
LZVO64YGMerge in the first bits of the API work - [4]
YI3BZG5NCleanup Jobset serialization - [5]
MQYHIUEECleanup eval serialization - [6]
VH5ZABDRAdd a page to show the latest evaluations for the entire server - [7]
2DGIP6L4Cleanup build serialization - [8]
G2T4WAHIStore the inputs of each evaluation in the database - [*]
3HZY24CX* Make jobsets viewable under - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
X27GNHDV* Basic job info in the database. - [*]
4VYSDP4IAdd eager fetching of relations and enable that for jobset->jobsetinputs
Change contents
- replacement in src/lib/Hydra/Controller/Jobset.pm at line 277
evals => $c->stash->{evals},evals => [ map { $_->{eval} } @{$c->stash->{evals}} ], - edit in src/lib/Hydra/Schema/Builds.pm at line 609
'starttime', - replacement in src/lib/Hydra/Schema/JobsetEvalInputs.pm at line 174
"revision""revision","type","uri" - edit in src/lib/Hydra/Schema/Jobsets.pm at line 312[3.14][13.330]
columns => ["enabled","errormsg","fetcherrormsg","emailoverride"], - replacement in tests/api-test.pl at line 54
ok($eval->{eval}->{hasnewbuilds} == 1, "The first eval of a jobset has new builds");ok($eval->{hasnewbuilds} == 1, "The first eval of a jobset has new builds"); - replacement in tests/api-test.pl at line 60
ok($evals->[0]->{eval}->{jobsetevalinputs}->{"my-src"}->{revision} != $evals->[1]->{eval}->{jobsetevalinputs}->{"my-src"}->{revision}, "Changing a jobset source changes its revision");ok($evals->[0]->{jobsetevalinputs}->{"my-src"}->{revision} != $evals->[1]->{jobsetevalinputs}->{"my-src"}->{revision}, "Changing a jobset source changes its revision"); - replacement in tests/api-test.pl at line 62
my $build = decode_json(request_json({ uri => "/build/" . $evals->[0]->{eval}->{builds}->[0] })->content());my $build = decode_json(request_json({ uri => "/build/" . $evals->[0]->{builds}->[0] })->content());