Skip to content

Commit

Permalink
tools/update_changelog.py: Move link fixing to mixxx repo
Browse files Browse the repository at this point in the history
This is now part of mixxxdj/mixxx#4256.
  • Loading branch information
Holzhaus committed Sep 1, 2021
1 parent 3eed809 commit a10f31a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tools/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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<lpid>\d+)\b(?!\])",
r"[lp:\g<lpid>](https://bugs.launchpad.net/mixxx/+bug/\g<lpid>)",
changelog,
)

# Ensure that all GitHub PRs are hyperlinks
changelog = re.sub(
r"(?!\[)#\b(?P<ghid>\d+)\b(?!\])",
r"[#\g<ghid>](https://github.com/mixxxdj/mixxx/pull/\g<ghid>)",
changelog,
)

return TEMPLATE.lstrip().format(content=m2r2.convert(changelog))


Expand Down

0 comments on commit a10f31a

Please sign in to comment.