[Piuparts-devel] Bug#706109: display how modified files have changed

Ivo De Decker ivo.dedecker at ugent.be
Sun Jan 19 15:05:35 UTC 2014


Hi Holger,

On Wed, Apr 24, 2013 at 09:20:59PM +0200, Holger Levsen wrote:
> <pere> h01ger: about #678931, perhaps piuparts should use etckeeper and report 
> the file content changes as well, to have some idea what is going on... :)

This can be done by adding the scripts in attach as custom scripts to the
scriptsdir. In that case piuparts needs to run with '-I /etc/.git', to ignore
the data in the git repo.

Also, with these scripts, piuparts won't detect issues caused by missing
dependencies on packages depended on by etckeeper.

Cheers,

Ivo

-------------- next part --------------
#!/bin/sh
apt-get -y install etckeeper

etckeeper vcs tag post_setup
-------------- next part --------------
#!/bin/sh

etckeeper commit post_purge || true
etckeeper vcs diff pre_test
-------------- next part --------------
#!/bin/sh

etckeeper commit post_install || true
etckeeper vcs tag pre_test


More information about the Piuparts-devel mailing list