* Closure downloads: don't include the product number; it's not needed.
[?]
Feb 23, 2009, 9:34 AM
UHANDRARA2OOOIKBFWPL5ICQH3ECDMWCPVKZXCXXR7E7PJN5SVYQCDependencies
- [2]
AFTXA575* $HYDRA_DATA environment variable. - [3]
IK53RV4V - [4]
L5VIEXSC* Allow downloading of build products. - [5]
2GK5DOU7* Downloading closures. - [6]
VVDQKVNL - [7]
FSE6N6S3* Make HEAD requests work when doing Nix closure downloads. - [8]
2AIIYGI5* Show job status and all builds for a project. - [9]
SHBLLAVH* More global substitution. - [10]
MOCEUXZA* Support serving products that are directories (such as manuals or - [11]
JFZNAYJX* Showing releases. - [12]
YTSIRIMK* Separate job status and all builds pages. - [13]
JLDUSNUO* Unify rendering of finished and scheduled builds. - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 121
sub showJobStatus :Local {sub showJobStatus { - replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 686
my ($self, $c, $buildId, $productnr) = @_;my ($self, $c, $buildId) = @_; - replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 689
return error($c, "Build with ID $buildId doesn't exist.") if !defined $build;my $product = $build->buildproducts->find({productnr => $productnr});return error($c, "Build $buildId doesn't have a product $productnr.") if !defined $product;return error($c, "Build $buildId doesn't exist.") if !defined $build; - replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 691
return error($c, "Product is not a Nix build.") if $product->type ne "nix-build";return error($c, "Build $buildId cannot be downloaded as a closure.")if !$build->buildproducts->find({type => "nix-build"}); - replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 694
return error($c, "Path " . $product->path . " is no longer available.") unless isValidPath($product->path);return error($c, "Path " . $build->outpath . " is no longer available.") unless isValidPath($build->outpath); - replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 697
$c->stash->{storePath} = $product->path;$c->stash->{storePath} = $build->outpath; - replacement in src/Hydra/root/product-list.tt at line 12
<a href="[% c.uri_for('/closure' build.id product.productnr) %]"><a href="[% c.uri_for('/closure' build.id) %]"> - replacement in src/Hydra/root/product-list.tt at line 26
<pre>$ curl [% c.uri_for('/closure' build.id product.productnr) %] | gunzip | nix-store --import</pre><pre>$ curl [% c.uri_for('/closure' build.id) %] | gunzip | nix-store --import</pre>