#!/usr/bonsaitools/bin/perl -- # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Netscape Public License # Version 1.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/NPL/ # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations # under the License. # # The Original Code is the Tinderbox build tool. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are Copyright (C) 1998 # Netscape Communications Corporation. All Rights Reserved. use lib "../bonsai"; require 'lloydcgi.pl'; require 'tbglobals.pl'; require 'header.pl'; $|=1; print "Content-type: text/html\n\n\n"; EmitHtmlHeader("administer tinderbox", "tree: $tree"); $form{noignore} = 1; # Force us to load all build info, not # paying any attention to ignore_builds stuff. $maxdate = time(); $mindate = $maxdate - 24*60*60; &load_data; if (defined($tree)) { if( -r "$tree/mod.pl" ){ require "$tree/mod.pl"; } else { $message_of_day = ""; } print "
Password:
Message of the Day


"; print "
Password:
Trim Logs to days. (Tinderbox shows 2 days history by default. You can see more by clicking show all).

" ; } print " Password:
tinderbox tree name:
cvs repository:
cvs module name:
cvs branch:

"; if (defined($tree)) { print " If builds are behaving badly you can turn them off.
Uncheck the build that is misbehaving and click the button. You can still see all the builds even if some are disabled by adding the parameter &noignore=1 to the tinderbox URL.
Password:
"; @names = sort (@$build_name_names) ; for $i (@names){ if( $i ne "" ){ $checked = ($ignore_builds->{$i} != 0 ? "": "CHECKED" ); print ""; print "$i
\n"; } } print "

"; }