[Lsb-messages] /var/www/bzr/lsb/devel/buildbot-config r307: Make revisions in the web view into links to loggerhead.

Jeff Licquia licquia at licquia.org
Thu Dec 20 17:53:24 UTC 2012


------------------------------------------------------------
revno: 307
committer: Jeff Licquia <licquia at licquia.org>
branch nick: buildbot-config
timestamp: Thu 2012-12-20 12:53:24 -0500
message:
  Make revisions in the web view into links to loggerhead.
modified:
  lsb_master.cfg
-------------- next part --------------
=== modified file 'lsb_master.cfg'
--- a/lsb_master.cfg	2012-10-28 20:05:09 +0000
+++ b/lsb_master.cfg	2012-12-20 17:53:24 +0000
@@ -3,7 +3,7 @@
 
 import os
 
-from buildbot import scheduler, locks
+from buildbot import scheduler, locks, revlinks
 from buildbot.buildslave import BuildSlave
 from buildbot.process import factory
 from buildbot.steps import trigger
@@ -1044,3 +1044,13 @@
 # without some help.
 
 c['buildbotURL'] = "http://www.linuxbase.org/buildbot/"
+
+
+####### MISCELLANEOUS
+
+# Make revisions in buildbot web status link to version control
+# web viewer.
+
+c['revlink'] = revlinks.RevlinkMatch(
+    [r'/var/www/bzr/(.*)'],
+    r'https://bzr.linuxfoundation.org/loggerhead/\1/revision/%s')



More information about the lsb-messages mailing list