[?]
Feb 25, 2009, 2:50 PM
ZRBXLKFOKTP3S3OABM2BRPAHS2RFLYZSEFCLGCAQ47WSFMWWPGJQC

Dependencies

  • [2] 5NO7NCKT * Refactoring.
  • [3] Y35C6GHH * One-click installs.
  • [4] SMM4HQTP * Put actions related to builds under /build (e.g. /log/<buildid>
  • [5] NYC3LZKH * Generate NAR archives on the fly. Necessary for producing channels
  • [6] BA46C5LN * Pretty-print the logs.
  • [7] J5UVLXOK * Start of a basic Catalyst web interface.
  • [8] IWVA2P2Y * Generate manifests on demand. Next step: generate NAR archives on

Change contents

  • edit in src/Hydra/lib/Hydra/Base/Controller/Nix.pm at line 24
    [2.737]
    [2.737]
    $c->stash->{narBase} = $c->uri_for($self->action_for("nar"), $c->req->captures);
  • edit in src/Hydra/lib/Hydra/Base/Controller/Nix.pm at line 26
    [2.739]
    [2.739]
    sub nar : Chained('nix') PathPart {
    my ($self, $c, @rest) = @_;
    my $path .= "/" . join("/", @rest);
  • edit in src/Hydra/lib/Hydra/Base/Controller/Nix.pm at line 33
    [2.740]
    [2.740]
    error($c, "Path " . $path . " is no longer available.") unless isValidPath($path);
  • edit in src/Hydra/lib/Hydra/Base/Controller/Nix.pm at line 35
    [2.741]
    [2.741]
    # !!! check that $path is in the closure of $c->stash->{storePaths}.
    $c->stash->{current_view} = 'Hydra::View::NixNAR';
    $c->stash->{storePath} = $path;
    }
  • edit in src/Hydra/lib/Hydra/Controller/Root.pm at line 562
    [3.585][3.585:589](),[3.589][3.122:171](),[3.122][3.122:171](),[3.171][3.291:292](),[3.291][3.291:292](),[3.292][3.172:212](),[3.212][3.292:293](),[3.292][3.292:293](),[3.293][2.4131:4218](),[2.4218][3.307:399](),[3.307][3.307:399]()
    }
    sub nar :Local {
    my ($self, $c, @rest) = @_;
    my $path .= "/" . join("/", @rest);
    error($c, "Path " . $path . " is no longer available.") unless isValidPath($path);
    $c->stash->{current_view} = 'Hydra::View::NixNAR';
    $c->stash->{storePath} = $path;
  • replacement in src/Hydra/lib/Hydra/View/NixManifest.pm at line 40
    [3.1351][3.1351:1398]()
    my $url = $c->uri_for('/nar' . $path);
    [3.1351]
    [3.590]
    my $url = $c->stash->{narBase} . $path;