Merge lp:~bigmadwolf/qbzr/qbzr-fusionforge into lp:qbzr

Proposed by Jérémy Subtil
Status: Merged
Merged at revision: 1502
Proposed branch: lp:~bigmadwolf/qbzr/qbzr-fusionforge
Merge into: lp:qbzr
Diff against target: 37 lines (+6/-0)
3 files modified
NEWS.txt (+2/-0)
lib/bugs.py (+1/-0)
lib/tests/test_bugs.py (+3/-0)
To merge this branch: bzr merge lp:~bigmadwolf/qbzr/qbzr-fusionforge
Reviewer Review Type Date Requested Status
Alexander Belchenko Approve
Review via email: mp+132402@code.launchpad.net

Description of the change

This branch adds support for FusionForge bug trackers.

As you requested, my commit is based on the trunk serie and I added a NEWs entry.

To post a comment you must log in.
Revision history for this message
Alexander Belchenko (bialix) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS.txt'
2--- NEWS.txt 2012-09-18 08:22:25 +0000
3+++ NEWS.txt 2012-10-31 18:32:18 +0000
4@@ -10,6 +10,8 @@
5 (Bug #1030343, Jared Silva, Jelmer Vernooij)
6 * qconfig:
7 * Fix: Fails to modify or remove merge tool configuration. (Bug #1045827)
8+ * qlog:
9+ * Support for FusionForge bug tracker. (Jérémy Subtil, Bug #1072044)
10
11
12 0.23.0 "Birch" - 2012/07/12
13
14=== modified file 'lib/bugs.py'
15--- lib/bugs.py 2011-05-03 09:21:56 +0000
16+++ lib/bugs.py 2012-10-31 18:32:18 +0000
17@@ -33,6 +33,7 @@
18 r'|default.asp\?' # Fogbugz URL
19 r'|issue' # Roundup issue tracker URL
20 r'|view.php\?id=' # Mantis bug tracker URL
21+ r'|aid=' # FusionForge bug tracker URL
22 r')(\d+)(?:\b|$)')
23
24 _unique_bugtrackers = ('lp', 'deb', 'gnome')
25
26=== modified file 'lib/tests/test_bugs.py'
27--- lib/tests/test_bugs.py 2010-03-13 13:45:12 +0000
28+++ lib/tests/test_bugs.py 2012-10-31 18:32:18 +0000
29@@ -54,6 +54,9 @@
30 self.assertEquals('7721', get_bug_id('http://www.mantisbt.org/bugs/view.php?id=7721'))
31 self.assertEquals('123', get_bug_id('http://localhost/view.php?id=123'))
32
33+ def test_fusionforge(self):
34+ self.assertEquals('292', get_bug_id('https://fusionforge.org/tracker/index.php?func=detail&aid=292'))
35+
36
37 class TestGetBugTags(TestCase):
38

Subscribers

People subscribed via source and target branches