./pkgtools/pkglint, Verifier for NetBSD packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 19.4.3, Package name: pkglint-19.4.3, Maintainer: rillig

pkglint checks whether a pkgsrc package conforms to the various
conventions established over the years. It produces warnings, errors and
notes and, upon request, explains them.

Before importing a new package or making changes to an existing package,
pkglint should be run in the package's directory to check for common
errors.

This is the current version of pkglint. Because it is written in go,
it does not run on all pkgsrc platforms; see also pkglint4.


Required to run:
[devel/go-check]

Required to build:
[pkgtools/cwrappers] [security/go-crypto] [devel/go-sys] [lang/go113]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2020-01-11 16:48:28 by Roland Illig | Files touched by this commit (1) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.3

Changes since 19.4.2:

PLIST_VARS identifiers must not contain characters that are interpreted
specially in regular expressions.

All pkgsrc text files except for doc/pkgsrc.{html,txt} must use the
default CVS keyword substitution.
   2020-01-11 16:47:58 by Roland Illig | Files touched by this commit (9) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.3

Changes since 19.4.2:

PLIST_VARS identifiers must not contain characters that are interpreted
specially in regular expressions.

All pkgsrc text files except for doc/pkgsrc.{html,txt} must use the
default CVS keyword substitution.
   2020-01-10 14:32:32 by Benny Siegert | Files touched by this commit (169)
Log message:
Revbump Go packages after Go default version bump.
   2020-01-06 22:40:40 by Ryo ONODERA | Files touched by this commit (1)
Log message:
pkglint: Remove an outdated file from PLIST to fix packaging
   2020-01-06 21:39:35 by Roland Illig | Files touched by this commit (1)
Log message:
pkgtools/pkglint: remove outdated ideas.go
   2020-01-06 21:38:42 by Roland Illig | Files touched by this commit (15) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.2

Changes since 19.4.1:

Fixed variable resolution. Before, variables that had not been defined
in an included file could still end up in the scope of the package,
which made many of the pkglint checks unreliable.

Each condition that is used in the PLIST should be defined somewhere in
the package Makefile or its included files.

When loading a package Makefile, hacks.mk is loaded implicitly at the
end, just as the pkgsrc infrastructure does in mk/bsd.hacks.mk.
   2020-01-05 13:35:40 by Ryo ONODERA | Files touched by this commit (1)
Log message:
pkglint: Include more .go file to PLIST
   2020-01-04 20:53:14 by Roland Illig | Files touched by this commit (69) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.1

Changes since 19.4.0:

The notes for inserting an empty line have been changed from "insert
after this line" to "insert before this line" to make the line numbers
in the diagnostics contiguous. There had been several places where the
diagnostics went from line 1 to line 2 and then back to line 1, which
was confusing.

The lines in ALTERNATIVES files are checked for trailing whitespace.
This is only for consistency with the other checks. In the whole pkgsrc
tree all ALTERNATIVES files are already fine.

The diagnostics for comments in .endif/.endfor lines that don't
correspond to their .if/.elif/.for counterparts now includes the exact
line number of the corresponding condition, to make the warning easier
to fix.

The diagnostics for wrong variable value alignment now mention the
current column in addition to the desired column, to make it easier to
see by how much and in which direction the indentation should be fixed.

Variables that are used in conditions before they are actually defined
need the :U modifier.