[Buildbot-commits] [Buildbot] #2425: Generating revlink on a Mercurial repository

Buildbot trac trac at buildbot.net
Sun Apr 13 22:56:41 UTC 2014


#2425: Generating revlink on a Mercurial repository
-------------------------+--------------------
Reporter:  mariamarcano  |       Owner:
    Type:  enhancement   |      Status:  new
Priority:  major         |   Milestone:  0.9.0
 Version:  0.8.7p1       |  Resolution:
Keywords:  web           |
-------------------------+--------------------

Comment (by dank):

 Maria, I've implemented something like this, see
 https://github.com/dankegel/buildbot-x/tree/bug3435-ssrevlink

 To use it, add something like

 {{{
 from buildbot import revlinks
 c['revlink'] = revlinks.RevlinkMatch(
     [r'git.foo.com:.*/(.*)'],
     r'https://git.foo.com/cgit.cgi/\1/commit/?h=$branch&id=$rev')
 }}}

 to your master.cfg.  (That example is for git and cgit, so you'll need to
 adjust it
 for your VCS.)

 I didn't use sourcestamps, since that looked like a bigger change; I just
 added branch as a 2nd parameter on the filter.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2425#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list