Re: Lintian check for d/upstream files (Was: another source of URLs for DUCK: debian/upstream)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 2013-12-03 10:57, schrieb Andreas Tille:
> Hi Simon,
>
> On Tue, Dec 03, 2013 at 09:09:22AM +0100, Simon Kainz wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Hi,
>>
>> I updated my lintian checks. Now I use Test::YAML::Valid, which
>> seems to be more obust (and picky!).
>>
>> Updated version in on GitHub:
>>
>> https://github.com/skainz/lintian-upstream-metadata
>>
>> It now complains when given the gfan upstream metadata file.
>
> Sounds sensible, but
>
> $ lintian -i -I gfan_0.5+dfsg-4.dsc 1..1 warning: Cannot load check
> "upstream-metadata" Can't locate Test/YAML/Valid.pm in @INC (you
> may need to install the Test::YAML::Valid module) (@INC contains:
> /usr/share/lintian/lib /usr/share/lintian/lib/ /usr/lib /etc/perl
> /usr/local/lib/perl/5.18.1 /usr/local/share/perl/5.18.1
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18
> /usr/share/perl/5.18 /usr/local/lib/site_perl .) at
> /usr/share/lintian/checks/upstream-metadata.pm line 30. BEGIN
> failed--compilation aborted at
> /usr/share/lintian/checks/upstream-metadata.pm line 30. Compilation
> failed in require at /usr/share/perl5/Lintian/CheckScript.pm line
> 225. # Looks like your test exited with 2 before it could output
> anything.
>
>
> So you need to add a new dependency to lintian:
> libtest-yaml-valid-perl in any case.
>
>
> Moreover I can not confirm that the problem is really found in the
> current gfan source:
Currently upstream tags are "pedantic", so please use the
- --pedantic option:
skainz@zidpc9027:~/tmp$ lintian
- --include-dir=/home/skainz/lintian-upstream-metadata/
gfan_0.5+dfsg-4_amd64.changes --profile debian/metadata --pedantic
P: gfan source: debian-upstream-file-is-invalid
>
> $ lintian -i -I gfan_0.5+dfsg-4.dsc 1..1
>
>
> What does this 1..1 mean?
Ok, sorry, fixed, see 72d4ac38463311dba2ea3f5e7668a006a25fbc27.
Please recheckout my git repo.
>
>
>> Comments are welcome!
>
> Thanks in any case for your work on this
>
> Andreas.
>
You are welcome!
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSnbHZAAoJEBy08PeN7K/pyacP/A8VYShi5N5sN5/c4/mJsSjB
OVu9zKDl3L81eftkVfVRLfNnv4qqau3/GGUg8Y94vFxmREQuf4P5daJa1tcjN45C
/H/2bhcI5EfCMDBkHsmLmT8tgmiFuZiMTPtsFh4MkaU7cDtt2zjNsPgIfDm8OMPP
aEMcjMeA6QI562Tnb+WTBNPtWUIqWovkhqx17URR5U6kRp8nzbVLxfFKaVV0pAgh
ds8LMHkwiCoLrSok/4ARf9GlJ4R4q4Rbm3swp2chJbKAJwK3YuG++qmBMzsBW32Q
fJ1OZ5BBc6KvOLgLJKq+xdmTGu5S7VKNzziGm1pxmnAauDBUyKTP9ne2dmLkcJcR
UxG4nQ5dmPaD11A+4f4ZvlUH+PSs2f7syJxa9VyEnyyEprCPl+llTlNVssH7B8yu
UvHz8gSSPHBevNFanHRfsXDH1+YZ2FSifrSKy+2rrLkMgrr3GH82NxzrI1SVEvLI
czvzz1Y3Hiyusut66BNfbpE9dID9KSY7o/BQFJi6EpGTiHkrTDHBtgxac+vSWJ8/
828wbOu3/XetC++8d8WYlfZTGj43dfV6BzyaouTA3CaPmoHLtFDvF5K25+JgJ2iz
spl4JVO2eOUA0NmWjuR8KHPctIAKXgmzL5gwCT0YfjiHTzjAFO/Hd7K2jyz4ep9n
Hi5dwK4fe2IuwwLuJZ8q
=JcIf
-----END PGP SIGNATURE-----
Reply to: