Differences between revisions 46 and 47
Revision 46 as of 2009-03-14 18:40:56
Size: 4282
Editor: HolgerLevsen
Comment: some more updates, some more links
Revision 47 as of 2009-03-14 18:50:53
Size: 4296
Editor: HolgerLevsen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
  * source code: svn.debian.org/piuparts[http://svn.debian.org/viewsvn/piuparts/]
  * mailing list: piuparts-devel@l.a.d.o[http://lists.alioth.debian.org/mailman/listinfo/piuparts-devel]
  * commit diff list: piuparts-commits@l.a.d.o[http://lists.alioth.debian.org/mailman/listinfo/piuparts-commits]
  * source code: [http://svn.debian.org/viewsvn/piuparts/ svn.debian.org/piuparts]
  * mailing list: [http://lists.alioth.debian.org/mailman/listinfo/piuparts-devel piuparts-devel@l.a.d.o]
  * commit diff list: [http://lists.alioth.debian.org/mailman/listinfo/piuparts-commits piuparts-commits@l.a.d.o]
Line 92: Line 92:
}}}
/!\ Problem: PTS is source package centered, piuparts binary package.
Line 93: Line 95:
/!\ Problem: PTS is source package centered, piuparts binary package. {{{

?TableOfContents(2)

General info

Description: .deb package installation, upgrading, and removal testing tool
 piuparts tests that .deb packages (as used by Debian) 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 Debian package archive.

piuparts runs on piuparts.cs.helsinki.fi aka piatti.debian.org and just like lintian should be run on every developer machine before uploading :)

piuparts logs are available at [http://piuparts.debian.org http://piuparts.debian.org]

#debian-qa is the irc-channel to coordinate work on irc, piuparts-devel is the project name on alioth.

Machine info

How to run piuparts on piatti

the piuparts stuff is partly in the piupartsm account (master end), and partly in the piuartss account (the slave, which actually runs piuparts)

run piuparts-slave.py as piupartss and watch it run via screen. the slave starts the master when it needs it, you don't need to start it manually

for more information see http://svn.debian.org/viewsvn/piuparts/piatti/README.txt

If you want to help, please join #debian-qa and say so there.

Troubleshouting / maintainance

Sometimes the chroot tarballs in /home/piupartss/ need to be removed, currently there are sid.tar.gz and lenny.tar.gz

/!\ we should just recreate them every week...

Developing piuparts

Todo

see http://svn.debian.org/viewsvn/piuparts/piatti/README.txt

see http://svn.debian.org/viewsvn/piuparts/trunk/TODO

Piuparts and PTS integration suggestion

In order for the PTS to be able to display piuparts testing status for a package, and link to its log file, Piuparts could generate a set of static files that will be visible via http:

%s = source package name
%v = source package version
%p = piuparts version

/source/%s -> index page
/source/%s/%v -> a particular log
/source/%s/latest -> log for latest version
/source/%s/piuparts-%p/%v -> a particular log from a version of piuparts

similar for /binary-$ARCH/

/%s -> /source/%s

For PTS integration: one file with results for all source packages:
/results-per-source.txt
    %s pass $MATCHINGLOG
    %s fail $MATCHINGLOG

/!\ Problem: PTS is source package centered, piuparts binary package.

For Ubuntu development weather report (similar to PTS): a file with the following:
    Pass: %d
    Fail: %d

(See https://blueprints.launchpad.net/ubuntu/+spec/developer-weather-report for the Ubuntu developer weather report.)

Documentation

split this wiki page into subpages, so that the piuparts documentation can be mainained in the wiki, by exporting as docbook. update: use asciidoc

suggested structure:

  • /piuparts - index page, just a table of contents
  • /piuparts/about - what is piuparts
  • /piuparts/devel - information how to participate in piuparts development
  • /piuparts/doc/software - piuparts documentation
  • /piuparts/doc/piatti - documenation about piuparts.cs.helsinki.fi
  • /piuparts/todo - todo list