I certainly thing there *are* levels of severity of validator
warnings. For example, the Description 45-char limit is only a minor
warning, and one that was only ever seen at the highest level of
verbosity. But all the Description formatting problems are relatively
minor compared to things like using %i as the runtime installation
dir. I added the new "pedantic" verbosity level several months ago to
help separate the errors that could cause functional problems from the
more aesthetic issues. I don't want to lower the bar for packages: we
should correct our docs to say must pass validator with -v, which
(still) means "the maximum verbosity level".
Judging by 10.3/unstable, it's been a long time since we've seriously
enforced the Description formatting. OTOH, we still do have major
functional errors even in 10.3/stable. Getting our whole dist clean by
'fink -v validate' is a large job, so this gives us a way to make sure
packages are at least functionally correct. For example, when I added
checks for Shlibs field syntax, a bunch of existing packages suddenly
became "functionally broken", but those warnings were still easy to
lose among many dozens of Description formatting warnings.
dan
On Sat, Feb 12, 2005 at 10:48:10PM -0700, TheSin wrote:
> why would anything in validate be under any verbosity? ppl that run it
> should see all warnings and errors I'd think.
>
> On 12-Feb-05, at 8:15 PM, Ben Hines wrote:
>
> >I disagree with making ALL of these desc checks only verb > 3. Did
> >you mean to only change the > 45 char desc warning? (due to
> >bracketing, all were lowered to verb 4, which means noone will ever
> >see them.
> >
> > } elsif (Fink::Config::verbosity_level() > 3) {
> > # Some pedantic checks
[...]
> > print "Warning: Length of package description
> > exceeds 45 characters. ($filename)\n";
[...]
> > print "Warning: Description starts with \"A\" or "An\"
[...]
> > print "Warning: Description starts with lower case.
[...]
> > print "Warning: Description contains package name.
[...]
> > print "Warning: Description ends with \".\".
--
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel