A more Ubuntu-friendly piuparts
I’ve just uploaded piuparts 0.35ubuntu1, this version fixes some of the issues which prevented its use out of the box.
What is piuparts?
Quoting from pacakge description:
piuparts tests that .deb packages handle installation, upgrading, and removal correctly. It does this by creating a minimal Debian installation in a chroot, and installing, upgrading, and removing packages in that environment, and comparing the state of the directory tree before and after. piuparts reports any files that have been added, removed, or modified during this process. . piuparts is meant as a quality assurance tool for people who create .deb packages to test them before they upload them to the package archive.
Issues and workarounds
I noticed several packages were purged incorrectly by debfoster, this caused tons of false positives and compromised the usage of this powerful tool. I adjusted one of debfoster options, MaxPriority, to remove packages whose priority is lower than important. Original setting was to exclude required packages only, but debfoster seems buggy and tries to remove needed packages (coreutils, sysv-rc and others). I’ll have a deeper look at it.
OTOH, Bug #317721 is still open, help is appreciated🙂
Cool! I want to contribute to it!