Commit Graph

810 Commits

Author SHA1 Message Date
kestes%staff.mail.com
803de089b6 changing the filenames during the move was a bad idea,
restore the original filenames.
2000-11-29 21:50:17 +00:00
kestes%staff.mail.com
d488646c24 changing the filenames was a bad idea, this was BTData.pm as found
in lib yesterday
2000-11-29 21:49:29 +00:00
kestes%staff.mail.com
c6cd218e01 changing the filenames was a bad idea, this was TreeData.pm as found
in lib yesterday
2000-11-29 21:48:42 +00:00
kestes%staff.mail.com
1a05648a04 changing the filenames was a bad idea 2000-11-29 21:47:14 +00:00
kestes%staff.mail.com
03ff5fa8df moved files to default_config 2000-11-29 21:27:54 +00:00
kestes%staff.mail.com
d927bf305d changed filename to processmail_builds 2000-11-29 21:25:45 +00:00
kestes%staff.mail.com
43a65980a8 files moved to default_config directory 2000-11-29 21:24:31 +00:00
kestes%staff.mail.com
5e164d10cd moved from processmail 2000-11-29 21:13:15 +00:00
kestes%staff.mail.com
4b9f5ab09c explain the new configuration with defult_conf and local_conf
directories
2000-11-29 21:12:56 +00:00
kestes%staff.mail.com
cc3dcd47e2 configure: @GZIP @GUNZIP @UUDECODE
explicity in TinderConfig not in ./configure
2000-11-29 21:12:12 +00:00
kestes%staff.mail.com
081306431a moved from lib 2000-11-29 20:53:56 +00:00
kestes%staff.mail.com
dfbba819e6 moved from lib as TreeData.pm 2000-11-29 20:53:45 +00:00
kestes%staff.mail.com
3ea3ab27a7 moved from lib as BTData.pm 2000-11-29 20:53:35 +00:00
kestes%staff.mail.com
2fba42b225 improve comments 2000-11-29 20:40:34 +00:00
kestes%staff.mail.com
85666e8d28 improve comments 2000-11-29 19:47:38 +00:00
kestes%staff.mail.com
cbac782cbc minor changes prompted by McAfee. 2000-11-29 19:46:30 +00:00
kestes%staff.mail.com
e605f1cfb7 Peristence::Storable has now been tested. 2000-11-28 17:54:45 +00:00
kestes%staff.mail.com
e26cd9b686 use the Peristence module so that we can test the storable
implementation.
2000-11-28 17:53:39 +00:00
kestes%staff.mail.com
0860dd47a8 add better makefile test support.
fix echo bug.
2000-11-28 00:37:13 +00:00
kestes%staff.mail.com
1ac1c04834 change the sample user to anonymous from kestes 2000-11-28 00:35:49 +00:00
kestes%staff.mail.com
e613f5eaea put module and branch information in the cvs popup windows 2000-11-28 00:34:00 +00:00
kestes%staff.mail.com
1dd9024853 improve the handling of estimated build time when there is dead time.
turn back on the line which tells all the columns which have been
ignored.
2000-11-28 00:32:57 +00:00
kestes%staff.mail.com
c7b39b6036 make taint safe. 2000-11-28 00:31:29 +00:00
kestes%staff.mail.com
630eab4a32 move the lock file to the HTML directory to ease testing. 2000-11-28 00:31:09 +00:00
kestes%staff.mail.com
1a35bc57b0 make taint safe
add more comments at the top to clear up ambiguities.

make the library load structure conform to other modules, I already
got one question
2000-11-28 00:30:26 +00:00
kestes%staff.mail.com
2137f70969 make taint safe 2000-11-28 00:28:18 +00:00
kestes%staff.mail.com
359e4ea456 @authors needed to be a local variable and needed to ensure it was
unique when passed to 'mailto: '
2000-11-28 00:25:41 +00:00
kestes%staff.mail.com
680a0a0536 remove comments about image subsystem, we no longer have this as a
requirement.

explain the warning issues better.

remove discussion of the bug tracking system, I coded it already.
2000-11-28 00:24:42 +00:00
kestes%staff.mail.com
990962eda1 make the intial build more realistic, there can be builds in progress
builds which have not started because of dead time and builds which
have started.
2000-11-28 00:23:16 +00:00
kestes%staff.mail.com
190589f622 added aditional test cases to max just to ensure it handles negative
numbers.
2000-11-28 00:21:36 +00:00
kestes%staff.mail.com
ed851ec5b7 improve default $LOCK_FILE value.
explain that Storable is an untested CPAN module.
2000-11-14 15:41:01 +00:00
mcafee%netscape.com
b0adccc452 Need to edit configure script in step 1, another minor comment change. 2000-11-13 23:48:11 +00:00
mcafee%netscape.com
cc36a0ef36 Minor comment updates 2000-11-13 23:00:16 +00:00
kestes%staff.mail.com
d5e0dc51bc The image module is not used at Mozilla.org in tinderbox1 anymore and
I never got the code working in tinderbox2 anyway.
2000-11-10 19:14:12 +00:00
kestes%staff.mail.com
03db39ae96 move the status table to its own file
improve prediction of when build will finish by adding 'deadtime'

Keep the spacing between builds greater then our HTML grid
spacing.  This used to be done in processmail, but that caused
problems with the MTA.
2000-11-09 19:55:52 +00:00
kestes%staff.mail.com
9d5a502eff add cache_cmd() and fix_time_format() 2000-11-09 19:48:05 +00:00
kestes%staff.mail.com
92e5998ae2 minor clenaup 2000-11-09 19:45:53 +00:00
kestes%staff.mail.com
b059c9613a taken from TinderDB::Build.pm 2000-11-09 19:44:47 +00:00
kestes%staff.mail.com
c6f7ebb259 make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR
remove the tests for
        New build started too frequently.
        New build started before the previous one.
mailers are not so rational.
2000-11-09 19:43:49 +00:00
kestes%staff.mail.com
51d1cbc1a3 remove references to image module
make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR
2000-11-09 19:40:51 +00:00
kestes%staff.mail.com
eb64353424 use new module: BuildStatus
make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR
2000-11-09 19:40:19 +00:00
kestes%staff.mail.com
e3b1a72b6b ensure that the filenames are taint clean 2000-11-09 19:39:22 +00:00
kestes%staff.mail.com
b8dc891d0a make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR
general cleanup and improved comments.
2000-11-09 19:38:34 +00:00
kestes%staff.mail.com
67ba9ec4c2 *** empty log message *** 2000-11-09 19:34:36 +00:00
kestes%staff.mail.com
f19e6b0d2b add taint support
prevent users from accidentally editing files in
    build or install directory
check that code compiles before installing
2000-11-09 19:34:25 +00:00
kestes%staff.mail.com
f913b8c91f regularize use statements 2000-11-09 19:31:05 +00:00
kestes%staff.mail.com
3ad1f7364c regularize the use statements 2000-11-09 19:29:08 +00:00
kestes%staff.mail.com
2e3a52d945 make code taint safe and use a configureation
file for setting #perlflags#
2000-11-09 19:22:00 +00:00
kestes%staff.mail.com
37d9729e8a add a statement:
use lib '#tinder_libdir#';
2000-11-09 19:17:56 +00:00
kestes%staff.mail.com
d9bdd2c3d6 add a statement:
use lib '#tinder_libdir#';

ensure that all filnames are taint free, they can come from globs
2000-11-09 19:17:39 +00:00
kestes%staff.mail.com
cd043f78b4 add a statement:
use lib '#tinder_libdir#';
cache CVS calls during run for increased speed.
2000-11-09 19:16:08 +00:00
kestes%staff.mail.com
988ba33d74 make a distinction between $TINDERBOX_HTML_DIR and
$TINDERBOX_DATA_DIR
2000-11-09 19:14:31 +00:00
kestes%staff.mail.com
1f04f05bc7 add test for fix_time_format_tst() 2000-11-09 19:13:17 +00:00
kestes%staff.mail.com
3c284a469e regularize the use statements. 2000-11-09 19:12:55 +00:00
kestes%staff.mail.com
8d18461d34 make code taint safe by filtering output of globs. 2000-11-09 19:11:22 +00:00
kestes%staff.mail.com
cafa2b38ea make code taint safe by filtering output of globs. 2000-11-09 19:10:45 +00:00
kestes%staff.mail.com
dfff1d973b make code taint safe.
add patch by "Paul MacAdam" <paul@eazel.com>
fixing bugs in script.
2000-11-06 15:39:53 +00:00
kestes%staff.mail.com
7a7019e8ca add use Time::Local because we need it. Must have removed it by
accident.
2000-10-27 15:29:52 +00:00
kestes%staff.mail.com
0d104c480b add the notion of 'dead time' to better predict when builds will be
done at eazel.com.
when $buildstatus is 'building' we still want the popup window
explaining how long this has run.
2000-10-18 20:31:34 +00:00
kestes%staff.mail.com
0f80475eb8 wrong scope for $main::LOCALTIME 2000-10-18 20:27:43 +00:00
kestes%staff.mail.com
a0a94a6c56 clean up some comments, explain some security issues about data
storage in the document root.
2000-10-18 20:26:57 +00:00
kestes%staff.mail.com
99e7653feb clean up the comments.
factor out the pattern used to find variable names in mail
2000-10-18 20:26:04 +00:00
kestes%staff.mail.com
653e11e024 the name TinderDB::MIN_TABLE_SPACING was a mistake, change it to
TinderDB::TABLE_SPACING
2000-10-18 20:24:06 +00:00
kestes%staff.mail.com
a8927483f9 clean up the comments
factor out the pattern used to find variable names in the mail.
2000-10-18 20:22:57 +00:00
kestes%staff.mail.com
a34f6a8974 if we do not load the Build module we can not pick which builds to
ignore.
2000-10-18 20:22:13 +00:00
kestes%staff.mail.com
a5b718bd93 typo, extra dollar sign. 2000-10-18 14:33:57 +00:00
kestes%staff.mail.com
7e9c9d3d14 add more bug summaries. 2000-10-17 23:56:31 +00:00
kestes%staff.mail.com
7aa46e3ec2 If we delete too many duplicate treestates then we loose information
when the database is trimmed.

add more output to the CVS error message for close failures.
2000-10-17 23:55:25 +00:00
kestes%staff.mail.com
11f54dc47a move other sources of popup window code to main HTMLPopUP file. 2000-10-17 23:53:36 +00:00
kestes%staff.mail.com
0ff4f87ddd document other sources of popup window code. 2000-10-17 23:53:09 +00:00
kestes%staff.mail.com
1d973a36d6 It was a mistake to make $table_spacing settable at run time. There is
no MIN setting only a MAX.  This is useless.  So turn the variable to
a hard parameter $TinderDB::TABLE_SPACING.

Add a configuration variable $TinderConfig::LOG_PERFORMANCE
2000-10-17 23:51:05 +00:00
kestes%staff.mail.com
20dca862f3 it was a mistake to make $table_spacing settable. There is no MIN
setting only a MAX.  This is useless.  So turn the variable to a hard
parameter  $TinderDB::TABLE_SPACING.
2000-10-17 23:49:24 +00:00
kestes%staff.mail.com
039030ce27 it was a mistake to make $table_spacing settable. There is no MIN
setting only a MAX.  This is useless.  So turn the variable to a hard
parameter  $TinderDB::TABLE_SPACING.

Add a configuration variable $TinderConfig::LOG_PERFORMANCE
2000-10-17 23:49:07 +00:00
kestes%staff.mail.com
72443f0d84 document how to use fetchmail if sendmail causes problems.
begin to explain how to set up the bug tracking system.
clean up all the explantions a bit.
2000-10-17 23:47:08 +00:00
kestes%staff.mail.com
e66564e5e0 clarify the text 2000-10-17 20:30:29 +00:00
kestes%staff.mail.com
67de09ef26 clarify the mailing system discriptions 2000-09-22 15:24:16 +00:00
kestes%staff.mail.com
5b68106721 fully tested 2000-09-22 15:17:14 +00:00
kestes%staff.mail.com
fed805bf3b factor out functions to the new package MailProcess 2000-09-22 15:16:52 +00:00
kestes%staff.mail.com
7d643d5d58 use the new named time constants
use BTData
2000-09-22 15:15:00 +00:00
kestes%staff.mail.com
743beec357 *** empty log message *** 2000-09-22 15:08:53 +00:00
kestes%staff.mail.com
8307a66a05 add gen test for the bug tracking system 2000-09-22 15:08:09 +00:00
kestes%staff.mail.com
802da423e0 add information about the bug tracking system 2000-09-22 15:07:28 +00:00
kestes%staff.mail.com
55e3533bdf clarify that the timestamp is for the build mail not any other mail. 2000-09-22 15:03:32 +00:00
kestes%staff.mail.com
7619104614 modify escapeHTML() to escape the "'" as well as standard characters,
so that my popup windows code do not see a "'" in their input as this
confuses them. (It does not help the popup but seems like a good idea
to leave in.)
2000-09-22 15:03:03 +00:00
kestes%staff.mail.com
4cc8de8605 add information about bug tracking module 2000-09-22 15:01:58 +00:00
kestes%staff.mail.com
0b504e1721 add named constants for time. 2000-09-22 15:01:32 +00:00
kestes%staff.mail.com
4ad6f21e74 add use HTMLPopUp; (how did this ever work?) 2000-09-22 14:59:20 +00:00
kestes%staff.mail.com
d173e44d0d localize variables which had not been declared.
add comments to generated html to help debugging.
remove comments about $HTMLPopUp::EMPTY_TABLE_CELL,
     they belong in HTMLPopUp.pm.
Add more data to popup window title.
2000-09-22 14:58:40 +00:00
kestes%staff.mail.com
ba137f46d3 typo 2000-09-22 14:56:14 +00:00
kestes%staff.mail.com
71564d8b16 use configure to set #!perl 2000-09-22 14:55:58 +00:00
kestes%staff.mail.com
d32fe97941 increase time for tipClose so that IE users get a chance to read the
popup windows while javascript fights for focus.
2000-09-22 14:55:12 +00:00
kestes%staff.mail.com
8f52f8fd95 add new arguments --skip-check --force-time
add parse_args to parse new arguments
add fix_nonunix_times() so that all dates can be in either format
send errors to stderr as well as logfile
debug check_required_vars();
2000-09-18 19:40:56 +00:00
kestes%staff.mail.com
546148660d convert to new style tinderbox variables 2000-09-18 19:34:08 +00:00
kestes%staff.mail.com
1118d407c3 new regression test 2000-09-18 19:33:32 +00:00
kestes%staff.mail.com
aa8be01246 document HTMLPopUp implementations
document new $DEFAULT_HTML_PAGE = 'status.html';
document TRIM_DAYS for rmlogs
2000-09-18 19:32:46 +00:00
kestes%staff.mail.com
9e99561a5f security (taint) fixes
use  $MAX_DISPLAY_HOURS to peg the display used in links
2000-09-18 19:30:28 +00:00
kestes%staff.mail.com
a0a6b87cf5 security (taint) fixes
allow null message of the day
do not hardcode <a href instead call Link()
2000-09-18 19:29:31 +00:00
kestes%staff.mail.com
fbfc1603c9 security (taint) fixes 2000-09-18 19:28:32 +00:00
kestes%staff.mail.com
78a49c0692 security fixes
rename of file is not nessary
use new generalization: $FileStructure::DEFAULT_HTML_PAGE
2000-09-18 19:27:42 +00:00
kestes%staff.mail.com
7fd8aa43f9 use extract_filename_chars()
document passwd can be global or pertree
use new generalization: $FileStructure::DEFAULT_HTML_PAGE
2000-09-18 19:26:22 +00:00
kestes%staff.mail.com
efb6d83e75 dont hard code <a href> use link()
use new generalization: $FileStructure::DEFAULT_HTML_PAGE
2000-09-18 19:25:17 +00:00
kestes%staff.mail.com
2cfdf5a494 modules must end in 1; 2000-09-18 19:23:53 +00:00
kestes%staff.mail.com
4ebaebc379 add support for taint checking
add support for time checking
centrallize all 'atomic move' operations
2000-09-18 19:23:17 +00:00
kestes%staff.mail.com
c949726fdb this must use atomic_rename_file() 2000-09-18 19:21:56 +00:00
kestes%staff.mail.com
b8a971dd06 use extract_user() for untainting 2000-09-18 19:21:18 +00:00
kestes%staff.mail.com
3847fd9f3c add sanity check for record
fix gunzip URL (it had appeared twice in the string)
2000-09-18 19:20:44 +00:00
kestes%staff.mail.com
e344ec6b70 update file with current status 2000-09-18 19:18:34 +00:00
kestes%staff.mail.com
d8b4feba25 add users section
add 'security' as a goal
2000-09-18 19:18:03 +00:00
kestes%staff.mail.com
0da9c3f53a add more interesting types of builds to better simulate real
environments and because we missed a few errors using the old test
script.
2000-09-10 20:44:03 +00:00
kestes%staff.mail.com
2bd43d9f97 document rmlogs 2000-09-10 17:33:42 +00:00
kestes%staff.mail.com
0f3e0ccf9a add configs for rmlogs 2000-09-10 17:32:00 +00:00
kestes%staff.mail.com
b1ead786ca script to clean out old log files.
untested.
2000-09-10 17:30:40 +00:00
kestes%staff.mail.com
3eab49b3f3 add security checks to get_env so users do not accidentally run any
programs as root.
2000-09-10 17:29:17 +00:00
kestes%staff.mail.com
8d5fc3ec65 typo, missing parenthesis around arguments in encrypt_passwd()
fixed also in  security_problem()
2000-09-10 16:01:28 +00:00
kestes%staff.mail.com
7ddb6abbe3 add tidnerbox version number to header output 2000-09-06 01:24:18 +00:00
kestes%staff.mail.com
c92012a459 change: build_update_time_stamp to update_time_stamp
add: alltree_headers
2000-09-06 01:22:47 +00:00
kestes%staff.mail.com
f24c77db50 imbed the version number in the generated html 2000-09-01 18:39:54 +00:00
kestes%staff.mail.com
a2ed4c7a72 export_alltree_headers
function signature has changed.
2000-09-01 18:39:19 +00:00
kestes%staff.mail.com
1d825bdc28 better comments to discribe the settings. 2000-09-01 18:38:23 +00:00
kestes%staff.mail.com
5109cf4f6b $link was in the wrong scope.
I was returning undef instead of $link.
2000-09-01 18:37:52 +00:00
kestes%staff.mail.com
55a6cd74f5 turn on the all_headers file for the bots 2000-08-31 22:00:26 +00:00
kestes%staff.mail.com
66264882b2 forgot that if I change peristance then the admin code changes also.
I use persistance for the passwd table.
2000-08-31 21:59:53 +00:00
kestes%staff.mail.com
e89e4d1460 document the two tinderbox{log} variables together so we
can thing about retiring one.
fix a ugly bug in the skipping build algorithm, I had unneeded checks
add more debugging comments to generated HTML
2000-08-30 20:16:46 +00:00
kestes%staff.mail.com
1219a83c55 move the two tinderbox{log} variables together so we
can thing about retiring one.
2000-08-30 20:15:34 +00:00
kestes%staff.mail.com
d05396d68b make legends horizontal
fix missing '/' in <>
2000-08-30 02:30:34 +00:00
kestes%staff.mail.com
66f5d5d555 relax the author regexp for mozilla.org
make legends horizontal
fix missing '/' in <>
2000-08-30 02:30:23 +00:00
kestes%staff.mail.com
2576491486 make legends horizontal
move structures inside <html> block
2000-08-30 02:28:24 +00:00
kestes%staff.mail.com
e770de5c66 fix typo in $DB_LEGEND_BORDER
add $GLOBAL_INDEX_FILE
2000-08-30 02:27:38 +00:00
kestes%staff.mail.com
6b02dc7624 add a standard method of writing the headers so the bots can read
them.
2000-08-30 02:23:59 +00:00
kestes%staff.mail.com
8147a96d3e fix bug in html missing '/' in <>
index files are new parametrized
2000-08-30 02:23:08 +00:00
kestes%staff.mail.com
fafbe43e9d ignore_builds belongs int TinderHeader not in FileStructure
index files are new parametrized
2000-08-30 02:22:37 +00:00
kestes%staff.mail.com
d6473d70e1 ignore_builds belongs int TinderHeader not in FileStructure 2000-08-30 02:20:13 +00:00
kestes%staff.mail.com
afb5f91f70 fix bug in backward_compatibility()
better discription in the help file
2000-08-30 02:19:15 +00:00
kestes%staff.mail.com
93a5d73293 clarify comments 2000-08-30 02:17:19 +00:00
kestes%staff.mail.com
bae689c048 user perl from configure 2000-08-30 02:15:11 +00:00
kestes%staff.mail.com
01b39aeef1 add more hints based on real users problems 2000-08-30 02:14:14 +00:00
kestes%staff.mail.com
b8323064d4 Use configure script to find perl 2000-08-30 00:33:02 +00:00
mcafee%netscape.com
3e73140890 minor grammar change 2000-08-28 18:39:40 +00:00
mcafee%netscape.com
ea847318a1 Switching to /usr/bin/perl to be consistant with other files in this project; redhat installs perl in /usr/bin/perl if anyone cares. /usr/local/bin/perl could be a link for other platforms. 2000-08-28 18:38:11 +00:00
kestes%staff.mail.com
34bcf97f96 must use HTMLPopUp::escapeURL on all arguments to bonsai. 2000-08-25 16:41:10 +00:00
mcafee%netscape.com
7df4802db4 Minor tweaks 2000-08-24 23:33:04 +00:00
kestes%staff.mail.com
fa15a1b34b the dependency fudge is no longer needed with the Tinderconfig method
of choosing implementations.
2000-08-24 15:05:47 +00:00
kestes%staff.mail.com
eae2af313a better documentation as to what the variables are about in this config
file.
2000-08-24 15:04:33 +00:00
kestes%staff.mail.com
c70f77fd6d allow Persistence to use different implementations controled by
TinderConfig
2000-08-24 15:00:45 +00:00
kestes%staff.mail.com
b6b790da03 turn off the performance logs by default 2000-08-24 14:57:19 +00:00
kestes%staff.mail.com
7306b8752e deprecate tinderbox: builddate
in preference for tinderbox: starttime
2000-08-24 14:56:30 +00:00
kestes%staff.mail.com
8ed9ab87c7 a demo of what storable may look like. This is untested. 2000-08-24 14:55:04 +00:00
kestes%staff.mail.com
b20206cdb7 new save_structure load_structure function to provide better
abstraction and allow us to use storable instead of dumper if we like.
2000-08-24 14:54:32 +00:00
kestes%staff.mail.com
cfa2089970 adjust call to Persistance to work with new abstraction. 2000-08-24 14:52:11 +00:00
kestes%staff.mail.com
40350b519c adjust call to Persistance to work with new abstraction.
use status =  'build_failed', instead of 'busted',
round the division in $info
2000-08-24 14:51:47 +00:00
kestes%staff.mail.com
5942f5ef14 adjust call to Persistance to work with new abstraction.
add use TinderConfig;
2000-08-24 14:49:19 +00:00
kestes%staff.mail.com
ec377881f5 adjust call to Persistance to work with new abstraction.
use status =  'build_failed', instead of 'busted',
add use TinderConfig;
2000-08-24 14:49:00 +00:00
kestes%staff.mail.com
ff0445e5ef we are not requiring gifs in the code so do not require them in the
configure.
2000-08-24 14:46:38 +00:00
kestes%staff.mail.com
0a43400d35 document that you should get the tests working first.
put in a warning that it may be hard to install.
2000-08-14 22:22:15 +00:00
kestes%staff.mail.com
704a00aa37 fix typo, '.' should have been ',' 2000-08-14 21:58:58 +00:00
kestes%staff.mail.com
14c60163c0 *** empty log message *** 2000-08-11 00:35:25 +00:00
kestes%staff.mail.com
737afa472d *** empty log message *** 2000-08-11 00:27:27 +00:00
mcafee%netscape.com
1616385ac6 Adding file for Ken Estes <kestes@staff.mail.com> 2000-07-24 23:52:24 +00:00
mcafee%netscape.com
9882e2766e Ignore generated files. 2000-06-22 04:26:39 +00:00
mcafee%netscape.com
847928c421 Contributed by Ken Estes <kestes@staff.mail.com>. Not part of normal mozilla build. 2000-06-22 04:17:19 +00:00