mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
syncpackage: Looks like we can't expect exactly one DSD record for every
source package (LP: #846890)
This commit is contained in:
parent
6fdef19b2c
commit
268fea2a1c
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -1,9 +1,14 @@
|
||||
ubuntu-dev-tools (0.132) UNRELEASED; urgency=low
|
||||
|
||||
[ Benjamin Drung ]
|
||||
* sponsor-patch:
|
||||
- Refactor code.
|
||||
- Support sync requests and make ack-sync obsolete (LP: #764763).
|
||||
|
||||
[ Stefano Rivera ]
|
||||
* syncpackage: Looks like we can't expect exactly one DSD record for every
|
||||
source package (LP: #846890)
|
||||
|
||||
-- Benjamin Drung <bdrung@debian.org> Sat, 10 Sep 2011 19:58:38 +0200
|
||||
|
||||
ubuntu-dev-tools (0.131) unstable; urgency=low
|
||||
|
11
syncpackage
11
syncpackage
@ -414,11 +414,12 @@ def is_blacklisted(query):
|
||||
comments = [c.body_text + u' -- ' + c.comment_author.name
|
||||
for c in lp_comments]
|
||||
|
||||
diff = series.getDifferencesTo(source_package_name_filter=query)[0]
|
||||
if diff.status == 'Blacklisted current version':
|
||||
blacklisted = 'CURRENT'
|
||||
if diff.status == 'Blacklisted always':
|
||||
blacklisted = 'ALWAYS'
|
||||
for diff in series.getDifferencesTo(source_package_name_filter=query):
|
||||
if (diff.status == 'Blacklisted current version'
|
||||
and blacklisted != 'ALWAYS'):
|
||||
blacklisted = 'CURRENT'
|
||||
if diff.status == 'Blacklisted always':
|
||||
blacklisted = 'ALWAYS'
|
||||
|
||||
# Old blacklist:
|
||||
url = 'http://people.canonical.com/~ubuntu-archive/sync-blacklist.txt'
|
||||
|
Loading…
x
Reference in New Issue
Block a user