[?]
Feb 25, 2009, 3:39 PM
XHVZXX6NVBQCZQ2GL2AQ6QDIJMERIY6OF74KSTQL67BGXG3TFIXQCDependencies
- [2]
ZRBXLKFO - [3]
JFZNAYJX* Showing releases. - [4]
Y35C6GHH* One-click installs. - [5]
SMM4HQTP* Put actions related to builds under /build (e.g. /log/<buildid> - [6]
NYC3LZKH* Generate NAR archives on the fly. Necessary for producing channels - [7]
UHANDRAR* Closure downloads: don't include the product number; it's not needed. - [8]
LBNVQXUB* Build the /build stuff in a separate controller. - [9]
2GK5DOU7* Downloading closures. - [10]
IK53RV4V - [11]
BA46C5LN* Pretty-print the logs. - [12]
JLDUSNUO* Unify rendering of finished and scheduled builds. - [13]
IWVA2P2Y* Generate manifests on demand. Next step: generate NAR archives on - [14]
J5UVLXOK* Start of a basic Catalyst web interface. - [15]
5NO7NCKT* Refactoring. - [16]
L5VIEXSC* Allow downloading of build products. - [17]
IW6XNRL7
Change contents
- edit in src/Hydra/lib/Hydra/Base/Controller/Nix.pm at line 39
}sub pkg : Chained('nix') PathPart Args(1) {my ($self, $c, $pkgName) = @_;my $pkg = $c->stash->{nixPkgs}->{$pkgName};notFound($c, "Unknown Nix package `$pkgName'.")unless defined $pkg;$c->stash->{build} = $pkg;$c->stash->{current_view} = 'Hydra::View::NixPkg';$c->response->content_type('application/nix-package'); - edit in src/Hydra/lib/Hydra/Controller/Build.pm at line 127
my $pkgName = $build->nixname . "-" . $build->system . ".nixpkg";$c->stash->{nixPkgs} = {$pkgName => $build}; - edit in src/Hydra/lib/Hydra/Controller/Root.pm at line 544[3.228]→[3.2593:2595](∅→∅),[3.3879]→[3.2593:2595](∅→∅),[3.2593]→[3.2593:2595](∅→∅),[3.56]→[3.145:146](∅→∅),[3.678]→[3.145:146](∅→∅),[3.145]→[3.145:146](∅→∅),[3.131]→[3.439:440](∅→∅),[3.439]→[3.439:440](∅→∅),[3.8]→[3.8:63](∅→∅),[3.63]→[3.120:121](∅→∅),[3.291]→[3.120:121](∅→∅),[3.121]→[3.64:104](∅→∅),[3.104]→[3.3880:3950](∅→∅),[3.178]→[3.121:122](∅→∅),[3.3950]→[3.121:122](∅→∅),[3.121]→[3.121:122](∅→∅),[3.122]→[3.3951:4022](∅→∅),[3.4022]→[3.257:322](∅→∅),[3.257]→[3.257:322](∅→∅),[3.322]→[3.4023:4130](∅→∅),[3.4130]→[3.436:585](∅→∅),[3.436]→[3.436:585](∅→∅)
}sub nixpkg :Local {my ($self, $c, $buildId) = @_;my $build = getBuild($c, $buildId);notFound($c, "Build $buildId doesn't exist.") if !defined $build;error($c, "Build $buildId cannot be downloaded as a Nix package.")if !$build->buildproducts->find({type => "nix-build"});error($c, "Path " . $build->outpath . " is no longer available.") unless isValidPath($build->outpath);$c->stash->{current_view} = 'Hydra::View::NixPkg';$c->stash->{build} = $build;$c->response->content_type('application/nix-package'); - replacement in src/Hydra/root/product-list.tt at line 16
[% uri = c.uri_for('/nixpkg' build.id) %][% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]