Support obtaining the contents of an evaluation as a channel
[?]
Apr 2, 2012, 9:25 PM
T273UOB7WVB3NK52EBN65FQR6XP746D3BZM5SOYXEV6NCARIRYOQCDependencies
- [2]
U4TD3AIQAdd support for viewing jobset evaluations - [3]
DE2DNCOIAllow comparing an evaluation with an arbitrary other evaluation
Change contents
- replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 5
use base 'Catalyst::Controller';use base 'Hydra::Base::Controller::NixChannel'; - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 99
}# Hydra::Base::Controller::NixChannel needs this.sub nix : Chained('eval') PathPart('channel') CaptureArgs(0) {my ($self, $c) = @_;$c->stash->{channelName} = $c->stash->{project}->name . "-" . $c->stash->{jobset}->name . "-latest";$c->stash->{channelBuilds} = $c->stash->{eval}->builds->search_literal("exists (select 1 from buildproducts where build = build.id and type = 'nix-build')")->search({ finished => 1, buildstatus => 0 }, { columns => [@buildListColumns, 'drvpath', 'outpath', 'description', 'homepage'] });