Document that the default_conf must not use any other library.

ignore bugs which have null state.
This commit is contained in:
kestes%tradinglinx.com 2001-02-27 15:24:34 +00:00
Родитель 71161ff83d
Коммит 3f1021cbc9
1 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -4,8 +4,8 @@
# Tracking system and its relationship to the tinderbox trees.
# $Revision: 1.3 $
# $Date: 2001/02/16 20:02:21 $
# $Revision: 1.4 $
# $Date: 2001/02/27 15:24:34 $
# $Author: kestes%tradinglinx.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/default_conf/BTData.pm,v $
# $Name: $
@ -58,6 +58,10 @@
package BTData;
# This package must not use any tinderbox specific libraries. It is
# intended to be a base class.
$VERSION = '#tinder_version#';
@ -106,7 +110,8 @@ $STATUS_FIELD_NAME = 'Status';
# All status values are converted to lower case for ease of
# processing. Each value of this table corresponds to a bug column in
# the tinderbox status page. You may have as many bug columns as you
# like.
# like. If you wish to indicate that certain states are possible but
# should not be displayed then indicate the state with a null string.
%STATUS_PROGRESS = (
'ASSIGNED' => 'Progress',
@ -267,6 +272,10 @@ sub get_all_progress_states {
my (@progress_states) = main::uniq( values %BTData::STATUS_PROGRESS );
# If the first element is null ignore it.
($progress_states[0]) ||
(shift @progress_states);
return @progress_states;
}