Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-08-04 | lintpkgsrc: allow uppercase 'nb' in version numbers | rillig | 2 | -35/+29 | |
Just for symmetry with the pkg_install implementation; in practice the 'nb' is always lowercase. Merge most test cases into the versions table, leave a few as simple examples. | |||||
2022-08-03 | lintpkgsrc: fix parsing of version numbers that include letters | rillig | 3 | -7/+90 | |
2022-08-03 | lintpkgsrc: fix off-by-9 bug in version comparison (since today) | rillig | 2 | -4/+6 | |
2022-08-03 | lintpkgsrc: fix version comparison for adjacent letters | rillig | 2 | -4/+9 | |
Previously, lintpkgsrc treated the version numbers 1.0aa and 1.0ab the same, contrary to pkg_install. | |||||
2022-08-03 | lintpkgsrc: clean up and condense comparison of package versions | rillig | 2 | -43/+24 | |
One less 'eval' to worry about. | |||||
2022-08-03 | lintpkgsrc: rename pkg to pkgbase and ver to pkgversion | rillig | 2 | -21/+23 | |
The word 'pkg' has too many meanings to be useful in identifiers; use the standard terminology instead. | |||||
2022-08-03 | lintpkgsrc: refactor PkgList internals to be more descriptive | rillig | 1 | -32/+34 | |
The indirection layer through '_pkgs' was not necessary. | |||||
2022-08-03 | lintpkgsrc: refactor Pkgs internals to be more descriptive | rillig | 1 | -28/+29 | |
2022-08-03 | lintpkgsrc: refactor PkgVer internals to be more descriptive | rillig | 2 | -25/+34 | |
2022-08-03 | lint: fail if one of the tests fails | rillig | 4 | -8/+8 | |
2022-08-03 | lintpkgsrc: use LF line endings in tests | rillig | 3 | -164/+164 | |
2022-08-03 | lintpkgsrc: test parsing of package makefiles | rillig | 5 | -3/+118 | |
2022-07-30 | lintpkgsrc: cleanup: split main into smaller subroutines | rillig | 1 | -224/+252 | |
No functional change. | |||||
2022-07-30 | lintpkgsrc: condense code for checking mandatory command line options | rillig | 1 | -17/+2 | |
2022-07-30 | lintpkgsrc: test versioned packages, minor cleanup | rillig | 3 | -12/+35 | |
2022-07-30 | lintpkgsrc: rename safe_chdir to chdir_or_fail | rillig | 1 | -12/+8 | |
The word 'safe' was too ambiguous. While here, remove the source code location from the error message. This error is not expected to occur during normal usage. | |||||
2022-07-30 | lintpkgsrc: test code for storing package data | rillig | 2 | -1/+46 | |
2022-07-30 | pkglint: cleanup: group classes from small to big | rillig | 1 | -77/+77 | |
No functional change. | |||||
2022-07-30 | lintpkgsrc: update homepage URL | rillig | 1 | -2/+2 | |
2022-07-30 | lintpkgsrc: use plain text cache format | rillig | 2 | -56/+46 | |
Previously, the cache format was Perl code. Now it is a list of lines, each line containing tab-separated data. The new format reduces the storage needs by around 50%. It also ensures that only well-formed data is written to the cache. The previous format contained lots of IO requests, which made loading the cache incredibly slow. Bump version. | |||||
2022-07-30 | lintpkgsrc: fix warning about string comparison with undefined | rillig | 1 | -2/+2 | |
Since today. | |||||
2022-07-30 | lintpkgsrc: add automatic tests | rillig | 3 | -11/+30 | |
Not sure whether this form of running tests is the idiomatic one, as lintpkgsrc is not a Perl module but a Perl program, but it works. The number of planned tests (5 for now) seems to be ignored, no idea why. | |||||
2022-07-30 | lintpkgsrc: merge duplicate code | rillig | 1 | -15/+2 | |
2022-07-30 | lintpkgsrc: cleanup: replace regular expressions with string comparison | rillig | 1 | -10/+6 | |
2022-07-30 | lintpkgsrc: fix up previous commit for cleaning up version numbers | rillig | 1 | -17/+4 | |
2022-07-30 | lintpkgsrc: clean up comparison of version numbers | rillig | 1 | -10/+6 | |
No functional change. | |||||
2022-07-30 | pkg_install: use tabs for indentation, not spaces | rillig | 1 | -23/+23 | |
2022-07-30 | pkg_install: clean up leading, intermediate and trailing whitespace | rillig | 1 | -10/+9 | |
2022-07-30 | pkg_install: remove trailing whitespace | rillig | 1 | -1/+1 | |
2022-07-30 | pkg_install: modern computers can handle words longer than 6 letters | rillig | 1 | -1/+1 | |
2022-07-30 | lintpkgsrc: fix error message for accessing category directory | rillig | 1 | -2/+2 | |
2022-07-30 | lintpkgsrc: cleanup: rename 'dewey' to 'pkgversion' | rillig | 1 | -12/+12 | |
The Dewey Decimal Classification is a classification for books in libraries, based on decimal numbers. It has nothing to do with version numbers. No functional change. | |||||
2022-07-30 | lintpkgsrc: cleanup: sort subs from small to big | rillig | 1 | -720/+716 | |
This way, perl properly checks the sub prototypes. No functional change. | |||||
2022-07-30 | lintpkgsrc: cleanup: move main code to the bottom | rillig | 1 | -325/+324 | |
Moving the code revealed some more mismatches in the prototypes of the subs. In order to detect them properly, the sub must be declared before it is called. No functional change. | |||||
2022-07-30 | lintpkgsrc: cleanup: remove redundant curly braces around variable names | rillig | 1 | -7/+7 | |
2022-07-30 | lintpkgsrc: condense 'else' and 'elsif' | rillig | 1 | -116/+58 | |
2022-07-30 | lintpkgsrc: format code | rillig | 1 | -1654/+1586 | |
No functional change. | |||||
2022-07-29 | lintpkgsrc: enable Perl warnings | rillig | 1 | -5/+11 | |
No functional change. | |||||
2022-07-28 | pkgtools/pkglint: update to 22.2.4 | rillig | 7 | -29/+162 | |
Changes since 22.2.3: Manual pages must not be listed in the ALTERNATIVES file. Instead, they are handled automatically based on the program in bin/ or sbin/. Detect packages that use the tool pkg-config even though they don't need it. | |||||
2022-07-26 | url2pkg: clean up package Makefile | rillig | 1 | -2/+3 | |
Start each shell command in a new line. This makes it easier to find the 'for' that corresponds to the 'done', especially since the 'done' could also be started by a 'while' or an 'until'. No functional change. | |||||
2022-07-24 | osabi: Revert previous pending discussion. | nia | 1 | -7/+1 | |
2022-07-24 | pkgtools/pkglint: update to 22.2.3 | rillig | 13 | -868/+1073 | |
Changes since 22.2.2: CHECK_WRKREF is known to pkglint, which prevents conditions using this variable from being simplified in a wrong way. For variables that are guaranteed to be defined, suggest to simplify the condition '!empty(VAR:M[Yy][Ee][Ss])' to '${VAR:M[Yy][Ee][Ss]}', as that reduces the number of negations in the condition. Detect redundant WRKSRC definitions and suggest to remove them. Fix wrong "c99 is not valid for USE_LANGUAGES" warnings. | |||||
2022-07-24 | osabi: Teach it to check the version of the userspace rather than | nia | 1 | -1/+7 | |
the kernel on NetBSD. from Hauke Fath. | |||||
2022-07-16 | url2pkg: disable resuming transfers when fetching distfiles | rillig | 1 | -2/+7 | |
Resuming the transfer only works if there already is a distinfo file, as otherwise the correct size of the file is not known. This prevents these warnings from mk/fetch/fetch: > fetch: ``-r'' requires ``-f distinfo''. > fetch: Falling back to non-resume fetch. | |||||
2022-07-16 | url2pkg: split support files for Python distutils and setuptools | rillig | 16 | -76/+185 | |
When url2pkg determines the metadata of a Python module, it had merged the two implementations for Python's distutils and setuptools, which made the code hard to understand. Split them again. Extend the support for setuptools, so that url2pkg correctly handles wip/pytorch; it still fails because pytorch does some Git stuff from inside setup.py, but that may be fixed later. Bump version to 22.2.0. | |||||
2022-07-15 | pkg_install: add Beer-Ware as default acceptable | gutteridge | 1 | -1/+2 | |
2022-07-13 | Revbump all Go packages after go118 update | bsiegert | 1 | -1/+2 | |
2022-07-09 | pkgtools/pkglint: update to 22.2.2 | rillig | 6 | -28/+34 | |
Changes since 22.2.1: Require the current checksum algorithms for pkgsrc-wip packages as well. SHA1 and RMD160 are no longer allowed for distfiles. Do not warn about 'Package should not' when checking .mk files in the pkgsrc infrastructure. | |||||
2022-07-08 | pkgtools/createbuildlink: fix location of BUILDLINK_DEPMETHOD | rillig | 2 | -14/+15 | |
Reported by Mayuresh in https://mail-index.netbsd.org/pkgsrc-users/2022/07/08/msg035799.html. Bump version. | |||||
2022-07-07 | *: Update my MAINTAINER email address. | jperkin | 1 | -2/+2 | |