[Piuparts-devel] more scripts-* directories
debian at abeckmann.de
Thu Jun 14 22:45:14 UTC 2012
I recently added a few scripts-debug-*/ directories to simplify
rerunning a failed test while collecting more information (e.g. by
setting set -x in some script).
Furthermore I want to introduce two more scripts-* directories that
should be added to the piuparts-cmd of a few sections:
* for tests that end in squeeze (squeeze, lenny2squeeze,
* e.g. make ucf and adduser fake-essential packages (so they are
available during purge - we won't get the packages fixed in stable)
* for tests that are run without --warn-on-leftovers-after-purge (sid)
* e.g. making dbconfig-common fake-essential
* e.g. preseed some debconf variables to enable extra purge code that
removes potentially valuable user data, e.g. databases, and
therefore defaults to being disabled. I don't want to enable this
globally (in scripts/) so that both code paths in the maintainer
script get stressed (sid with purge code, wheezy without).
It would be difficult for the scripts to figure out in which section
they are being run in order to act accordingly. (Exporting
PIUPARTS_SECTION or something like this in the environment and having a
hardcoded list in the custom script ist not an option.)
PS: are there any objections against doing
git mv org/piuparts.debian.org/* .
at some point?
PPS: wouldn't known-problems/*.conf better be placed in
/etc/piuparts/known-problems/, too? But that should be moved around at
the same time we add a number prefix for ordering and remove the
hardcoded list from piuparts-report.
More information about the Piuparts-devel