On 5/16/26 12:23 PM, Alexandre Detiste wrote:
Package: openstack-pkg-tools
Version: 143
Severity: wishlist
Hi,
This is severity wishlist, just close it if you don't like it.
It seems that your pkgos_postrm and mine dh_cruft are
doing mostly much of the same thing: generating .postrm snippets
with extra team-specific heuristics.
dh-cruft is use for all the games of the Games Team who need it.
pkgos_postrm the same for OpenStack.
I'm not asking you to make all your packages rely on some other guy debhelper
script.
What I'm asking is wether you would consider generating the
/usr/share/cruft/rules/<package> files that register the dynamic files
unknown to dpkg ? These are needed by the cruft-ng analysis tool.
This is what the original proposal call "extrafiles":
https://lists.debian.org/debian-policy/1998/04/msg00089.html
I'm finally aiming for a version 1.00 of cruft-ng analysis software.
Fixing all the packages of OpenStack at once with little effort would be
awesome.
So each /usr/share/cruft/rules/${PKPRM_TEMPLATE_PREFIX} would contains:
/var/lib/${PKPRM_TEMPLATE_PREFIX}/
/var/log/${PKPRM_TEMPLATE_PREFIX}/
/var/lock is on a tmpfs an as such out of scope.
Greetings
Alexandre
Hi Alexander,
Thanks for your bug report, however, I'm not sure what action you're
calling for. Are you asking that I get rid of pkgos_postrm and use
"yours" as a replacement?
Cheers,
Thomas Goirand (zigo)