[Buildbot-devel] WebStatus ponderings
Marcus Lindblom
macke at yar.nu
Tue Jan 19 22:15:56 UTC 2010
On 2010-01-06 11:14, Marcus Lindblom wrote:
> 4. Some sort of regexp->link to link "#xyz" entries in change comments
> to bug issue pages would also be nice . A new param to webstatus taking
> a regexp substitution and a jinja-filter ought to be enough
> (i.e. we just write {{ c.comments|e|issue_links }} in the template where
> issue_links is a python function applying the regex).
Just pushed code that supports this:
WebStatus(....,
changecommentlink=(r"#(\d+)", r"http://server.net/trac/ticket/\1")))
Cheers,
/Marcus
More information about the devel
mailing list