diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-07-13 18:09:19 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-07-13 18:12:51 +0800 |
commit | 560d11b069f159a27b3a0e258842028ff705d612 (patch) | |
tree | e75d48e472c209228bfa2f78f271aa1023029c6e /release.py | |
parent | a76fee797c59738c7f9e932fa5bfac16c49f66fe (diff) | |
download | gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.tar gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.tar.gz gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.tar.bz2 gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.tar.lz gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.tar.xz gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.tar.zst gsoc2013-empathy-560d11b069f159a27b3a0e258842028ff705d612.zip |
release.py: detect bug numbers using their full URL
git-bz uses the full address of the bug so best to support that format as
well.
Diffstat (limited to 'release.py')
-rwxr-xr-x | release.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release.py b/release.py index 4c3f54eff..41b180105 100755 --- a/release.py +++ b/release.py @@ -161,9 +161,10 @@ class Project: return translations def get_bug_author(self, bug_number): - cmd = 'git log %s.. | grep -B 20 -E "(bug %s|#%s)"' \ + cmd = 'git log %s.. | grep -B 20 -E \ + "(bug %s|#%s)|bugzilla.gnome.org/show_bug.cgi\?id=%s"' \ ' | tac | grep ^Author: | head -1' \ - % (self.last_tag, bug_number, bug_number) + % (self.last_tag, bug_number, bug_number, bug_number) line = self.exec_cmd (cmd) p1 = line.find(" ") p2 = line.find("<") |