Add a binary-cache-url file to channels to advertise the binary cache URL
[?]
Aug 1, 2012, 4:31 PM
ZE23JEJTPX3ROWLTYA6WMWFXL25OUFLTLW6V5Y376OMZTMTB7BMQCDependencies
- [2]
HXBXDEFKSpeed up channel processing - [3]
XE6HD7BPProvide the nix-cache-info file required by the binary cache substituter - [*]
5NO7NCKT* Refactoring. - [*]
BHZXGT2H* Channels: provide an index page that lists all the packages in the - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Base/Controller/NixChannel.pm at line 86
}sub binary_cache_url : Chained('nix') PathPart('binary-cache-url') Args(0) {my ($self, $c) = @_;$c->stash->{'plain'} = { data => $c->uri_for('/') };$c->header('Content-Type' => 'text/plain');$c->forward('Hydra::View::Plain'); - edit in src/lib/Hydra/Controller/Root.pm at line 201
$c->header('Content-Type' => 'text/plain');