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
=== modified file 'debian/changelog'
--- debian/changelog 2011-09-05 13:40:24 +0000
+++ debian/changelog 2011-09-05 23:44:24 +0000
@@ -27,7 +27,10 @@
27 * get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)27 * get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
28 * doc/requestsync.1: Document the -C option (LP: #833408)28 * doc/requestsync.1: Document the -C option (LP: #833408)
2929
30 -- Stefano Rivera <stefanor@debian.org> Sat, 03 Sep 2011 21:04:38 +020030 [ Julian Taylor ]
31 * requestsync: omit dups when checking for duplicate requests (LP: #842217)
32
33 -- Julian Taylor <jtaylor.debian@googlemail.com> Tue, 06 Sep 2011 01:11:35 +0200
3134
32ubuntu-dev-tools (0.128) unstable; urgency=low35ubuntu-dev-tools (0.128) unstable; urgency=low
3336
3437
=== modified file 'ubuntutools/requestsync/lp.py'
--- ubuntutools/requestsync/lp.py 2011-08-18 14:11:36 +0000
+++ ubuntutools/requestsync/lp.py 2011-09-05 23:44:24 +0000
@@ -69,7 +69,9 @@
6969
70 # Fetch the package's bug list from Launchpad70 # Fetch the package's bug list from Launchpad
71 pkg = Distribution('ubuntu').getSourcePackage(name = srcpkg)71 pkg = Distribution('ubuntu').getSourcePackage(name = srcpkg)
72 pkgBugList = pkg.getBugTasks()72 pkgBugList = pkg.searchTasks(status=["Incomplete", "New", "Confirmed",
73 "Triaged", "In Progress", "Fix Committed"],
74 omit_duplicates=True)
7375
74 # Search bug list for other sync requests.76 # Search bug list for other sync requests.
75 for bug in pkgBugList:77 for bug in pkgBugList:

Subscribers

People subscribed via source and target branches

to status/vote changes: