diff options
Diffstat (limited to 'osurl')
-rwxr-xr-x | osurl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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@')" |