else {
$dist = shift @ARGV;
}
+ $dist = "oldstable" if $dist eq "o";
$dist = "stable" if $dist eq "s";
$dist = "testing" if $dist eq "t";
$dist = "unstable" if $dist eq "u";
- die "Bad distribution\n" if !isin($dist, qw(stable testing unstable stable-security testing-security));
+ die "Bad distribution\n" if !isin($dist, qw(stable testing unstable stable-security testing-security oldstable oldstable-security));
}
elsif (/^--$/) {
last;
my $total_width = 78;
my @state_list = qw(Installed Needs-Build Building Built Build-Attempted Uploaded Failed Dep-Wait
- Failed-Removed Dep-Wait-Removed
+ Failed-Removed Dep-Wait-Removed BD-Uninstallable
Not-For-Us);
my $statewidth = 0;
grep { $statewidth = length($_) if length($_) > $statewidth } @state_list;
print percent(qw(Needs-Build)), " uncompiled\n";
print percent(qw(Building)), " currently building (short-term delay)\n";
print percent(qw(Build-Attempted)), " currently failed building (short-term delay)\n";
-print percent(qw(Failed Dep-Wait)), " failed or waiting (long-term delay)\n";
+print percent(qw(Failed BD-Uninstallable Dep-Wait)), " failed or waiting (long-term delay)\n";
exit 0;