diff options
author | Gerald Combs <gerald@wireshark.org> | 2020-09-15 14:42:19 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2020-09-16 01:29:07 +0000 |
commit | 194b3b406a691f27ec67a33960264f461eaa3286 (patch) | |
tree | a6bf7ff76c16681e13bb5f9538e585d06bc0cd37 /docbook/asciidoctor-macros | |
parent | ece76abdd3ffcc7c045eb3d30bd341de2243dfc2 (diff) | |
download | wireshark-194b3b406a691f27ec67a33960264f461eaa3286.tar.gz wireshark-194b3b406a691f27ec67a33960264f461eaa3286.tar.bz2 wireshark-194b3b406a691f27ec67a33960264f461eaa3286.zip |
Update our issue tracker URL in some places.
Replace bugs.wireshark.org links with their equivalent
gitlab.com/wireshark/wireshark/issues links in the AsciiDoctor buglink
macro and the please_report_bug function. Update the bug URLs in
comments in the tools and test directories.
Diffstat (limited to 'docbook/asciidoctor-macros')
-rw-r--r-- | docbook/asciidoctor-macros/wsbuglink-inline-macro/extension.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docbook/asciidoctor-macros/wsbuglink-inline-macro/extension.rb b/docbook/asciidoctor-macros/wsbuglink-inline-macro/extension.rb index 86df251285..b9781d0d56 100644 --- a/docbook/asciidoctor-macros/wsbuglink-inline-macro/extension.rb +++ b/docbook/asciidoctor-macros/wsbuglink-inline-macro/extension.rb @@ -18,9 +18,9 @@ class WSBugLinkInlineMacro < Extensions::InlineMacroProcessor parse_content_as :text name_positional_attributes 'bugtext' - def process(parent, bugnum, attrs) - bugtext = attrs['bugtext'] || %(Bug #{bugnum}) - target = %(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=#{bugnum}) + def process(parent, issueid, attrs) + bugtext = attrs['bugtext'] || %(Bug #{issueid}) + target = %(https://gitlab.com/wireshark/wireshark/-/issues/#{issueid}) create_doc_links(parent, target, bugtext) end end |