Package: dh-python Version: 6.20250414 Severity: wishlist X-Debbugs-Cc: ni...@thykier.net
Hi,In debhelper/13.26, `dh_assistant list-guessed-dh-config-files` will now report `debhelper` commands that does not declare which config files it supports. As an example:
```shell $ dh_assistant list-guessed-dh-config-files { "commands-not-introspectable": [ "dh_autoreconf", "dh_strip_nondeterminism" ], # ... more JSON here, omitted for brevity } ```This is in turn used by `debputy migrate-from-dh` to warn people when `debhelper` config files might be overlooked.
I believe this bug can be fixed by filling out the following template and adding it in the `dh_python` command (the file found PATH - imports are not followed):
``` # INTROSPECTABLE: CONFIG-FILES pkgfile(bcep) pkgfile(...) ``` My argument here is that: 1) The helper can never be skipped (so NOOP promise is not valid) 2) The helper reacts to `debian/<package>.bcep` and similarIf either of these are false, then please review `doc/PROGRAMMING.md` in debhelper/13.26 for alternatives or reply back to me for assistance.
Note: I did not do a full analysis of which files are supported by `dh_python3`. Remember to tweak my example template above.
Best regards, Niels
OpenPGP_signature.asc
Description: OpenPGP digital signature