* Support redirecting to some job of a release. For instance, this
[?]
Apr 8, 2009, 9:03 AM
H3DLVNCJYUJDCILB5LEQDMQDHPRS7ZU66EW3FWXDRBX6WSBUXJTACDependencies
- [2]
XJFHFZCA* Provide some redirects to build products by type so that we can for - [3]
JFZNAYJX* Showing releases. - [4]
FHF6IZJQ* Basic release management: releases are now dynamically computed as - [5]
5NO7NCKT* Refactoring. - [6]
7Z3YOKCV* PROCESS -> INCLUDE in most cases. INCLUDE does proper scoping of - [7]
J5UVLXOK* Start of a basic Catalyst web interface. - [8]
IN272KZW* Automatically keep all builds in the latest successful release in - [9]
DVNWJXWW* Generic declaration of build products. - [10]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [11]
5IK6NYKF - [12]
ZNFDFJHG* Provide a redirect to the latest successful release in a release set - [13]
WZ3AEJ67* hydra_update_gc_roots.pl registers build outputs that should be kept - [14]
SMM4HQTP* Put actions related to builds under /build (e.g. /log/<buildid> - [15]
G6HJY2V4 - [*]
2AIIYGI5* Show job status and all builds for a project.
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 200
my ($self, $c, $projectName, $releaseSetName, $releaseId) = @_;my ($self, $c, $projectName, $releaseSetName, $releaseId, @args) = @_; - replacement in src/lib/Hydra/Controller/Root.pm at line 209
return $c->res->redirect($c->uri_for("/release", $projectName, $releaseSetName, $latest->id));return $c->res->redirect($c->uri_for("/release", $projectName, $releaseSetName, $latest->id, @args)); - replacement in src/lib/Hydra/Controller/Root.pm at line 211
- edit in src/lib/Hydra/Controller/Root.pm at line 221[3.600][17.821]
# Provide a redirect to the specified job of this release. !!!# This isn't uniquely defined if there are multiple jobs with the# same name (e.g. builds for different platforms). However, this# mechanism is primarily to allow linking to resources of which# there is only one build, such as the manual of the latest# release.if (scalar @args != 0) {my $jobName = shift @args;(my $build, my @others) = grep { $_->{job}->job eq $jobName } @{$c->stash->{release}->{jobs}};notFound($c, "Release doesn't have a job named `$jobName'")unless defined $build;error($c, "Job `$jobName' isn't unique.") if @others;return $c->res->redirect($c->uri_for($c->controller('Build')->action_for('view_build'),[$build->{build}->id], @args));} - replacement in src/root/build.tt at line 311
[% INCLUDE renderProductList %][% INCLUDE renderProductList latestRoot=['/job' build.project.name build.jobset.name build.job.name 'latest'] %] - replacement in src/root/product-list.tt at line 111
[% uri2 = "${c.uri_for('/job' build.project.name build.jobset.name build.job.name 'latest' 'download-by-type' product.type product.subtype)}" %][% uri2 = "${c.uri_for(latestRoot.join('/') 'download-by-type' product.type product.subtype)}" %] - replacement in src/root/product-list.tt at line 114
[% uri2 = "${c.uri_for('/job' build.project.name build.jobset.name build.job.name 'latest' 'download' product.productnr)}" %][% uri2 = "${c.uri_for(latestRoot.join('/') 'download' product.productnr)}" %] - replacement in src/root/release.tt at line 20
[% IF j.build %]<a href="[% c.uri_for('/build' job.build.id) %]">[% END %][% IF j.build %]<a href="[% c.uri_for('/build' j.build.id) %]">[% END %] - replacement in src/root/release.tt at line 29
[% INCLUDE renderProductList build=j.build %][% INCLUDE renderProductList build=j.build latestRoot=['/release' project.name releaseSet.name 'latest' j.job.job] %]