Ticket #423 (closed task: fixed)
Duplicate code for rendering Buildbot/project links at the bottom of every web status page
|Reported by:||gward||Owned by:||gward|
I just noticed that code like this:
bburl = "http://buildbot.net/?bb-ver=%s" % urllib.quote(version) data += '<a href="%s">Buildbot-%s</a> ' % (bburl, version) if projectName: data += "working for the " if projectURL: data += '<a href="%s">%s</a> project.' % (projectURL, projectName) else: data += "%s project." % projectName
is repeated in several modules in buildbot.status.web:
- builder.py (twice)
As a result, the display is:
- inconsistent (most of them still link to buildbot.sourceforge.net, but the waterfall has been updated to point to buildbot.net)
- difficult to customize (e.g. I want to add a note in our local version that it's 0.7.9 plus local patches with a link to our wiki)
I'll try to come up with a patch for this.
- Status changed from closed to reopened
- Resolution fixed deleted
Note: See TracTickets for help on using tickets.