595 Commits

Author SHA1 Message Date
reed%reedloden.com
578cbd3508 Add trim() function from Bonsai to fix cvsquery.pl.
git-svn-id: svn://10.0.0.236/trunk@233299 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 08:06:18 +00:00
rhelmer%mozilla.com
e7a3c977d1 need to strip carriage returns as well as newlines r=reed
git-svn-id: svn://10.0.0.236/trunk@233288 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 06:29:08 +00:00
cls%seawood.org
92e181981d Implement IsHidden() for bonsai
git-svn-id: svn://10.0.0.236/trunk@233287 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 06:08:56 +00:00
cls%seawood.org
fe5837122d Only bonsai has branch support atm.
Disconnect from the database when finished processing bonsai queries
Fix debug comment


git-svn-id: svn://10.0.0.236/trunk@233286 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 05:23:25 +00:00
cls%seawood.org
a6aaaf26f2 Add bonsai sql calls need query reference too
git-svn-id: svn://10.0.0.236/trunk@233285 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 04:54:08 +00:00
cls%seawood.org
1031bd7f5c remove viewvc.pl too
git-svn-id: svn://10.0.0.236/trunk@233284 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 04:47:58 +00:00
cls%seawood.org
2ceb65202f Install cvsquery.pl & get_line.pl
git-svn-id: svn://10.0.0.236/trunk@233283 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 04:46:58 +00:00
cls%seawood.org
4ea747293e Merge viewvc.pl into copy of bonsai's cvsquery.pl.
Bug #380118 r=bear


git-svn-id: svn://10.0.0.236/trunk@233282 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 04:40:05 +00:00
bear%code-bear.com
fcf781e508 validate form date values to bound them to a max range
bug 373415, r=bear
patch by cls


git-svn-id: svn://10.0.0.236/trunk@233281 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 04:14:45 +00:00
cls%seawood.org
6fa76a359c Copy over bonsai versions of cvsquery.pl & get_line.pl for bug #380118
git-svn-id: svn://10.0.0.236/trunk@233280 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 04:14:29 +00:00
bear%code-bear.com
868db2050a fixing two issues with bug 380118 patch done earlier identified during
production tinderbox upgrade
 - need $buildtree to get full path to logfile when doing -f check
 - should not have removed comment url if logfile does not exist
r=reed,r=justdave


git-svn-id: svn://10.0.0.236/trunk@233277 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 02:49:50 +00:00
bear%code-bear.com
16b4dcd11d Passing in a flag to the javascript routine log() to let it know if
the logfile exists - this will prevent the L/ link from being displayed
for logs that don't exist
bug 392922,r=morgamic


git-svn-id: svn://10.0.0.236/trunk@233225 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 17:42:43 +00:00
cls%seawood.org
cba72a4835 Avoid dynamic 'use lib' issues by putting bonsai db info directly into treedata.pl like we do for viewvc and use local copy of cvsquery.pl (named viewvc.pl).
Bug #380118 r=bear


git-svn-id: svn://10.0.0.236/trunk@233182 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 02:23:42 +00:00
cls%seawood.org
473675c939 followup to bug 380118
git-svn-id: svn://10.0.0.236/trunk@233058 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 03:27:25 +00:00
bear%code-bear.com
716f01af3c Changes to allow Tinderbox to know how to deal with multiple bonsai setups.
bug 380118, r=bear
patch by cls


git-svn-id: svn://10.0.0.236/trunk@233057 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 02:53:16 +00:00
bear%code-bear.com
37606644d3 allow cross-site XMLHttpRequest for tinderbox JSON output
bug 393401, r=bear
patch by luser (Ted M.)


git-svn-id: svn://10.0.0.236/trunk@233021 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 14:04:52 +00:00
rhelmer%mozilla.com
1ccb5aa082 strip newlines, quote undefs b=382406 r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@232094 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 04:36:24 +00:00
cls%seawood.org
acba63221b Only show checkins between mindate & maxdate on waterfall page
Bug #390534 r=bear


git-svn-id: svn://10.0.0.236/trunk@231247 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-01 22:31:08 +00:00
cls%seawood.org
e6cbf83d33 Bump treedata_version when writing new file.
Bug #390522 r=bear


git-svn-id: svn://10.0.0.236/trunk@231246 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-01 22:27:25 +00:00
rhelmer%mozilla.com
ddb9dd6e15 disable pretty-printing b=382406 r=cls
git-svn-id: svn://10.0.0.236/trunk@231220 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 19:28:56 +00:00
rhelmer%mozilla.com
28f19488a6 tinderbox should not load all of scrape.dat into memory b=388164 r=cls
git-svn-id: svn://10.0.0.236/trunk@229990 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-15 04:14:08 +00:00
rhelmer%mozilla.com
08db143901 add json output mode b=382406 r=cls r=bear
git-svn-id: svn://10.0.0.236/trunk@229854 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:06:23 +00:00
cls%seawood.org
5c9ac70562 Remove extraneous debug message
git-svn-id: svn://10.0.0.236/trunk@229435 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 17:14:22 +00:00
cls%seawood.org
dcc5b023a5 Bring clean.pl up to date and make the log trimming code common
Bug #378530 r=bear


git-svn-id: svn://10.0.0.236/trunk@227333 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-31 14:11:39 +00:00
cls%seawood.org
00f5c3e8fb 'require' forces the file to only be read once _ever_ so use 'do' instead.
Fixes tree state issues.
Bug #377229


git-svn-id: svn://10.0.0.236/trunk@224466 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 21:02:14 +00:00
reed%reedloden.com
c2a9baf3c0 Bug 369188 - "bonsai shell_escape problem" [p=reed r=bear]
git-svn-id: svn://10.0.0.236/trunk@224427 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 01:19:41 +00:00
cls%seawood.org
fcfde30581 Bug #359451 r=bear
This should be the last of the globals changes:
* Set ::default_hours & ::nowdate in tbglobals.pl
* Make ::rel_path local to showbuilds.pl .
* Move ::maxdate & ::mindate into $td hash populated by tb_load_data()
* Show an error if multiple modes (e.g. panel, quickparse) are given to
showbuilds.cgi
* Fix link in express mode of showbuilds.cgi
* Do not show 'previous hours' links for static index.html
* Pass down all form values to 'previous hours' links & the links in panel &
express modes (except in static builds).
* Remove global references & unused code from viewvc.pl
* Note which remaining globals are used by viewvc.pl & bonsai's cvsquery.pl


git-svn-id: svn://10.0.0.236/trunk@221799 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 22:44:03 +00:00
cls%seawood.org
cf950e51fe Add binaryurl to quickparse output.
Bug #369449 r=bear


git-svn-id: svn://10.0.0.236/trunk@219920 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-10 00:38:34 +00:00
cls%seawood.org
4399fe9c40 Grab global treedata to get $bonsai_tree for quickparse
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@219237 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 06:35:46 +00:00
cls%seawood.org
b20b291447 Print a warning to the logfiles if batch-#.pl cannot be opened to determine tree state.
Fix the regex that checks for tree state.
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@219236 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 06:17:55 +00:00
cls%seawood.org
9e37c8a796 Use local hashes instead of global variables to store tree status data.
Store static tree configuration from treedata.pl into global hash.
Bug #359451 r=bear


git-svn-id: svn://10.0.0.236/trunk@219208 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 22:34:14 +00:00
cls%seawood.org
ec12d39aa4 Allow builds to be configured for warning scraping via the main admin page.
Bug #367978 r=bear


git-svn-id: svn://10.0.0.236/trunk@218918 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 20:13:09 +00:00
cls%seawood.org
984b110589 Escape the argument being passed to a function via eval.
Bug #359451


git-svn-id: svn://10.0.0.236/trunk@218862 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 23:28:28 +00:00
cls%seawood.org
10f5b5621d Validate the |tree| cgi argument and limit new tree creation to (alphanumeric|.|-) .
Bug #367870 r=bear


git-svn-id: svn://10.0.0.236/trunk@218856 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:27:55 +00:00
cls%seawood.org
cccd4baa03 Add 'use strict;' to expose globals.
Remove uses of global $tree & $form.
Remove tabs from showbuilds.pl
Bug #359451 r=bear


git-svn-id: svn://10.0.0.236/trunk@218810 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 17:49:10 +00:00
cls%seawood.org
1298eda55a Make sure to use a unique filename for the logfile.
Bug #360727 r=bear


git-svn-id: svn://10.0.0.236/trunk@218218 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 20:49:23 +00:00
cls%seawood.org
6475f72697 Use consistent time source for builds by having client send the build end timestamp. Fallback to using mail processing time as end timestamp if client doesn't send one.
Bug #363102 r=bear


git-svn-id: svn://10.0.0.236/trunk@218142 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 19:36:19 +00:00
reed%reedloden.com
959c99db95 Bug 354563 - [p=reed r=bear r=timeless]
git-svn-id: svn://10.0.0.236/trunk@217707 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 02:42:30 +00:00
reed%reedloden.com
8eb5d2f530 Change /usr/bonsaitools/bin/perl to /usr/bin/perl [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216633 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 04:59:39 +00:00
cls%seawood.org
3edced3b0f Generate quickparse.txt along with the rest of the static pages.
Bug #359908 r=justdave


git-svn-id: svn://10.0.0.236/trunk@215038 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 17:46:10 +00:00
cls%seawood.org
0cf289d362 Remove lockfile if $::data_dir can't be read
git-svn-id: svn://10.0.0.236/trunk@214980 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 20:55:30 +00:00
cls%seawood.org
2011952b6a Reset who_check_list when building a new table body (presumably for a new tree).
Bug #359470 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214694 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 02:33:36 +00:00
cls%seawood.org
0ae58e6ba2 Fix previous link in static build pages
Bug #359464 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214689 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 01:11:14 +00:00
cls%seawood.org
f98cb8fc5a Reset global variables for each tree when building static pages in batches.
Bug #359323 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214676 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 23:56:33 +00:00
cls%seawood.org
de00af7251 Move non-spam mail with corrupt headers into data/bad/ so that it can be inspected later.
Bug #358454 r=justdave


git-svn-id: svn://10.0.0.236/trunk@214663 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 20:53:14 +00:00
timeless%mozdev.org
5538f16a30 Bug 106386 Correct misspellings in source code
r=bc rs=brendan


git-svn-id: svn://10.0.0.236/trunk@214626 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 20:21:50 +00:00
cls%seawood.org
d323787c84 Fix error message
git-svn-id: svn://10.0.0.236/trunk@213852 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 19:04:34 +00:00
cls%seawood.org
744089a167 Only print 'No data' message when debugging.
git-svn-id: svn://10.0.0.236/trunk@213851 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 18:56:38 +00:00
cls%seawood.org
1d82c0de59 Process build mail via cron.
Bug #354462 r=bear,justdave


git-svn-id: svn://10.0.0.236/trunk@213849 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 18:13:12 +00:00
cls%seawood.org
3e75a8ad44 A presumed bug in bzreadline causes the script to hang indefinitely on certain messages. Use bzread instead.
Bug #353674 r=justdave


git-svn-id: svn://10.0.0.236/trunk@212198 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-23 03:56:47 +00:00