Add a redirect to the evaluation page of a view result
[?]
Apr 3, 2012, 1:45 PM
KU33KNG3I2NHT6HFDAXQAHJHOSC6VGJ2C3K6ADTIREKZQEOVVORQCDependencies
- [2]
3Y7AFJSS* Support linking to the latest job in a view for a specific platform, e.g. - [*]
P5X4P6VK* Renaming "release sets" to "views" (not finished yet). Having - [*]
OW6XV2YS* Allow a view result to be saved as a release. - [*]
2GK5DOU7* Downloading closures. - [*]
IN272KZW* Automatically keep all builds in the latest successful release in
Change contents
- edit in src/lib/Hydra/Controller/View.pm at line 196
elsif (scalar @args >= 1 && $args[0] eq "eval") {my $eval = $c->stash->{result}->{eval};notFound($c, "This view result has no evaluation.") unless defined $eval;my $uri = $c->uri_for($c->controller('JobsetEval')->action_for("view"), [$eval->id]);$uri .= "/" . join("/", @args[1..$#args]) if scalar @args > 1;$c->res->redirect($uri);} - edit in src/lib/Hydra/Helper/Nix.pm at line 219[7.3385][7.3385]
, eval => $ev