From a10f31a43db482b2dd6563bd3d10aec380360bcf Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Wed, 1 Sep 2021 14:21:32 +0200 Subject: [PATCH] tools/update_changelog.py: Move link fixing to mixxx repo This is now part of https://github.com/mixxxdj/mixxx/pull/4256. --- tools/update_changelog.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tools/update_changelog.py b/tools/update_changelog.py index ddf673dc32..29f8d8f324 100755 --- a/tools/update_changelog.py +++ b/tools/update_changelog.py @@ -42,20 +42,6 @@ def changelog_to_rst(changelog): flags=re.MULTILINE | re.IGNORECASE, ) - # Ensure that all launchpad issues are hyperlinks - changelog = re.sub( - r"(?!\[)\blp:?(?P\d+)\b(?!\])", - r"[lp:\g](https://bugs.launchpad.net/mixxx/+bug/\g)", - changelog, - ) - - # Ensure that all GitHub PRs are hyperlinks - changelog = re.sub( - r"(?!\[)#\b(?P\d+)\b(?!\])", - r"[#\g](https://github.com/mixxxdj/mixxx/pull/\g)", - changelog, - ) - return TEMPLATE.lstrip().format(content=m2r2.convert(changelog))