Manfred Lotz submitted an update to the

                pkgcheck

package.

Version number: 4.0.0 2026-05-23
License type: apache2 mit

Summary description: CTAN package checker

Announcement text:
----------------------------------------------------------------------


## pkgcheck 2026-05-23 (4.0.0)

As mentioned below some work was done in collaboration with Claude Sonnet 
(Anthropic)

### Added

- (suggested by Erik) new option --ignore tmpfiles, i.e. no warnings for 
detecting temporary files
  See also below
- rewritten file type detection
  - this was done together with Claude Sonnet (Anthropic)
  - now checking certain file types for proper content (new message E0032)

  ```
  E0032 -- Extension expects some file type but got another type

  The error shows up when the file has a known extension (e.g., .pdf) and
  the detected type doesn't match. The extension is what drove the
  expectation.

  Example:

      extension .pdf expects PDF, got Text (LF)
  ```




- previously we had the ignore options like this

  ```
    -I, --ignore-dupes                     Ignore dupes
        --ignore-same-named                Ignore same-named files
  ```

  now we have

  ```
  -I, --ignore <IGNORE>...           Comma-separated list of things to ignore: 
dupes, same-named, tmpfiles dupes:
      ignore duplicate files
      same-named: ignore same-named files
      tmpfiles: ignore temporary files
      [possible values: dupes, same-named, tmpfiles]
  ```

- detection of executable files (which implies 775 permissions)
    - we no longer check if a file is Lua bytecode, as Lua bytecode cannot 
directly be executed
- issue W0008 regarding Unix line endings now issued only for Windows command 
files (`.bat` and `.cmd`)
  PowerShell files are now ignored, they may have CRLF or LF.
- search for generated files improved (now using nom parser)
  - this was done together with Claude Sonnet (Anthropic)
- switch from Makefile to justfile
- crate updates



- correct a bug where an LF line ending was added in case
  the last line of a text file didn't have any line ending
- allow 555/444 perm for directories resp. files


----------------------------------------------------------------------

This package is located at
   https://mirrors.ctan.org/support/pkgcheck

More information is at
   https://www.ctan.org/pkg/pkgcheck

------------------------------------------------------------------------

   Thanks for the upload.

     For the CTAN Team
    Erik Braun

------------------------------------------------------------------------

CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs
_______________________________________________
ctan-ann mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to