Remove the "all" channel

The "all" channel fundamentally doesn't scale, because it needs
to fetch N builds from the database (where N is potentially a very
large number), then check whether they are still valid.  And it's
not very useful anyway.
This commit is contained in:
Eelco Dolstra
2011-11-30 12:07:47 +01:00
parent d37c4cfe86
commit c8d572a0dc
4 changed files with 7 additions and 22 deletions

View File

@ -81,10 +81,10 @@ sub nix : Chained('get_builds') PathPart('channel') CaptureArgs(1) {
$c->stash->{channelName} = $c->stash->{channelBaseName} . "-latest";
getChannelData($c, scalar($c->stash->{latestSucceeded}));
}
elsif ($channelName eq "all") {
$c->stash->{channelName} = $c->stash->{channelBaseName} . "-all";
getChannelData($c, scalar($c->stash->{allBuilds}));
}
#elsif ($channelName eq "all") {
# $c->stash->{channelName} = $c->stash->{channelBaseName} . "-all";
# getChannelData($c, scalar($c->stash->{allBuilds}));
#}
else {
notFound($c, "Unknown channel `$channelName'.");
}