[Piuparts-devel] more scripts-* directories

Holger Levsen holger at layer-acht.org
Sun Jun 17 13:47:41 UTC 2012

Hi Andreas,

On Freitag, 15. Juni 2012, Andreas Beckmann wrote:
> scripts-squeeze/
>   * for tests that end in squeeze (squeeze, lenny2squeeze,
>     squeeze-{updates,security,pu,bpo})
>   * e.g. make ucf and adduser fake-essential packages (so they are
>     available during purge - we won't get the packages fixed in stable)

sounds good, also with that name (meaning squeeze and not stable).
> scripts-leftovers/
>   * 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).

sounds good.

> 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.)

custom scripts per section?

> Andreas
> 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 mailing list