Document getEvals a bit
[?]
Jun 16, 2021, 4:42 PM
Y7QZBXCL3XQHGKKD5AACT56SIJKU4OAGMJCBBOTTETK52ZWJS6FACDependencies
- [2]
Y3UI4OJIAdd a /eval action to /build to go from a build to the latest finished eval - [3]
3EH53DZJSerialize data as JSON with `Accept: application/json` - [4]
TBLFIQYDgetBuilds: clarify the names of evals vs. the query builder - [5]
6QRHXIM3* Speed up the jobset index page. Especially the query to get the - [6]
FHHFNCCRFix duplicate function name - [7]
QTC3SYBMJobset page: Load the jobs and status tabs on demand - [8]
HZWUT4YNAllow users to reproduce builds on their own systems - [9]
VH5ZABDRAdd a page to show the latest evaluations for the entire server - [10]
M4TBFHHJ"limit" -> "rows" - [11]
HRAFVVOEmake logo configurable via HYDRA_LOGO env var - [12]
GEADFVZ5hydra-queue-runner: Improved scheduling - [13]
HSVVEKTY* Start of a JSON API to get information about a specific build. - [14]
OE5NED7FgetEvals: order by the eval table's ID - [15]
MQYHIUEECleanup eval serialization - [16]
ND75XNSQAllow showing all evaluations that contain a given build - [17]
PMNWRTGJAdd multiple output support - [18]
W4G5MZZShydra-evaluator improvements - [19]
NP7IOJ4QFlesh out the API a bit - [20]
LZVO64YGMerge in the first bits of the API work - [21]
TX7Q4RASAdd page showing latest build steps - [22]
U5ZWDBW3Ensure that each eval is compared to the previous one from the same jobset - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
3HZY24CX* Make jobsets viewable under - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
2GK5DOU7* Downloading closures.
Change contents
- replacement in src/lib/Hydra/Controller/Build.pm at line 561
$c->stash->{evals} = getEvals($self, $c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage)$c->stash->{evals} = getEvals($c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage) - replacement in src/lib/Hydra/Controller/Jobset.pm at line 44
$c->stash->{evals} = getEvals($self, $c, scalar $c->stash->{jobset}->jobsetevals, 0, 10);$c->stash->{evals} = getEvals($c, scalar $c->stash->{jobset}->jobsetevals, 0, 10); - replacement in src/lib/Hydra/Controller/Jobset.pm at line 340
$c->stash->{evals} = getEvals($self, $c, $evals, $offset, $resultsPerPage);$c->stash->{evals} = getEvals($c, $evals, $offset, $resultsPerPage); - replacement in src/lib/Hydra/Controller/Root.pm at line 401
$c->stash->{evals} = getEvals($self, $c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage);$c->stash->{evals} = getEvals($c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage); - edit in src/lib/Hydra/Helper/Nix.pm at line 224
- edit in src/lib/Hydra/Helper/Nix.pm at line 226
=head2 getEvals - edit in src/lib/Hydra/Helper/Nix.pm at line 228
This method returns a list of evaluations with details about what changed,intended to be used with `eval.tt`.Arguments:=over 4=item C<$c>L<Hydra> - the entire application.=item C<$evals_result_set>A L<DBIx::Class::ResultSet> for the result class of L<Hydra::Model::DB::JobsetEvals>=item C<$offset>Integer offset when selecting evaluations=item C<$rows>Integer rows to fetch=back=cut - replacement in src/lib/Hydra/Helper/Nix.pm at line 254
my ($self, $c, $evals_query_builder, $offset, $rows) = @_;my ($c, $evals_result_set, $offset, $rows) = @_; - replacement in src/lib/Hydra/Helper/Nix.pm at line 256
my $me = $evals_query_builder->current_source_alias;my $me = $evals_result_set->current_source_alias; - replacement in src/lib/Hydra/Helper/Nix.pm at line 258
my @evals = $evals_query_builder->search(my @evals = $evals_result_set->search(