Sheriffing/TBPL: Difference between revisions

tbpl.mozilla.org doesn't exist anymore
(→‎Some links: add link to MDN docs for users)
(tbpl.mozilla.org doesn't exist anymore)
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Tinderboxpushlog is a tool that correlates checkins with Tinderbox results. The official Firefox instance is at http://tbpl.mozilla.org/.
Tinderboxpushlog ("TBPL") is a tool that correlates checkins with [[Buildbot]] results, so that developers and [[Sheriffing|sheriffs]] can quickly see the results of automatic builds and tests for specific changesets.  
 
TBPL has now been switched off in {{bug|1054977}}, since it has been replaced by [[Auto-tools/Projects/Treeherder|Treeherder]].


==Some links==
==Some links==
 
* [https://tbpl.mozilla.org/ <s>Mozilla production instance</s>] (site doesn't exist anymore)
* [http://tbpl.mozilla.org/ official Firefox instance]
* [https://hg.mozilla.org/webtools/tbpl/ Source repository]
* [http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/ Hg repository]
* [https://bugzilla.mozilla.org/buglist.cgi?product=Tree+Management&component=TBPL&resolution=--- Open bugs]
* [https://bugzilla.mozilla.org/buglist.cgi?product=Webtools&component=Tinderboxpushlog all Tinderboxpushlog bugs in Bugzilla]
* [https://bugzilla.mozilla.org/enter_bug.cgi?product=Tree+Management&component=TBPL File a bug]
* [https://bugzilla.mozilla.org/enter_bug.cgi?product=Webtools&component=Tinderboxpushlog Bugzilla bug report form]
* [[Sheriffing/How:To:TBPL]]
* [https://developer.mozilla.org/En/Developer_Guide/Committing_Rules_and_Responsibilities How to use TBPL to check the tree]
* [https://developer.mozilla.org/En/Developer_Guide/Committing_Rules_and_Responsibilities How to use TBPL to check the tree]
 
* FirefoxOS TBPL guide: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/TBPL
==Hacking==
* [https://mana.mozilla.org/wiki/display/websites/tbpl.mozilla.org IT Mana page]
 
* [http://genericadm.private.phx1.mozilla.com/chief/tbpl.prod Chief self-deploy] (needs VPN)
If you only want to hack the user interface, i.e. client-side stuff, open js/Config.js and change the baseURL to "http://tbpl.mozilla.org/". Then running index.html from the local file system should just work.
* [http://genericadm.private.phx1.mozilla.com/chief/tbpl.prod/history Chief self-deploy recent history] (needs VPN; more readable than raw logs, but is cleared if the Chief service is restarted)
 
* [http://genericadm.private.phx1.mozilla.com/chief/tbpl.prod/logs/ Chief self-deploy logs archive] (needs VPN; use if the history page is empty)
If you want a self-contained working instance of Tinderboxpushlog, you need a web server that runs some recent version of PHP. Additionally, you need to create a folder named "summaries" in tbpl's root directory and chmod it to 0777. That's where build log summaries will be stored.
* [https://bugzil.la/ALL%20tbpl%20production TBPL production push bugs] (Approximation, summaries may occasionally vary)
If you also want Tinderboxpushlog Robot to be able to comment in Bugzilla, you'll need to ask Ehsan for the tbplbot-password.php file and store it in the php folder. Alternatively you could create your own Bugzilla user, replace tbplbot@gmail.com in submitBugzillaComment.php with you user's email and add a tbplbot-password.php file that looks like this:
* Additional docs (need cleanup and/or combining):
<?php define('TBPLBOT_PASSWORD', 'yourpassword'); ?>
** [[Sheriffing/TBPL/DeveloperDocs]]
 
** [[Sheriffing/TBPL/ArchitectureAndDependencies]]
If you have a question, just send me an email at mstange@themasta.com.
** https://intranet.mozilla.org/How_To/Update_Tinderbox_Pushlog_%28tbpl%29
* The replacement for TBPL: [[Auto-tools/Projects/Treeherder|Treeherder]]