Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-05-14 | check-portability: drop -ggdb (gets stripped by default regardless) | tnn | 1 | -2/+1 | |
2021-03-03 | check-portability: Skip more irrelevant file extensions | nia | 2 | -3/+10 | |
2020-05-23 | pkgtools/check-portability: update to 20.1.1 | rillig | 3 | -8/+8 | |
Changes since 20.1.0: Fixed off-by-one error in diagnostic for test ==. | |||||
2020-05-23 | pkgtools/check-portability: clean up code | rillig | 1 | -42/+19 | |
2020-04-19 | pkgtools/check-portability: make test == an error | rillig | 1 | -1/+3 | |
It had only been a warning before, due to a forgotten nerrors++. The check in mk/check/check-portability.awk already treats this case as an error. | |||||
2020-04-19 | pkgtools/check-portability: update to 20.1.0 | rillig | 3 | -8/+11 | |
Changes since 19.4.3: The variable name RANDOM_FILE is ok since it doesn't have a special meaning to some shell implementations. Seen in www/curl. | |||||
2020-03-21 | pkgtools/check-portability: automatic test, refactoring | rillig | 4 | -8/+67 | |
2020-03-14 | pkgtools/check-portability: fix function names | rillig | 1 | -5/+5 | |
2020-03-14 | pkgtools/check-portability: update to 19.4.3 | rillig | 3 | -5/+7 | |
Changes since 19.4.2: Fixed a crash when a file started with an empty line. | |||||
2020-03-13 | pkgtools/check-portability: elimitate common subexpression | rillig | 1 | -2/+2 | |
2020-03-13 | pkgtools/check-portability: update to 19.4.2 | rillig | 2 | -4/+13 | |
Changes since 19.4.1: Fixed an assertion error when reading binary file, reported by tnn via private mail. | |||||
2020-03-13 | pkgtools/check-portability: reduce dependencies | rillig | 1 | -5/+5 | |
Since this is a very basic program, it should not depend on anything more complicated, to avoid creating cyclic dependencies. | |||||
2020-03-12 | pkgtools/check-portability: explain how to fix the errors | rillig | 1 | -7/+22 | |
2020-03-12 | pkgtools/check-portability: make explanation for [[ more precise | rillig | 1 | -4/+4 | |
2020-03-12 | pkgtools/check-portability: minor stylistic corrections | rillig | 1 | -6/+5 | |
2020-03-12 | pkgtools/check-portability: update to 19.4.1 | rillig | 8 | -169/+221 | |
Changes since 19.4.0: * Makefile.am and Makefile.in are checked even though they don't start with a #! line. * Only shell programs with an interpreter that is clearly a POSIX shell are checked. Before, there was a blacklist of interpreters to be skipped. * Lots of refactorings and code cleanups. * Some additional test files. | |||||
2020-03-12 | pkgtools/check-portability: fix build for partly-privileged mode | rillig | 1 | -6/+5 | |
2020-03-11 | pkgtools/check-portability: fix exclusion for test files | rillig | 1 | -2/+2 | |
2020-03-11 | pkgtools/check-portability: add checks from check-portability.awk | rillig | 3 | -3/+168 | |
This makes those checks redundant as soon as check-portability is installed. This is only a temporary solution until the test phase is over. | |||||
2020-03-11 | pkgtools/check-portability: improve local function names | rillig | 1 | -9/+16 | |
2020-03-11 | pkgtools/check-portability: check extracted files for portability issues | rillig | 6 | -0/+440 | |
Checks whether the given files use features of programming languages that are not portable to a wide range of platforms. See mk/check/check-portability.mk. https://mail-index.netbsd.org/tech-pkg/2020/03/10/msg022787.html This new check is not active by default, and the package is not forced to be installed. This will be done after getting some experience in practical cases. The code has been tested by extracting about 1.7 GB of pkgsrc distfiles and scanning for lines containing both "[[" and "]]". |