Commit Graph

460 Commits

Author SHA1 Message Date
kestes%walrus.com
892bf124a5 Add support for /var/run/ directory. 2001-10-18 15:05:57 +00:00
kestes%walrus.com
0ac42c28f3 better name for default log file 2001-10-10 15:09:06 +00:00
kestes%walrus.com
76c4472467 fix broken usage for process_builds. allow usage to be viewed even if
security tests not passed.
2001-10-10 15:08:24 +00:00
kestes%walrus.com
29cf401afd typo in new BT_NAME parameter, did not get default from TinderboxConfig 2001-10-10 15:07:41 +00:00
kestes%walrus.com
83746116de allow usage page to be viewed withhout passing security checks. 2001-10-10 15:06:48 +00:00
kestes%walrus.com
4c2dc3a427 remove the colons from the tar file name. This was a bad idea because the
colons mean something special to tar.
2001-10-09 15:51:35 +00:00
kestes%walrus.com
1c49ee463b clarify the build states. 2001-10-09 15:38:27 +00:00
kestes%walrus.com
a541c2d473 make BT and VC column heading configurable. 2001-10-09 15:30:16 +00:00
kestes%walrus.com
571414f2f4 *** empty log message *** 2001-10-08 20:36:41 +00:00
kestes%walrus.com
f7d174f68f more discriptions of what program does. 2001-10-08 20:25:52 +00:00
kestes%walrus.com
04df5f8d34 better usage discription. Index.html does not list itsself and now
displays sizes.
2001-10-08 19:25:33 +00:00
kestes%walrus.com
1e7c1746d5 fix broken parsing and handing of --help --version 2001-10-05 22:42:12 +00:00
kestes%walrus.com
aaca8df50d fix bug in mail processing where errors were not logged. This was a scope
error in the LOG glob. Also we now allow users to run tinderbox via setuid wrappers
and no longer exclude certain uid ranges but require tinderbox to be run via the id which
the user specifies explicitly.
2001-10-05 22:11:50 +00:00
kestes%walrus.com
186309f14a The index files were not being over written but being appeneded to and the
documentation had not been updated.
2001-10-05 22:10:14 +00:00
kestes%walrus.com
e179611ea8 add ability to generate index.html files for the directories which are processed
this is because most browsers are truncating our long build file names.
2001-10-05 22:05:10 +00:00
kestes%walrus.com
c0cda4338d better documentation both internal and external. Reevaluate the steps
to make a build each iteration to allow builds to create time stamped output.
catch some errrors using eval so that they will appear in the tinderbox mail and not as fatal errors. Strip a few more 'dangerous variables' from the environment.
2001-09-06 18:15:53 +00:00
kestes%walrus.com
8b37ba9c0a merge this sample with code I am really using, to demonstrate how to build
tar files for each build and use the -D in CVS.
2001-08-30 18:54:25 +00:00
kestes%walrus.com
8f220614bd *** empty log message *** 2001-08-29 16:07:08 +00:00
kestes%walrus.com
946ab8e1a6 catch io errors from storable and give better discriptions. 2001-08-20 18:57:12 +00:00
kestes%walrus.com
c23d9eae3a clean the same ENV variables that sudo does at start time. 2001-08-14 16:34:36 +00:00
kestes%walrus.com
31bd7d64a7 the estimate of the time remaining was broken (variable name changed in
some code and not others).
2001-08-14 15:57:43 +00:00
kestes%walrus.com
9b81887f80 fix a typo. Try to auto update the status page when admin functions
are performed.
2001-08-13 20:11:55 +00:00
kestes%walrus.com
bc40c4ec83 reject bug tickets for trees we do not know about. This allows
BTData to not depend on TreeData
2001-08-13 20:03:10 +00:00
kestes%walrus.com
b9f4c1fc38 generalize the interface of BTData::bug_id2bug_url. we he a bug tracking
system which does not have a simple mapping of bugid to url.
2001-08-13 20:01:36 +00:00
kestes%walrus.com
1826285d66 generalize the interface of BTData::bug_id2bug_url we have a bug tracking
system which does not have a clear mapping from bugid to url.
2001-08-13 20:00:24 +00:00
kestes%walrus.com
7ef397524e generalize split_cgi_args so that other programs can use it. now it accepts
an argument.
2001-08-13 19:56:41 +00:00
kestes%walrus.com
f074450363 generalize split_cgi_args so that other scripts can use it. Add an
argument.
2001-08-13 19:55:25 +00:00
kestes%walrus.com
59f1525d60 the calls to save_structure used to pass a scalar variable and not a reference. this was just wrong and broke when used with storable. 2001-08-13 19:52:34 +00:00
kestes%walrus.com
9de576bdc0 add code to call the bonsai save state functions. this does not work yet. 2001-08-13 19:50:46 +00:00
kestes%walrus.com
7fb4bdc05c add code to call the Bonsai save state functions. this does not work yet. 2001-08-13 19:49:37 +00:00
kestes%walrus.com
8daf11530a Major bug in the untainting code. It seems that $1 is not cleared if
a pattern match fails.  I need to go and explicity add lots of if then else
clauses to ensure that variables are properly clean.  This unleashes a torrent of bugs.  Also split the check for valid filenames into two.  One checks
that each character is a valid character the other checks that
the directories which are pointed to are subdirectories of well known
 directories.
2001-08-02 20:11:03 +00:00
kestes%walrus.com
028b162763 fix bug in the untainting code by splitting the checks into two parts
one checks for valid characters in a filename the other checks
for both valid characters and valid directories as well.
2001-08-02 20:06:02 +00:00
kestes%walrus.com
9ac543bc59 fix bug in untainting code by splitting up the file checks into two pieces
one checks for legal characters and the other checks for legal characters AND
legal directories.
2001-08-02 20:04:25 +00:00
kestes%walrus.com
603a95f068 fixes because the default bonsai directory conventions were wrong and
I was not getting good treestates.
2001-07-27 20:44:45 +00:00
kestes%walrus.com
8760231679 show an example of how to use the new bonsai default parameter. 2001-07-27 20:42:56 +00:00
kestes%walrus.com
20bebb0b1d change the 'show next' links to 'show previous' links, too many
users ask me dumb questions about the future (really!)
2001-07-27 20:41:31 +00:00
kestes%walrus.com
6dee214d83 a useful example to show how to write buildcf files. 2001-07-27 20:39:18 +00:00
kestes%walrus.com
a5653ebd9a errors in the system3 and the chdir are now caught and sent to the server.
give and example of the command line arguments.
2001-07-27 20:38:50 +00:00
kestes%walrus.com
8d1643241e Change work email address to new company. 2001-07-20 19:05:22 +00:00
kestes%walrus.com
9de5c2383e Fix handling of trees other then default. This is still a bit broken
for the default tree, but all others work now.
2001-07-20 18:59:35 +00:00
kestes%walrus.com
53b626fb3b Must pass the treename through to BonsaiData. 2001-07-20 18:56:39 +00:00
kestes%walrus.com
0dfffdf63b Show the users that there is a treeheader_bonsai module: 2001-07-20 18:55:44 +00:00
kestes%tradinglinx.com
1cc06e04fd relax the uid/gid security checks for Debian 2001-04-04 14:23:36 +00:00
kestes%tradinglinx.com
0c6d2da4cd relax the uid/gid security checks for redhat 7.0 2001-04-03 15:14:27 +00:00
kestes%tradinglinx.com
5a3e1f56e0 do not have blank lines before the mail headers, postfix will choke. 2001-03-30 22:44:54 +00:00
kestes%tradinglinx.com
526caf9356 do not have blank lines before the mail headers, postfix will choke. 2001-03-30 22:44:10 +00:00
kestes%tradinglinx.com
f51084f38a remove duplicate printing of unmonitored build list. 2001-03-30 19:54:50 +00:00
kestes%tradinglinx.com
1c0f2a2618 I seem to have trouble keeping the interface
TinderDB::Build::all_build_names($tree);
consistent will all usage of this function.
2001-03-30 15:37:44 +00:00
kestes%tradinglinx.com
89fa987d61 put correct mailing address in comment. 2001-03-26 14:08:42 +00:00
kestes%tradinglinx.com
42e0d5ea22 put correct mailing address in comment. 2001-03-26 14:05:48 +00:00
kestes%tradinglinx.com
fda5601a8f for security, set a umask.
typo with $MINIMUM_BUILD_SECONDS was causing too little sleeping and
many builds occured flooding my disk space.
2001-03-26 13:37:24 +00:00
kestes%tradinglinx.com
1480e5a432 for security, set a umask 2001-03-26 13:36:28 +00:00
kestes%tradinglinx.com
ea51ad7e61 got the mindate/maxdate backwards for the "C" link. I thought I fixed
this already.
2001-03-26 13:36:00 +00:00
kestes%tradinglinx.com
77d321e2aa always show the last few lines of the build. 2001-03-19 23:35:13 +00:00
kestes%tradinglinx.com
797f9199a6 add system3() so that we can send reports while the
build is running.
2001-03-19 23:33:43 +00:00
kestes%tradinglinx.com
259da77fdc fix typo in header generation.
take out the <p> in the info, it makes the windows too big.
also increase the window sizing algorithm for the headers
   to be compatible with what I do for the build.
2001-03-19 23:32:43 +00:00
kestes%tradinglinx.com
0f0e54ec93 add common error stings 2001-03-15 18:00:00 +00:00
kestes%tradinglinx.com
ade02689c2 put the output into a form which can be sourced by /bin/sh 2001-03-15 17:59:15 +00:00
kestes%tradinglinx.com
808dff4128 forgot to delete unused function from last major rewrite. 2001-03-12 19:46:21 +00:00
kestes%tradinglinx.com
f68cd0369b got the subtraction wrong and I was sleeping for negative times. 2001-03-08 18:13:32 +00:00
kestes%tradinglinx.com
da71204e6b remove taintedness. 2001-03-02 17:19:59 +00:00
kestes%tradinglinx.com
97b560440e fix the arguments to make all_build_names and build_names consistent
(no self).  This could not have worked before (since revision 1.12)
all calls to all_build_names were incorrect.
2001-03-01 18:42:30 +00:00
kestes%tradinglinx.com
3ac7f7b7c0 no longer needed, we have a cleaner interface now. 2001-02-27 17:53:51 +00:00
kestes%tradinglinx.com
ecf157225c *** empty log message *** 2001-02-27 15:43:34 +00:00
kestes%tradinglinx.com
0203d89b62 Document that the default_conf must not use any other library. 2001-02-27 15:26:43 +00:00
kestes%tradinglinx.com
a4d5275709 change the default directories to be more like the more recent Redhat distributions.
Document that the default_conf must not use any other library.
2001-02-27 15:26:29 +00:00
kestes%tradinglinx.com
3f1021cbc9 Document that the default_conf must not use any other library.
ignore bugs which have null state.
2001-02-27 15:24:34 +00:00
kestes%tradinglinx.com
5f11b2fe8e the code to ensure that builds do not start too quickly was buggy. 2001-02-27 15:10:52 +00:00
kestes%tradinglinx.com
926f415293 allow users to determine which states they do not want to see.
some documention was changed as it was incorrect.
2001-02-27 15:10:09 +00:00
kestes%tradinglinx.com
38f36909cf restrict path since we do not rely on the path to find anything. 2001-02-27 15:09:14 +00:00
kestes%tradinglinx.com
69cc09ea72 typo wrote $tree_state meant $new_tree_state 2001-02-16 20:08:32 +00:00
kestes%tradinglinx.com
8179b96c5f only print values that we have data for. 2001-02-16 20:07:30 +00:00
kestes%tradinglinx.com
84ee8faa3f allow users to run processmail_bugs without using sendmail. 2001-02-16 20:07:03 +00:00
kestes%tradinglinx.com
3bd0a10929 suck some bugzilla parameters off Subject line in mail message.
allow users to run processmail_bugs without using sendmail.
some updates do not have any status value, ignore those.
2001-02-16 20:06:28 +00:00
kestes%tradinglinx.com
9d35bc1252 create a BT_URL entry.
fix possible security risk in default $ADMINISTRATIVE_NETWORK_PAT
2001-02-16 20:04:08 +00:00
kestes%tradinglinx.com
5bd2d5ea52 minor fixes to local variables.
is_status_final  did not recieve its arguments from @_ properly.
2001-02-16 20:03:13 +00:00
kestes%tradinglinx.com
329c13608f get default BT_URL from TinderConfig 2001-02-16 20:02:21 +00:00
kestes%tradinglinx.com
26a102a2c4 more comments,
allow each ticket to go to multiple trees.
2001-02-16 01:43:49 +00:00
kestes%tradinglinx.com
e5166e4862 more comments,
parenthesize some localize variables
change the scaling of the window to better suite the installed netscape.
there should be a better way to autosize the windows!
2001-02-16 01:41:28 +00:00
kestes%tradinglinx.com
f238af1524 more comments,
localize some variables which were not local by accident.
change function name update2bug_url to  bug_id2bug_url
2001-02-16 01:40:08 +00:00
kestes%tradinglinx.com
8cf1cb1723 change the default window sizes to work with the installed version of
netscape.  There has to be a better way to size these windows!
2001-02-16 01:34:37 +00:00
kestes%tradinglinx.com
7f5952e9de do not run both bonsai and cvs by default. People will find it strange. 2001-02-16 00:10:48 +00:00
kestes%tradinglinx.com
20e58209f1 typo, there was a missing @_ in a function, so no local variables were
getting instatiated.
2001-02-16 00:09:54 +00:00
kestes%tradinglinx.com
5da231716e use new function (BuildStatus::is_status_final($buildstatus)) to allow users
to change default of ( ($buildstatus eq 'not_running') || ($buildstatus eq 'building') ) .
make more consistent use of  build_names($tree); to find the ordered
list of buildnames.
my notion of mindate/maxdate was the reverse of bonsai so fix it here.
the notion of $previous_rec was illdefined and causing problems.
2001-02-16 00:08:53 +00:00
kestes%tradinglinx.com
a167ac90ed typo in use of FileStructure::URLS 2001-02-15 23:58:04 +00:00
kestes%tradinglinx.com
28ceb84a56 some variables were not being interpolated because they were in single quotes.
This could not have worked.
2001-02-15 23:53:33 +00:00
kestes%tradinglinx.com
61f5728c3b add func sort_tree_buildnames 2001-02-15 21:11:40 +00:00
kestes%tradinglinx.com
13eeb0bb9e add func is_status_final
add 1; to end of file
2001-02-15 21:11:04 +00:00
kestes%tradinglinx.com
96044a8fd0 sync with CVS module, mostly parenthesis were different. 2001-02-15 21:07:55 +00:00
kestes%tradinglinx.com
e5bc9c5b5e localize many variables which were accidentally global.
fix bugs in the way the extra treestate data was trimmed from the DB.
change name of package so we can run CVS and BONSAI VC's at the same time for debugging.
2001-02-15 21:00:51 +00:00
kestes%tradinglinx.com
7080294a15 now works and is insync with VC_CVS.pm 2001-02-15 20:56:58 +00:00
kestes%tradinglinx.com
cf9234d955 Add bonsai support.
Make $BRIEF_LOG_TRIM_DAYS &  $FULL_LOG_TRIM_DAYS have same default.
2001-02-15 20:55:49 +00:00
kestes%tradinglinx.com
c6ae0f3a2b round the time down to even seconds. initalize two variables to null string. 2001-02-15 20:51:58 +00:00
kestes%tradinglinx.com
3c8eb16980 fix the display of the printing of the bonsai version number 2001-02-15 20:49:56 +00:00
kestes%tradinglinx.com
ebc8c7270e A working version for TreeState using BonsaiData 2001-02-15 20:48:37 +00:00
kestes%tradinglinx.com
4b0abac70a do not pass remote information to bonsai. This allows us to run both
CVS and Bonsai mode at the same time for the same tree while testing.
2001-02-15 20:47:53 +00:00
kestes%tradinglinx.com
fbc2d8bf80 Relax the check for ID's which are considered daemon (root). 2001-02-15 20:44:48 +00:00
kestes%tradinglinx.com
fefb895d3d cleaner interface to bonsai 2001-02-15 20:41:25 +00:00
kestes%staff.mail.com
81e762f887 $previous_rec needed wider scope. I had accidentally narrowed the
scope when tixing the 'building' issue.
2001-01-09 15:43:39 +00:00
kestes%staff.mail.com
867f7be8c1 delete unused tinderbox variable buildfamily. This will surely
confuse some user if I leave it in.
2001-01-06 01:34:21 +00:00
kestes%staff.mail.com
a0ae5a5ad6 typo the module is erro_parse not error_parser 2001-01-06 01:33:22 +00:00
kestes%staff.mail.com
7155a19998 better man page to explain the mail format. 2001-01-06 01:32:03 +00:00
kestes%staff.mail.com
fc4cc97b70 clean up the SECONDS_PER_* variables
add some periods to the end of error messages.
2001-01-06 01:31:30 +00:00
kestes%staff.mail.com
4c3646e80b allow the 'building' mails to not trip the test for gridsize. 2001-01-06 01:30:37 +00:00
kestes%staff.mail.com
97510cf920 some new versions of CVS output dates in a new format, allow for these
dates.
2001-01-06 01:27:55 +00:00
kestes%staff.mail.com
55fe69eae0 stat fix for perl 5.6 from "John Turner" <jdturner@nc.rr.com> 2001-01-05 17:30:35 +00:00
kestes%staff.mail.com
74834eac46 If they are not on a valid network they should not see what our
other security checks are.
2001-01-04 16:40:53 +00:00
kestes%staff.mail.com
1ad4e09f55 forgot to turn on the new security features. Turned them off to test
at my site.
2001-01-04 16:40:22 +00:00
kestes%staff.mail.com
49efcc8976 add more documentation to top of file explaining what file does.
add strict checks on directories, so that there is no security problem
with our data.
treat special ids and groups as if they are root, now its a fatal error.
2001-01-04 00:31:20 +00:00
kestes%staff.mail.com
83dde91ab7 add more documentation to top of file explaining what file does.
move untaint code to after the variable is defined.
2001-01-04 00:30:13 +00:00
kestes%staff.mail.com
a12eb2292b add more documentation to top of file explaining what file does. 2001-01-04 00:29:40 +00:00
kestes%staff.mail.com
e20c29253e add more documentation to top of file explaining what file does.
remove old cruft from when I tried strict time checks on mail files.
typo wrote  $tree meant  $TINDERBOX{'$tree'}
2001-01-04 00:29:09 +00:00
kestes%staff.mail.com
6f0d7320dc add more documentation to top of file explaining what file does.
document eval as a security problem.
define the administrative network to limit who can run the admintree
page.
2001-01-04 00:28:00 +00:00
kestes%staff.mail.com
d184248d8a add more documentation to top of file explaining what file does 2001-01-04 00:26:16 +00:00
kestes%staff.mail.com
d6cb31785c add more documentation to top of file explaining what file does
do not allow changes by users who are on unknown networks
2001-01-04 00:25:14 +00:00
kestes%staff.mail.com
20d68e68fb add more documentation to top of file explaining what file does
add emacs header
2001-01-04 00:24:09 +00:00
kestes%staff.mail.com
8f0fafe2e7 change ($starttime < $timenow) ||
to      ($starttime <= $timenow) ||
2001-01-04 00:21:36 +00:00
kestes%staff.mail.com
0c368e7867 document security issue with eval 2001-01-04 00:21:03 +00:00
kestes%staff.mail.com
33411bd5a5 use new secure default mode for creating directories 2001-01-04 00:20:26 +00:00
kestes%staff.mail.com
4460aea536 moved to default_config 2001-01-03 22:03:40 +00:00
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
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
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
85666e8d28 improve comments 2000-11-29 19:47:38 +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
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
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
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
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
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
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
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
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
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