[Piuparts-devel] Bug#657735: reference examples for 'problematic' maintscript tasks
Andreas Beckmann
debian at abeckmann.de
Sat Jan 28 13:11:11 UTC 2012
Package: piuparts
User: debian-qa at lists.debian.org
Usertags: piuparts.d.o
There should be some examples for the following tasks that need to be
done often in maintainer scripts and are often done wrongly, especially
during purge (judging from the number of piuparts failures):
- adding/removing users
- using ucf
- using dbconfig-common
It should not be the job of piuparts to provide this
information+examples, but be some general packaging
instructions/wiki/... that we can link to.
Perhaps there is already such information, but I didn't find it (and
it's probably scattered around at many locations).
* For ucf there is /usr/share/doc/ucf/examples/
(for the other cases I didn't look)
I could even imagine having packages in the archive (sid should be
sufficient) to document this with really working examples:
example-packaging-user
example-packaging-ucf{,-static,-debconf}
example-packaging-dbconfig
example-pacakging-cleanup-{var-log,var-log-foo,var-lib-foo}
(or packaging-example-* ?)
Andreas
More information about the Piuparts-devel
mailing list