mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Added separate list of all available trees. This allows mozbot to actively report the status of one set of trees and individually give the results for another set.
This commit is contained in:
parent
793252e617
commit
6f00162a06
@ -60,7 +60,7 @@ use Net::FTP;
|
||||
|
||||
$|++;
|
||||
|
||||
my $VERSION = "1.62"; # keep me in sync with the mozilla.org cvs repository
|
||||
my $VERSION = "1.63"; # keep me in sync with the mozilla.org cvs repository
|
||||
my $debug = 1; # debug output also includes warnings, errors
|
||||
|
||||
my %msgcmds = (
|
||||
@ -152,10 +152,12 @@ my $last_uuid = 0;
|
||||
|
||||
# leave @trees empty if you don't want tinderbox details
|
||||
|
||||
my @trees = qw (SeaMonkey SeaMonkey-Ports);
|
||||
my @all_trees = qw (SeaMonkey SeaMonkey-Ports);
|
||||
my @trees = qw (SeaMonkey);
|
||||
if ($nick =~ /grend/) {
|
||||
@trees = qw (Grendel);
|
||||
}
|
||||
my $all_trees;
|
||||
my $trees;
|
||||
my $status;
|
||||
my $last_tree;
|
||||
@ -780,9 +782,9 @@ sub bot_tinderbox {
|
||||
$bustage = 0;
|
||||
$buf = "$t " . ($$status{$t} ? "<$$status{$t}> " : "") . ": ";
|
||||
# politely report failures
|
||||
if (! exists $$trees{$t})
|
||||
if (! exists $$all_trees{$t})
|
||||
{
|
||||
$buf .= "unknown tree \"$t\", trees include @trees. ";
|
||||
$buf .= "unknown tree \"$t\", trees include @all_trees. ";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user