diff options
| author | Paul Spooren | 2021-01-09 21:41:53 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2021-03-02 11:47:11 +0000 |
| commit | 5a5a2939867687b590e3c57eb58e7ed93ede9723 (patch) | |
| tree | ffeb865a7c57d0cc9b1a4cc9363c5146719bec51 | |
| parent | 69c1dea51a9b128028f9c82ac7f90cf063e20bf3 (diff) | |
| download | buildbot-5a5a2939867687b590e3c57eb58e7ed93ede9723.tar.gz | |
phase1: make change links clickable
Adding a `revlink` allows to click on changes leading to the
git.openwrt.org commit package. This feature works automatically for
pages like GitHub, however requires this manual step for custom urls.
Signed-off-by: Paul Spooren <mail@aparcar.org>
| -rw-r--r-- | phase1/master.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phase1/master.cfg b/phase1/master.cfg index 49ce32f..5a20804 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -1365,6 +1365,11 @@ if ini.has_option("irc", "host") and ini.has_option("irc", "nickname") and ini.h c['services'].append(irc) +c['revlink'] = util.RevlinkMatch([ + r'https://git.openwrt.org/openwrt/(.*).git' + ], + r'https://git.openwrt.org/?p=openwrt/\1.git;a=commit;h=%s') + ####### DB URL c['db'] = { |