aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
diff options
context:
space:
mode:
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl4
1 files changed, 3 insertions, 1 deletions
diff --git a/osurl b/osurl
index 4775783..171ab73 100755
--- a/osurl
+++ b/osurl
@@ -24,7 +24,9 @@ STR="$(echo "$STR" | sed -E -e 's@sr[#-]([0-9])@https://build.opensuse.org/reque
STR="$(echo "$STR" | sed -E -e 's@jsc[#-](\S+)@https://jira.suse.com/browse/\1@')"
STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)[#-]([0-9]+)@https://github.com/\1/issues/\2@')"
STR="$(echo "$STR" | sed -E -e 's!gh[#-]([^#]*)@(\S+)!https://github.com/\1/commit/\2!')"
-STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)!(\S+)@https://github.com/\1/discussions/\2@')"
+STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)!(\S+)@https://github.com/\1/pull/\2@')"
+# Python exception
+STR="$(echo "$STR" | sed -E -e 's@gh[#-]([0-9]+)[: ]*@https://github.com/python/cpython/issues/\1@')"
STR="$(echo "$STR" | sed -E -e 's@gl[#-]([^#]*)[#-](\S+)@https://gitlab.com/\1/issues/\2@')"
STR="$(echo "$STR" | sed -E -e 's@gl[#-]([^#]*)!(\S+)@https://gitlab.com/\1/-/merge_requests/\2@')"
STR="$(echo "$STR" | sed -E -e 's@bt[#-]([^#]*)[#-](\S+)@https://bitbucket.org/\1/issues/\2@')"