[Piuparts-devel] Bug#632041: Bug#632041: piuparts: Provide state of running master

Holger Levsen holger at layer-acht.org
Sun Jul 10 13:55:25 UTC 2011


On Mittwoch, 29. Juni 2011, Scott Schaefer wrote:
> Primarily as debugging aid, but hopefully also useful in production
> environment, the attached patch causes piuparts-master to produce a
> "dump" of package states upon receipt of SIGUSR1 (tempfile name
> written to configured 'master-directory').

master is only running for short times so I don't consider this patch - as it 
is - very useful. It should also and most importantly dump state on failure, 
or on command-line request - could you please add that? ;-)

Also def __init__(... dir=".") seems to be useless / pampering over an error 
which should be caught elsewhere, so better just use dir as it is.


More information about the Piuparts-devel mailing list