Merge lp:~jtaylor/ubuntu-dev-tools/requestsync-omit-duplicate into lp:~ubuntu-dev/ubuntu-dev-tools/trunk

Proposed by Julian Taylor
Status: Merged
Merged at revision: 1131
Proposed branch: lp:~jtaylor/ubuntu-dev-tools/requestsync-omit-duplicate
Merge into: lp:~ubuntu-dev/ubuntu-dev-tools/trunk
Diff against target: 30 lines (+7/-2)
2 files modified
debian/changelog (+4/-1)
ubuntutools/requestsync/lp.py (+3/-1)
To merge this branch: bzr merge lp:~jtaylor/ubuntu-dev-tools/requestsync-omit-duplicate
Reviewer Review Type Date Requested Status
Stefano Rivera Approve
Review via email: mp+74146@code.launchpad.net

Description of the change

requestsync --lp f-spot currently complains about a duplicate request bug 618981 which is a duplicate of a fixed bug.
This change omits_duplicates when checking.

To post a comment you must log in.
1132. By Julian Taylor

requestsync: add more non terminal status to dup check

Revision history for this message
Stefano Rivera (stefanor) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-09-05 13:40:24 +0000
3+++ debian/changelog 2011-09-05 23:44:24 +0000
4@@ -27,7 +27,10 @@
5 * get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
6 * doc/requestsync.1: Document the -C option (LP: #833408)
7
8- -- Stefano Rivera <stefanor@debian.org> Sat, 03 Sep 2011 21:04:38 +0200
9+ [ Julian Taylor ]
10+ * requestsync: omit dups when checking for duplicate requests (LP: #842217)
11+
12+ -- Julian Taylor <jtaylor.debian@googlemail.com> Tue, 06 Sep 2011 01:11:35 +0200
13
14 ubuntu-dev-tools (0.128) unstable; urgency=low
15
16
17=== modified file 'ubuntutools/requestsync/lp.py'
18--- ubuntutools/requestsync/lp.py 2011-08-18 14:11:36 +0000
19+++ ubuntutools/requestsync/lp.py 2011-09-05 23:44:24 +0000
20@@ -69,7 +69,9 @@
21
22 # Fetch the package's bug list from Launchpad
23 pkg = Distribution('ubuntu').getSourcePackage(name = srcpkg)
24- pkgBugList = pkg.getBugTasks()
25+ pkgBugList = pkg.searchTasks(status=["Incomplete", "New", "Confirmed",
26+ "Triaged", "In Progress", "Fix Committed"],
27+ omit_duplicates=True)
28
29 # Search bug list for other sync requests.
30 for bug in pkgBugList:

Subscribers

People subscribed via source and target branches

to status/vote changes: