[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#540294: lintian: Check if Vcs field and distribution in changelog match



Russ Allbery wrote:
> Emilio Pozuelo Monfort <pochu@ubuntu.com> writes:
> 
>> From time to time I see a package that was uploaded to experimental but
>> its Vcs- fields point to the unstable branch, or the other way round.
>>
>> I think it would be nice to try to catch these cases. For example if the
>> field contains 'experimental', but the distribution is unstable, it's
>> probably wrong.
> 
> Do you mean by contacting the remote VCS, checking out the source there,
> and parsing it to see what distribution it corresponds to?  Or something
> simpler?  I'm not sure that I understand.  An example would be great.

No, I mean doing some checks to the field itself. E.g. pygtk from unstable has this:

Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/experimental/pygtk/
Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/experimental/pygtk/

However those don't even exist (the first one is 404). Since they contain
"experimental" in the URI, and the package has unstable in the distribution, it
could be guessed that it's an error.

However your idea of looking on the remote tree sounds pretty good, except that
it might be too heavy :-)

Best,
Emilio



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: