./pkgtools/pkglint, Verifier for NetBSD packages

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


Branch: CURRENT, Version: 5.7.24, Package name: pkglint-5.7.24, 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/go112]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2019-09-12 23:15:48 by Roland Illig | Files touched by this commit (14) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.24

Changes since 5.7.23:

* Improved the _VARGROUPS check for ignored variables
* Removed wrong warnings for variable expressions like ${VAR:Dyes:Uno}
* Used correct terminology for the :Q modifier (it's not an operator)
   2019-09-09 00:47:47 by Roland Illig | Files touched by this commit (29) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.23

Changes since 5.7.22:

* Added a warning for lines that look empty but are actually follow-up
  lines from a previous line.

* Added notes for unusual placement of the continuation backslash. It
  should always be preceded by a single space or tab, or be in column
  73.

* Improved check for needlessly complicated !empty(PKGPATH:Mcat/pkg)
  that is transformed into the simpler ${PKGPATH} == cat/pkg, even if
  the package name contains hyphens, dots, plus or slashes.

* Added check for the _VARGROUPS section since that section contains
  many redundancies that can easily be checked. For example, in
  mk/compiler/gcc.mk the _VARGROUPS section is 67 lines long and
  contains far more than 100 variables. It's tedious to manually check
  this file for internal consistency. That's better left to pkglint.

* The empty variable is no longer flagged as "used but not defined".
  It appears in expressions like ${:Ustring}.

* When --source is combined with --explain, don't unnecessarily
  repeat the source code for a single line if there are several
  diagnostics. Instead, even omit the empty line between the diagnostics
  for the same line.
   2019-08-25 23:47:11 by Roland Illig | Files touched by this commit (1) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.22

Changes since 5.7.21:

* The files from wip/mk do not belong to the main pkgsrc infrastructure.
  Therefore, when loading the package Makefile to look for defined but
  unused variables, parsing doesn't stop in these files.
   2019-08-25 23:44:37 by Roland Illig | Files touched by this commit (9) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.22

Changes since 5.7.21:

* The files from wip/mk do not belong to the main pkgsrc infrastructure.
  Therefore, when loading the package Makefile to look for defined but
  unused variables, parsing doesn't stop in these files.
   2019-08-21 18:45:17 by Roland Illig | Files touched by this commit (19) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.21

Changes since 5.7.20:

* PKG_OPTIONS that are handled using patterns are correctly identified.

* Simple R packages should follow the canonical variable order.

* Fixed some edge cases for aligning variable assignments.

* Improved detection of allowed values for USE_LANGUAGES.
   2019-08-16 23:00:17 by Roland Illig | Files touched by this commit (5) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.20

Changes since 5.7.19:

* Fixed warning about unknown C++ standard versions, which had appeared
  after the code in mk/compiler.mk changed.
   2019-08-14 17:45:52 by Benny Siegert | Files touched by this commit (152) | Package updated
Log message:
Recursive bump of all packages using Go after Go 1.12.8 update.
   2019-08-02 20:55:07 by Roland Illig | Files touched by this commit (7) | Package updated
Log message:
pkgtools/pkglint: update to 5.7.19

Changes since 5.7.18:

* The tricky construct for generating case-items from a Make variable
  no longer produces parse errors. Example:

  case $$expr in ${PATTERNS:@p@ (${p}) action ;; @} esac