Kranz Korner

Random bits from a FLOSS geek

A more Ubuntu-friendly piuparts

leave a comment »

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🙂

How can I use it with my Ubuntu/Debian activities?
Have a look at Lars Wirzenius’s session taken during latest Ubuntu Developer Week.

Cool! I want to contribute to it!
http://wiki.debian.org/piuparts🙂

Written by Luca Falavigna

17/03/2009 at 00:53

Posted in Planet Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: