Your message dated Tue, 08 Sep 2009 13:02:22 +0000
with message-id <[email protected]>
and subject line Bug#523958: fixed in piuparts 0.36
has caused the Debian Bug report #523958,
regarding piuparts: Piuparts could allow the user to stop it with control-C 
from the shell
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.)


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

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

Piuparts could allow the user to stop it with control-C keys from the
shell. At this time, if interrupted, piuparts throws KeyboardInterrupt
which crashes piuparts.
Here is a simple patch to catch this exception and exits properly.

Regards,
Carl Chenet

- -- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-23-generic (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

iD8DBQFJ47GA8lge+lYYJUgRAlDqAJ9maSTz12rth6KUGZ4JTLRY3X4kGgCgiS1t
SPHWeidQ552ppv/Uq5pny9A=
=FF73
-----END PGP SIGNATURE-----
--- piuparts.py.ori     2009-04-13 23:32:24.000000000 +0200
+++ piuparts.py 2009-04-13 23:33:53.000000000 +0200
@@ -1933,8 +1933,13 @@
 
 
 if __name__ == "__main__":
-    if sys.argv[1:] == ["unittest"]:
-        del sys.argv[1]
-        unittest.main()
-    else:
-        main()
+    try:
+        if sys.argv[1:] == ["unittest"]:
+            del sys.argv[1]
+            unittest.main()
+        else:
+            main()
+    except KeyboardInterrupt:
+        print ''
+        print 'Piuparts interrupted by the user, exiting...'
+        sys.exit(1)

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

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.36.dsc
  to pool/main/p/piuparts/piuparts_0.36.dsc
piuparts_0.36.tar.gz
  to pool/main/p/piuparts/piuparts_0.36.tar.gz
piuparts_0.36_all.deb
  to pool/main/p/piuparts/piuparts_0.36_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: Tue, 08 Sep 2009 14:35:42 +0200
Source: piuparts
Binary: piuparts
Architecture: source all
Version: 0.36
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: 352940 523958 538273
Changes: 
 piuparts (0.36) unstable; urgency=low
 .
   [ Holger Levsen ]
   * The "For me. For you. For everybody." release.
   * Break backwards compatibility of the configuration files for master-slave-
     mode. Merge those three into one: /etc/piuparts/piuparts/piuparts.conf.
     Introduce a new global section in piuparts.conf which is shared among the
     other sections there.
   * piuparts.py:
     - add check whether scriptsdir exits, to fail gracefully if not.
     - copy scriptsdir to chroot also when doing upgrade tests.
     - added to self.ignored_files:
       - /etc/shadow and /etc/shadow- (just as /etc/passwd* and /etc/group*)
       - /var/games (see #524461)
       - /etc/apt/trusted.gpg and /etc/apt/trusted.gpg~ (just as
         /etc/apt/trustdb.gpg and other backup files)
     - added to self.ignored_patterns:
       -  /var/lib/dpkg/triggers/*
       -  /var/lib/ldap(/.*)? (see #527898)
       -  /var/backups/.*
     - modified self.ignored_patters:
       - ignore everything in /tmp, not just in /tmp/scripts (see #528266)
     - configure apt in chroots to not install recommends and suggests.
     - add support for scanning for packages in changes files, thanks to Andres
       Mejia for the patch. (Closes: #352940)
     - change some methods from using 'args' to 'package_list'. This more
       accurately represents what is being passed into these methods now.
     - add an optional parameter to panic() method to specify what exit status
       to use. Also thanks to Andres.
     - add advice how to read the logfile to the top of the logfiles produced.
     - add "FAIL: " to logging output for seven more failure types, so that it
       becomes easier to group failure causes.
     - allow piuparts to be stopped with control-C. Thanks to Carl Chenet for
       the patch. (Closes: #523958)
     - fail gracefully if piuparts is run as non-root user. Thanks to Ignace
       Mouzannar for the patch. (Closes: #538273)
   * piupartslib/packagesdb.py:
     - change the test whether a package is testable to check whether the
       package is of priority "required", and not whether it's "Essential".
     - rename status "essential-required-important" to "essential-required"
       as important packages can be tested like all the others.
     - handle binNMUs where the Source header in the Packages file includes the
       Version and the Source package name in one line.
     - fix get_packages_in_state() to only return unique packages and not also
       the provided ones as exact copies.
   * Install scripts for master-slave mode without .py extension.
   * piuparts-master.py: remove code to write statistics, that is done only in
     piuparts-report.py now.
   * piuparts-slave.py:
     - support looping trough multiple sections in piuparts.conf via new config
       value "sections". Thanks to Frank Ploss for writing this patch with me
       and helping me understand the code much better!
     - allow the user to stop the slave with control-C.
     - call piuparts with --mirror when mirror is set in piuparts.conf.
   * Re-add piuparts-reports.py which got removed/lost between 0.14 and 0.20
     without changelog entry.
   * piuparts-report.py:
     - support sections in configuration file.
     - support looping trough multiple sections in piuparts.conf via new config
       value "sections".
     - generate counts.txt (per section) with raw numbers of packages per state,
       include these stats in the debug output (so it gets included in the mails
       send by cron.)
     - introduce new setting "sources-url" for piuparts.conf.
     - generate sources.txt (per section) with a summary status per source
       package (for the PTS to display a source packages piuparts state)
     - generate html status pages for all source packages (to link from the PTS)
       with links to state explaination and available logfiles, handle udebs.
     - provide links to logfiles in statistics page.
     - provide links to source packages pages from state pages and back, as well
       as links to the dependencies state.
     - draw graphs of package states over time (if pypthon-rpy and gs are
       installed) - thanks to Thomas Viehmann and Dirk Eddelbüttel for
       inspiration and support.
     - create maintainer centric pages for each email address found in
       Maintainers or Uploaders.
     - improve layout, generate navigation for all pages.
     - use icons to provide a quick overview of a source packages status.
       (Thanks to tango.freedesktop.org for the icons!)
     - include index.tpl (if it exists) from output-directory into the
       generated index page, so one can add news to the index page without
       editing piuparts-report.py.
     - generate pages for known issues, which are detected by bash helper
       script, run by cron on piuparts.debian.org and available from
       svn/piuparts/piatti/home/piupartsm/bin/detect_well_known_errors
   * Always use alphabetic time zone abbreviation in timestamps.
   * Makefile:
     - add "~$date" to versionstring if building an unreleased version, thus
       adding dpkg-dev to build-depends.
     - split install target into install-doc, install-conf and install, to aid
       development and deployment from trunk.
   * debian/control:
     - depend on python (>>2.4), make dependency to python-debian unversioned.
     - add build-dependencies on debhelper, asciidoc and xmlto.
     - dependency gs has been renamed to ghostcript
     - remove build-dependencies on docbook2x and docbook-xml.
     - suggest python-rpy and gs to improve piuparts-report output.
     - set Homepage: to http://piuparts.debian.org
     - remove Lucas Nussbaum, Ana Guerrero, John Wright and Bill Allombert from
       uploaders - thanks for your work!
     - Replace Ians email address with one that doesn't give an errorcode when
       sending mail to it
     - bump Standards-Version to 3.8.3, no changes necessary.
   * Rewrite debian/rules from scratch using debhelper.
   * Merge README, how-to-use-piuparts.txt and custom-scripts.txt into
     README.txt, convert it to asciidoc and build pdf and html versions of it.
   * Restructure and update README.txt to reflect the configuration changes in
     master-slave mode.
   * Add debian/NEWS file.
   * Rewrite piuparts manpage in asciidoc.
   * Build and install html version of the piuparts manpage.
   * Update debian/copyright to reflect that piuparts is licenced under GPL2+.
   * Update FSF address in all files referencing the GPL.
   * Remove unused file piuparts.css.
 .
   [ Lars Wirzenius ]
   * Removed Lars Wirzenius as uploader.
Checksums-Sha1: 
 4a6c444e059111817236d9cc1c9a7a11a347e8be 1033 piuparts_0.36.dsc
 ea869aaec2e2256c88ff785b7dfe113fa06cd9f9 71644 piuparts_0.36.tar.gz
 1dcf5f5ba1b9741a56c9f47048b649064168ef47 78180 piuparts_0.36_all.deb
Checksums-Sha256: 
 3c611c291471e303260a7d8f8513df914c18103c523fa6e010c09836017ac9e1 1033 
piuparts_0.36.dsc
 6dea8253100a04f77bcdba16c04af9aba2d7c6b44b4bcd3364db2ed985510685 71644 
piuparts_0.36.tar.gz
 d2e848367e891d8262c0375c62a0efba7d5f97a754b640493a2da3c92560d0d6 78180 
piuparts_0.36_all.deb
Files: 
 dda0a1a9f19fad552d5301dc37c4cf3e 1033 devel extra piuparts_0.36.dsc
 27562e207304b44b250d37c15fad45f5 71644 devel extra piuparts_0.36.tar.gz
 11d4b85fdf970bbd15582b286def541e 78180 devel extra piuparts_0.36_all.deb

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

iD8DBQFKplJ+UHLQNqxYNSARAhvxAJ0R/00cUvt7oFnFINFGd6Pxy6l9ogCg089J
CbZJetLV3uVEu2FC/rNdx4w=
=FQfJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to