aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-11-14 15:16:51 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-11-14 15:16:51 -0500
commit79a0eec1af142ea63590187bfffc1b48de633e97 (patch)
tree854eb72a16a96008b18bfd150e8f8b38807fde44 /release.py
parent54e7f4c241e43313019e72516cece1bca9c1c9ee (diff)
downloadexternal_python_setuptools-79a0eec1af142ea63590187bfffc1b48de633e97.tar.gz
external_python_setuptools-79a0eec1af142ea63590187bfffc1b48de633e97.tar.bz2
external_python_setuptools-79a0eec1af142ea63590187bfffc1b48de633e97.zip
Add support for linking Pull Requests in changelog.
--HG-- extra : rebase_source : f94412eefa4bf0f073a8ee30821dfc5a7a6f0d8a
Diffstat (limited to 'release.py')
-rw-r--r--release.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release.py b/release.py
index f4dff0d2..3dbfac24 100644
--- a/release.py
+++ b/release.py
@@ -33,6 +33,7 @@ os.environ["SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES"] = "1"
link_patterns = [
r"(Issue )?#(?P<issue>\d+)",
+ r"Pull Request ?#(?P<pull_request>\d+)",
r"Distribute #(?P<distribute>\d+)",
r"Buildout #(?P<buildout>\d+)",
r"Old Setuptools #(?P<old_setuptools>\d+)",
@@ -41,6 +42,8 @@ link_patterns = [
]
issue_urls = dict(
+ pull_request='https://bitbucket.org'
+ '/pypa/setuptools/pull-request/{pull_request}',
issue='https://bitbucket.org/pypa/setuptools/issue/{issue}',
distribute='https://bitbucket.org/tarek/distribute/issue/{distribute}',
buildout='https://github.com/buildout/buildout/issues/{buildout}',