#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
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to