Closed
Bug 367978
Opened 19 years ago
Closed 19 years ago
setting up warning scraping requires manual edit of treedata.pl
Categories
(Webtools Graveyard :: Tinderbox, defect)
Webtools Graveyard
Tinderbox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cls, Assigned: cls)
Details
Attachments
(1 file)
|
14.91 KB,
patch
|
bear
:
review+
|
Details | Diff | Splinter Review |
Apparently, you need to hand edit treedata.pl to do server-side warning scraping. This is wrong for 2 obvious reasons:
1) it requires server admin shell access to enable warnings
2) treedata.pl is for tree configuration data that doesn't change
(Also, right now, the field will disappear when checksetup.pl is run because it's not in the default_treedata hash.)
We should either (a) automatically check for warnings when scraping logs for TinderPrint messages or (b) add a new section to the admin page to enable warnings for each box.
1) This patch lets you configure boxes to be scraped for compiler warnings via the standard admin page.
2) I rewrote the page to do a single submit for all of the per-build admin actions.
3) I updated trim_logs() to trim scrape.dat & warnings.dat as well.
4) Switched to using |package TreeConfig| to read in scrape & warning data rather than dealing with global namespace issues in processbuild.pl.
Sidenote: warnings.pl still needs to be fixed to not rely upon /cvsroot or bonsai.
Attachment #252703 -
Flags: review?(bear)
Comment 2•19 years ago
|
||
Comment on attachment 252703 [details] [diff] [review]
v1.0
looks good - I really like the merging of tasks in admin.
Attachment #252703 -
Flags: review?(bear) → review+
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•