From 8bd4cff27ee98235eb531192927bc0e832b8cad9 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 9 May 2019 12:37:00 +0200 Subject: fix(osurl): it is jira.suse.com not jira.suse.de. --- osurl | 2 +- plugin/spec.vim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/osurl b/osurl index 8286717..b7fa449 100755 --- a/osurl +++ b/osurl @@ -19,7 +19,7 @@ local patterns = { ["bsc#%NUM"] = "https://bugzilla.suse.com/show_bug.cgi?id=%1", ["bds#%NUM"] = "https://build.suse.de/request/show/%1", ["bdo#%NUM"] = "https://build.opensuse.org/request/show/%1", - ["jsc#%JIRID"] = "https://jira.suse.de/browse/%1", + ["jsc#%JIRID"] = "https://jira.suse.com/browse/%1", ["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", diff --git a/plugin/spec.vim b/plugin/spec.vim index 966e679..17be0b0 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -6,6 +6,7 @@ function! ReplaceURLs() s!https://build.opensuse.org/request/show/\(\d*\)!bdo#\1!e s!https://bugzilla.opensuse.org/\(show_bug.cgi?id=\)\?\(\d*\)!boo#\2!e s!https://bugzilla.suse.com/\(show_bug.cgi?id=\)\?\(\d*\)!bsc#\2!e + s!https://jira.suse.\(com\|de\)/browse/\(\d*\)!jsc#\2!e endfunction noremap gG :call ReplaceURLs() -- cgit