aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2019-10-11 17:00:04 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:56:14 +0100
commite52bee00866b98bd1940aa4c845ab30aae1fcdfe (patch)
tree6f70562f4b1de1eaa2fd17efdef8f379ff22fd10 /osurl
parent639c1108f9e1c4442001508c105a05233845390d (diff)
downloadvim-suse-changes-e52bee00866b98bd1940aa4c845ab30aae1fcdfe.tar.gz
feat(osurl): add abbreviations for sourceforge.net.
Fixes for osurl gh#openSUSE/open-build-service#8572
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl3
1 files changed, 3 insertions, 0 deletions
diff --git a/osurl b/osurl
index b7fa449..6ec61b7 100755
--- a/osurl
+++ b/osurl
@@ -23,6 +23,9 @@ local patterns = {
["gh#%NONHASH#%WORD"] = "https://github.com/%1/issues/%2",
["gl#%NONHASH#%WORD"] = "https://gitlab.com/%1/issues/%2",
["bt#%NONHASH#%WORD"] = "https://bitbucket.org/%1/issues/%2",
+ ["sh#%NUM"] = "http://sourecforge.net/support/tracker.php?aid=%1",
+ ["shb#%NONHASH#%NUM"] = "https://sourceforge.net/p/%1/bugs/%2/",
+ ["shp#%NONHASH#%NUM"] = "https://sourceforge.net/p/%1/patches/%2/",
["lp#%NUM"] = "https://launchpad.net/bugs/%1",
["rh#%NUM"] = "https://bugzilla.redhat.com/show_bug.cgi?id=%1",
}