Package: piuparts Version: 0.41 Severity: normal Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
The --minimize option has no effect. >From my understanding of the code, skip_minimize is always True, and therefore the minimize() function always returns. One possibility to re-enable --minimize could be to set skip_minimize to False when --minimize is set; patch attached that works for me. (Other options might be to think about the default values.) Cheers, gregor - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable') Architecture: i386 (i686) Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages piuparts depends on: ii apt 0.8.15.9 ii debootstrap 1.0.37 ii lsb-release 3.2-28 ii lsof 4.81.dfsg.1-1 ii python 2.7.2-9 ii python-debian 0.1.21 ii python2.6 2.6.7-4 ii python2.7 2.7.2-6 piuparts recommends no packages. Versions of packages piuparts suggests: pn ghostscript 9.04~dfsg-2 pn python-rpy <none> - -- no debconf information - -- debsums errors found: debsums: changed file /usr/sbin/piuparts (from piuparts package) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOvSX9AAoJELs6aAGGSaoGLwQQALdHMkcpSSsz/eEWscOn9nRc s7u1oGHIzc6boIWS0LAiLOB/gBPeqT5dWwW4FtOMTrxajJUAC8cHvk7umJz5eNYz F/KdR2BQ4B/486MxOdTCslzS8I3rZDRLIPRVpdSor/6YZK//tLuJKnpiZZ4pDdZS YqPJZDWY1bhmLBuTPrHZV95Z/psqF+UEaPMMce9dIUAH7eSENW22P2OGrofqaYZo AooXUuym03pidcKUVmxfx5THH96j4ErwZoHCo16fsZv/h1DNCs3lnvDADpYLwMvA gXPAF/D9P+IJP6SQH/Wm64/pw/PbeXAKnq9Yq91xTJ76CTcu+Xb2XC1rmXDa41GR gBibANmCyA8pqAAOl5B+o4iIMebq7CxqRGhaMc2yY/No4j3l5gLq1AoABNFy7PbM RkWkQwk4D3GDXNmNlwWnoWg8FYb9WkweB1Q6OSZsxal40WG4Mq8A2Mlh2NXWPbmE r6a453IftXwSjYgiX5a8E5z6d4i1uYb3M6wzHtMNeSWgBviS9ak2sEx/FOnSsBPx 3QbfVrovrY7gs3JD1Jh4+6Jme1cranDJk5l6cUA8FQBRC0yzgZAXU9m2h4AcSNZ+ crYqIv98L6JMNkzBUUG1UoS3olOLlvMP4t9ZlfHmbSdALMMKBfYoGDRb6A+pB31e Sv0+R+lASWsrWkIJ0/aK =xkTQ -----END PGP SIGNATURE-----
>From 399f45fa10ff2454f8d7de36a9a7b88dc1d50feb Mon Sep 17 00:00:00 2001 From: gregor herrmann <[email protected]> Date: Fri, 11 Nov 2011 14:37:08 +0100 Subject: [PATCH] Turn off skip_minimize if minimize is set. --- piuparts.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/piuparts.py b/piuparts.py index 3c11676..d4f5046 100644 --- a/piuparts.py +++ b/piuparts.py @@ -2131,6 +2131,8 @@ def parse_command_line(): settings.keep_sources_list = opts.keep_sources_list settings.skip_minimize = opts.skip_minimize settings.minimize = opts.minimize + if settings.minimize: + settings.skip_minimize = False settings.list_installed_files = opts.list_installed_files settings.no_install_purge_test = opts.no_install_purge_test settings.no_upgrade_test = opts.no_upgrade_test -- 1.7.7.2

