[buildbot] phase1: make change links clickable
LEDE Commits
lede-commits at lists.infradead.org
Thu Jan 14 16:05:45 EST 2021
ynezz pushed a commit to buildbot.git, branch staging/ynezz/buildbot-2.10.0:
https://git.openwrt.org/e88e25a88b25dc830b75f1225898ee9f53755da5
commit e88e25a88b25dc830b75f1225898ee9f53755da5
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Sat Jan 9 11:41:53 2021 -1000
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 at aparcar.org>
---
phase1/master.cfg | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/phase1/master.cfg b/phase1/master.cfg
index c5ee985..ab6f52b 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -1349,6 +1349,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'] = {
More information about the lede-commits
mailing list