pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Don't print "vague" diagnostics...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b44badff62e4
branches:  trunk
changeset: 497130:b44badff62e4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jul 20 21:09:28 2005 +0000

description:
Don't print "vague" diagnostics by default. A "vague" diagnostic is one
that has been in pkglint before I started hacking it. Mostly, they don't
contain a specific file location where to look for the cause or they are
generated using dubious code. The remaining warnings are only a few, but
they are mostly usable and valid.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b6f2ad855f0d -r b44badff62e4 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Jul 20 21:04:16 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Jul 20 21:09:28 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.211 2005/07/20 21:04:16 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.212 2005/07/20 21:09:28 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -319,7 +319,7 @@
 my $opt_warn_paren     = true;
 my $opt_warn_plist_sort        = false;
 my $opt_warn_types     = true;
-my $opt_warn_vague     = true;
+my $opt_warn_vague     = false;
 my $opt_warn_workdir   = true;
 my (%warnings) = (
        "absname"       => [\$opt_warn_absname, "warn about use of absolute file names"],



Home | Main Index | Thread Index | Old Index