[Piuparts-devel] Bug#682741: piuparts: needs a second set of ignoreed files and patterns for "partial purge" tests

Andreas Beckmann debian at abeckmann.de
Wed Jul 25 08:59:10 UTC 2012


Package: piuparts
Version: 0.45
Severity: normal

Hi,

for the --install-purge-install option I introduced, we need a new set
of ignored_files and ignored_patterns. Until now only a full purge was
performed (all packages that were not in the base system are removed).
But with the --install-purge-install option, only the tested package
itself will be purged, the dependencies will be kept in place. This
leads to various modified and added files (logfiles, indices, databases,
compiled modules in various languages, config files, ...
that will be taken care of by purging the dependency, but when only
purging the tested packages, they produce noise.
Adding them to the existing ignored_files/ignored_patterns is not a good
idea, as we don't want have them ignored for the "full purge".

There is no need for adding extra command line options to amend these
new hardcoded lists, for dynamic addition it does not really matter
whether the "full purge" or "partial purge" ignores are used.
The -i- (or however it was called) option to clear the ignore lists
needs to clear the partial purge list, too.

Eventually there should be a --list-ignored option that lists the
actually ignored files for easier debugging:
  IGNORED: /var/log/foo.log

Andreas



More information about the Piuparts-devel mailing list