Mesa (master): bin/gen_release_notes.py: strip '#' from gitlab bugs
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 25 22:47:13 UTC 2019
Module: Mesa
Branch: master
Commit: df3d4ad82da41c47f6adb2ec4309e873a8f7fd33
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df3d4ad82da41c47f6adb2ec4309e873a8f7fd33
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 10:29:41 2019 -0700
bin/gen_release_notes.py: strip '#' from gitlab bugs
If they use the `Fixes: #1` form.
Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
("scripts: Add a gen_release_notes.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
---
bin/gen_release_notes.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py
index 17405530efb..b0d4c507252 100755
--- a/bin/gen_release_notes.py
+++ b/bin/gen_release_notes.py
@@ -149,7 +149,7 @@ async def gather_bugs(version: str) -> typing.List[str]:
# This means we have a bug in the form "Closes: https://..."
issues.append(os.path.basename(urllib.parse.urlparse(bug).path))
else:
- issues.append(bug)
+ issues.append(bug.lstrip('#'))
loop = asyncio.get_event_loop()
async with aiohttp.ClientSession(loop=loop) as session:
More information about the mesa-commit
mailing list