Bug#637524: qa.debian.org: UDD: Vcs-* header with uppercase letters not considered
On 04/09/11 at 09:16 +0200, Raphael Hertzog wrote:
> On Sat, 03 Sep 2011, Lucas Nussbaum wrote:
> > > Just in case it helps in debugging this issue, the following is a
> > > list of packages that have a Vcs-[Cc][Vv][Ss] header but aren't
> > > listed under vcs-type Cvs in UDD:
> >
> > Hi,
> >
> > I took a look at that, but it's not trivial to fix.
> > A proper fix would normalize the case of all field names, and then use
> > the normalized version everywhere.
>
> Note that dpkg-source normalizes the field when it generates the .dsc
> so I guess that you're parsing the unpacked source package ? Maybe you
> could switch to parse the .dsc instead.
I'm parsing the Packages and Sources files.
Ah, apparently, it's a problem in python-debian, which returns
'Vcs-Cvs:' instead of 'Vcs-Cvs' as field name if the value starts with
':'.
samosa uses python-debian 0.1.18.
Lucas
Reply to: