Package: dh-python Severity: wishlist X-Debbugs-Cc: [email protected]
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.
In case of `dh_python3`, then it is currently not introspectable.
I believe this bug can be fixed by filling out and adding the following
comment anywhere in the `dh_python3` command (the file found PATH -
imports are not
followed): ``` # INTROSPECTABLE: CONFIG-FILES pkgfile(pyinstall) pkgfile(pyremove) ... ```(Please fill in the remaining pkgfiles, I only added the two first I saw from the documentation).
My argument here is that:
1) The helper can never be skipped (so NOOP promise is not valid)
2) The helper reacts to `debian/pkg.pyinstall` and
`debian/pkg.pyremove` (+ other files) if present.
If either of these are false, then please review `doc/PROGRAMMING.md` in
debhelper/13.26 for alternatives or reply back to me for assistance.
Please be sure that the hints covers all configuration files as once the
hint is present, it is assumed to be complete.
Best regards, Niels
OpenPGP_signature.asc
Description: OpenPGP digital signature

