[Piuparts-devel] Bug#588313: piuparts: needs to detect changes in diversions

Scott Schaefer saschaefer at neurodiverse.org
Sat May 28 03:12:54 UTC 2011

Attached is patch that implements what you are doing with scripts 

It defines a new option --no-diversions, which defaults to False; i.e. 
DO check for differences between dpkg-divert --list executions after 
chroot setup and after package purge.  Any differences are logged with 
one/both of:

Error: Installed diversions (dpkg-divert) not removed by purge:
     line(s) from post setup ...

Error: Existing diversions (dpkg-divert) removed/modified:
     line(s) from post purge ...

Same warnings re other patch I submitted apply ... my (lack of) Python 
skills and relative ignorance re piuparts codebase, plus limited 
regression testing make this subject to extra review.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpkg_divert.patch
Type: text/x-patch
Size: 4548 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20110527/37cde647/attachment.bin>

More information about the Piuparts-devel mailing list