I will improve the protocol cruft-ng uses to parse the output of its
explain/ add-on script.

So now we have:
* some [a-zA-Z0-9...]: a package name to attribute files too. That
overrides explain/[name]
* /var ... : the individual volatile files

There would be a third category:
* @ /usr/lib/systemd/system/something.service : the core C code of cruft-ng
will evaluate the owner of this file and subsequent listed files will be
attributed to this package

This way all the explain/ scripts can use this new facility with
remplacementing "dpkg -S" lookup all over the place (I'm thinking of
SERVICES and TMPFILES, maybe LOGROTATE).


Greetings
Alexandre

Le dim. 3 mai 2026, 22:56, Alexandre Detiste <[email protected]>
a écrit :

> Le dim. 3 mai 2026 à 13:16, Simon McVittie <[email protected]> a écrit :
> > Could cruft-ng perhaps look at the package that owns the file
> > (dpkg -S equivalent) rather than its filename?
>
> It can but that makes it slower. It will call "dpkg -S" repeatedly.
>
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to