[Collab-qa-commits] r1465 - udd/udd
Lucas Nussbaum
lucas at alioth.debian.org
Sat Jun 6 21:21:44 UTC 2009
Author: lucas
Date: 2009-06-06 21:21:44 +0000 (Sat, 06 Jun 2009)
New Revision: 1465
Modified:
udd/udd/packages_gatherer.py
udd/udd/sources_gatherer.py
Log:
ignore more fields ; fix bug with vcs-browser
Modified: udd/udd/packages_gatherer.py
===================================================================
--- udd/udd/packages_gatherer.py 2009-06-06 21:19:12 UTC (rev 1464)
+++ udd/udd/packages_gatherer.py 2009-06-06 21:21:44 UTC (rev 1465)
@@ -31,8 +31,8 @@
'SHA1':0, 'Replaces':0, 'Section':0, 'MD5sum':0, 'Bugs':0, 'Priority':0,
'Tag':0, 'Task':0, 'Python-Version':0, 'Provides':0, 'Conflicts':0,
'SHA256':0, 'Original-Maintainer':0}
- ignorable = {'Filename':0, 'Npp-Name':0, 'Npp-Mimetype':0, 'Npp-Applications':0, 'Python-Runtime':0, 'Npp-File':0, 'Npp-Description':0, 'Url':0, 'Gstreamer-Elements':0, 'Gstreamer-Version':0, 'Gstreamer-Decoders':0, 'Gstreamer-Uri-Sinks':0, 'Gstreamer-Encoders':0, 'Gstreamer-Uri-Sources':0, 'url':0, 'Vdr-PatchLevel':0, 'Vdr-Patchlevel':0, 'originalmaintainer':0, 'Originalmaintainer':0, 'Build-Recommends':0 }
- ignorable_re = re.compile("^(Original-|Origianl-|Orginal-|Debian-|X-Original-|Upstream-)")
+ ignorable = {'Filename':0, 'Npp-Filename':0, 'Npp-Name':0, 'Npp-Mimetype':0, 'Npp-Applications':0, 'Python-Runtime':0, 'Npp-File':0, 'Npp-Description':0, 'Url':0, 'Gstreamer-Elements':0, 'Gstreamer-Version':0, 'Gstreamer-Decoders':0, 'Gstreamer-Uri-Sinks':0, 'Gstreamer-Encoders':0, 'Gstreamer-Uri-Sources':0, 'url':0, 'Vdr-PatchLevel':0, 'Vdr-Patchlevel':0, 'originalmaintainer':0, 'Originalmaintainer':0, 'Build-Recommends':0 }
+ ignorable_re = re.compile("^(Orig-|Original-|Origianl-|Orginal-|Debian-|X-Original-|Upstream-)")
warned_about = {}
# A mapping from <package-name><version> to 1 If <package-name><version> is
Modified: udd/udd/sources_gatherer.py
===================================================================
--- udd/udd/sources_gatherer.py 2009-06-06 21:19:12 UTC (rev 1464)
+++ udd/udd/sources_gatherer.py 2009-06-06 21:21:44 UTC (rev 1465)
@@ -31,7 +31,7 @@
'X-Vcs-Browser': 0, 'Vcs-Browser': 0, 'X-Vcs-Bzr': 0, 'X-Vcs-Darcs': 0, 'X-Vcs-Svn': 0, 'X-Vcs-Hg':0, 'X-Vcs-Git':0, 'Vcs-Browse':0,
'Directory':0, 'Comment':0, 'Origin':0, 'Url':0, 'X-Collab-Maint':0, 'Autobuild':0, 'Vcs-Cvs:':0, 'Python-Standards-Version':0, 'url':0, 'originalmaintainer':0, 'Originalmaintainer':0, 'Build-Recommends':0}
#Vcs-Cvs: is caused by a bug in python-debian, apparently.
- ignorable_re = re.compile("^(Original-|Origianl-|Orginal-|Debian-|X-Original-|Upstream-)")
+ ignorable_re = re.compile("^(Orig-|Original-|Origianl-|Orginal-|Debian-|X-Original-|Upstream-)")
vcs = { 'Arch':0, 'Bzr':0, 'Cvs':0, 'Darcs':0, 'Git':0, 'Hg':0, 'Svn':0, 'Mtn':0}
warned_about = {}
@@ -71,7 +71,7 @@
d['Vcs-Browser'] = control["Vcs-Browser"]
elif control.has_key("X-Vcs-Browser"):
d['Vcs-Browser'] = control["X-Vcs-Browser"]
- if control.has_key("Vcs-Browse"): # common typo
+ elif control.has_key("Vcs-Browse"): # common typo
d['Vcs-Browser'] = control["Vcs-Browse"]
else:
d['Vcs-Browser'] = None
More information about the Collab-qa-commits
mailing list