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

Re: NEW processing



Holger Levsen wrote:

> Hi,
> 
> On Wednesday 03 December 2008 21:51, Stefano Zacchiroli wrote:
>> Hence, the above comments from Kalle hints the obvious solution to the
>> disparity: make dak run lintian and reject uploads introducing "E:"
>                                                                ^ +new

No need to make it exclusive to new packages.

>From the lintian hacker desk:

$ lintian -I --exp-output format=letterqualifier sysvinit_2.86.ds1-61_i386.deb
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man5/initscript.5.gz:28
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man5/initscript.5.gz:35
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man5/initscript.5.gz:36
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man5/inittab.5.gz:218
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man5/inittab.5.gz:226
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man5/inittab.5.gz:227
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man8/init.8.gz:169
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man8/runlevel.8.gz:26
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man8/shutdown.8.gz:61
I[W!]: sysvinit: hyphen-used-as-minus-sign usr/share/man/man8/shutdown.8.gz:62
I[W!]: sysvinit: no-md5sums-control-file
E[I!]: sysvinit: depends-on-essential-package-without-using-version pre-depends:
sysvinit-utils

Other *experimental* output formats are 'xml' and 'colons' (currently b0rken).

As Russ already mentioned, lintian does now have severity and certainty fields,
and the one letter severity (E, W, I) is now generated based on that
information. It should therefor be possible to auto reject any upload if a tag
with certainty: certain and severity: serious is emitted.

[...]
> 
> regards,
> Holger

Cheers,
Raphael Geissert



Reply to: