Your message dated Thu, 25 Aug 2011 18:35:05 +0000
with message-id <[email protected]>
and subject line Bug#588482: fixed in piuparts 0.41
has caused the Debian Bug report #588482,
regarding add piuparts --no-install-purge-test option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
588482: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588482
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: piuparts
Version: 0.38
Severity: wishlist
Tags: patch

Hi,

the attached patch adds a command line option to disable the install and
purge test. This may be helpful if the package has passed the test
already and you want to test multiple upgrade scenarios. I currently use
the name --no-install-purge-test, but if you think something else fits
better, feel free to rename it.

Patch is vs. SVN r690.

Andreas

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (130, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages piuparts depends on:
ii  apt                        0.7.25.3      Advanced front-end for dpkg
ii  debootstrap                1.0.23        Bootstrap a basic Debian system
ii  lsb-release                3.2-23.1      Linux Standard Base version report
ii  lsof                       4.81.dfsg.1-1 List open files
ii  python                     2.6.5-5       An interactive high-level object-o
ii  python-debian              0.1.16        Python modules to work with Debian

piuparts recommends no packages.

Versions of packages piuparts suggests:
ii  ghostscript                 8.71~dfsg2-3 The GPL Ghostscript PostScript/PDF
pn  python-rpy                  <none>       (no description available)

-- no debconf information
Index: piuparts.py
===================================================================
--- piuparts.py	(revision 700)
+++ piuparts.py	(working copy)
@@ -149,6 +149,7 @@
         self.keep_sources_list = False
         self.skip_minimize = True
         self.list_installed_files = False
+        self.no_install_purge_test = False
         self.no_upgrade_test = False
         self.skip_cronfiles_test = False
         self.skip_logrotatefiles_test = False
@@ -1933,6 +1934,10 @@
                       default=False,
                       help="Don't check for broken symlinks.")
 
+    parser.add_option("--no-install-purge-test", 
+                      action="store_true", default=False,
+                      help="Skip the basic install and purge test.")
+
     parser.add_option("--no-upgrade-test", 
                       action="store_true", default=False,
                       help="Skip testing the upgrade from an existing version " +
@@ -2026,6 +2031,7 @@
     settings.skip_minimize = opts.skip_minimize
     settings.minimize = opts.minimize
     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
     settings.skip_cronfiles_test = opts.skip_cronfiles_test
     settings.skip_logrotatefiles_test = opts.skip_logrotatefiles_test
@@ -2137,11 +2143,12 @@
         root_info = chroot.save_meta_data()
         selections = chroot.get_selections()
 
-        if not install_purge_test(chroot, root_info, selections,
-                  package_list, packages):
-            logging.error("FAIL: Installation and purging test.")
-            panic()
-        logging.info("PASS: Installation and purging test.")
+        if not settings.no_install_purge_test:
+            if not install_purge_test(chroot, root_info, selections,
+                      package_list, packages):
+                logging.error("FAIL: Installation and purging test.")
+                panic()
+            logging.info("PASS: Installation and purging test.")
 
         if not settings.no_upgrade_test:
             if not settings.args_are_package_files:

--- End Message ---
--- Begin Message ---
Source: piuparts
Source-Version: 0.41

We believe that the bug you reported is fixed in the latest version of
piuparts, which is due to be installed in the Debian FTP archive:

piuparts_0.41.dsc
  to main/p/piuparts/piuparts_0.41.dsc
piuparts_0.41.tar.gz
  to main/p/piuparts/piuparts_0.41.tar.gz
piuparts_0.41_all.deb
  to main/p/piuparts/piuparts_0.41_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <[email protected]> (supplier of updated piuparts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 24 Aug 2011 13:47:07 +0200
Source: piuparts
Binary: piuparts
Architecture: source all
Version: 0.41
Distribution: unstable
Urgency: low
Maintainer: piuparts developers team <[email protected]>
Changed-By: Holger Levsen <[email protected]>
Description: 
 piuparts   - .deb package installation, upgrading, and removal testing tool
Closes: 526045 588482 632046 632924 633033
Changes: 
 piuparts (0.41) unstable; urgency=low
 .
   * piupartslib/packagesdb.py: Apply patch by Scott Schaefer to also consider
     alternative depends: the algorithm used to select the "best" alternative
     is:
      1) Prefer first alternative in state "essential-required"
      2) If no "essential-required" alternatives, prefer first alternative
         in state "successfully-tested"
      3) Otherwise, prefer first alternative in state
         "waiting-to-be-tested" IF NO REMAINING alternatives are in one of the
         "unknown/fail" states
     For this two new states have been introduced:
      a) "unknown-preferred-alternative": equivalent of "unknown", this defers
         calculation of this package's state, since one or more of its
         alternative depends are "unknown" (or
         "unknown-preferred-alternative"), and no alternative is either
         "essential-required" or "successfully-tested".  The alternatives will
         be re-tested on subsequest pass.
      b) "no-dependency-from-alternatives-exists": if none of the alternatives
         can be found in the archive.
     (Closes: #526045)
   * piuparts-report.py:
     - correct a typo from the patch for #523950.
     - make_stats_graph: draw the two new states as well.
     - point to source code in git instead of svn.
   * piuparts.py:
     - use proxy settings either from apt configuration or http_proxy
       environment variable, the latter overwriting the former (if present)
       - Thanks to Scott Schaefer for the patch. (Closes: #632046)
     - new option "--no-install-purge-test" to only do upgrade tests
       - Thanks to Andreas Bergmann for the patch (Closes: #588482)
     - run dpkg with --force-unsafe-io by default and introduce new option
       "--dpkg-noforce-unsafe-io" to disable this feature. (Closes: #633033)
       Thanks to Scott once more!
     - new option: "--fail-on-broken-symlinks". Remove option "--warn-symlinks"
       as this is the default now.
   * piuparts-slave:
     - check if chroot-tgz is older than max-tgz-age (defaulting to 30 days)
       and recreate it, if it is. Keep backup and put in back in place when
       debootstrapping a new chroot-tgz fails. Retry after min-tgz-retry-delay
       seconds. Thanks to Scott Schaefer for the patch. (Closes: #632924)
     - document new configuration options max-tgz-age and min-tgz-retry-delay
       in README.txt.
     - fix bug in piuparts-slave which prevented running a single section by
       including section name as command-line argument - thanks again to Scott
       and see 632924 too.
   * debian/control:
     - require python >= 2.6.6-3~, get rid of python-support build-depends.
     - add X-Python-Version: pseudo-header
   * debian/rules: use dh_python2 instead of python-support to build the
     package
   * Makefile: build for python 2.6 and 2.7 instead of 2.5 and 2.6.
   * Source code is now stored in git.
     http://anonscm.debian.org/gitweb/?p=piuparts/piuparts.git
     git clone git+ssh://git.debian.org/git/piuparts/piuparts.git
     Thanks to Thomas Koch for setting those up and keeping history!
   * The configuration and scripts used on piatti.debian.org have also been
     moved to git, the URLs are the same, just s#piuparts#piatti#.
   * Add entry about git to NEWS.
   * Update Vcs-*-Headers in control to reflect move to git.
Checksums-Sha1: 
 c38f260e935a9d9e3d36ad55784206cf678b9462 986 piuparts_0.41.dsc
 71a3625ddf0abbb9aebe499aaf793e390b72d5b9 80650 piuparts_0.41.tar.gz
 9c75d7fd97984f652be01c47cb6a1ecc0405c782 93202 piuparts_0.41_all.deb
Checksums-Sha256: 
 c13746d26aa8f4a9a05ee6aa311bd7d3bc1c1b95b5ea3810576f68e4df90168b 986 
piuparts_0.41.dsc
 b086263f2ab231f3d8328a20563c0370a446b6e0882cdaed8abe559a9d304ad4 80650 
piuparts_0.41.tar.gz
 9e38774b9dbebe18f1911cc30bcf7fdb89933b214f51fc6916cfc56cc48146e9 93202 
piuparts_0.41_all.deb
Files: 
 a67496db2269b5cdf8ad2ad9ffc7efe0 986 devel extra piuparts_0.41.dsc
 eb13891471ea690f95230319849e8c93 80650 devel extra piuparts_0.41.tar.gz
 f753579e3100cfd853bae1df15db87ad 93202 devel extra piuparts_0.41_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFOVpE2UHLQNqxYNSARAg9uAKC3Z/keSG2Zh4q4ur4nOYQeM3RifQCggmjL
x592S2raqhL1kayhhku3a0k=
=zxk+
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to