Your message dated Fri, 01 May 2009 17:47:07 +0000
with message-id <e1lzwph-0006vu...@ries.debian.org>
and subject line Bug#523816: fixed in reportbug 4.2
has caused the Debian Bug report #523816,
regarding reportbug: hanlde platform dependent modules with more care
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 ow...@bugs.debian.org
immediately.)


-- 
523816: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523816
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: reportbug
Version: 4.0
Severity: normal
Tags: patch

reportbuug's modules can be made more platform independent by carefully
importing platform specific modules. This helps a lot, when using
reportbug modules on other platforms (like Microsoft Windows).

Ritesh

-- Package-specific info:
** Environment settings:
DEBEMAIL="r...@researchut.com"
DEBFULLNAME="Ritesh Raj Sarraf"

** /home/rrs/.reportbugrc:
reportbug_version "3.35"
mode advanced
email "r...@researchut.com"
no-cc
header "X-Debbugs-CC: r...@researchut.com"
smtphost reportbug.debian.org

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-custom (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.20.2   Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.0        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                 1.5.26     debconf utilities
ii  debsums                       2.0.43     verification of installed package 
ii  dlocate                       0.96.1     fast alternative to dpkg -L and dp
ii  exim4                         4.69-9     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon
ii  file                          5.00-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
ii  python-gtk2                   2.14.1-1   Python bindings for the GTK+ widge
ii  python-urwid                  0.9.8.4-1  curses-based UI/widget library for

-- no debconf information
>From 0b4c527def7fbef05ccc6bd9bba6be3f4f4ee877 Mon Sep 17 00:00:00 2001
From: Ritesh Raj Sarraf <r...@researchut.com>
Date: Sat, 4 Apr 2009 03:24:32 +0530
Subject: [PATCH] Make reportbug platform independent

There are 2 modules wich are platform specific.
utils.py => pwd, tempfile

Both these modules have dependency only on reportbug.
With these 2 modules handled, querybts is able to give me an initial list of bug report summary for any package.

For handling of these modules, we could either do what I've done, or else separate them to a new module file.
---
 reportbug/utils.py |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/reportbug/utils.py b/reportbug/utils.py
index ce7e79d..123067b 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -27,7 +27,16 @@
 import sys
 import os
 import re
-import pwd
+import platform
+try:
+    import pwd
+    from tempfiles import TempFile, tempfile_prefix
+except ImportError, e:
+    if platform.system() == 'Windows':
+        pass
+    else:
+        print e
+        sys.exit(1)
 import commands
 import shlex
 import rfc822
@@ -36,7 +45,6 @@ import subprocess
 
 import debianbts
 from string import ascii_letters, digits
-from tempfiles import TempFile, tempfile_prefix
 
 # Paths for dpkg
 DPKGLIB = '/var/lib/dpkg'
-- 
1.6.2.1


--- End Message ---
--- Begin Message ---
Source: reportbug
Source-Version: 4.2

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

python-reportbug_4.2_all.deb
  to pool/main/r/reportbug/python-reportbug_4.2_all.deb
reportbug_4.2.dsc
  to pool/main/r/reportbug/reportbug_4.2.dsc
reportbug_4.2.tar.gz
  to pool/main/r/reportbug/reportbug_4.2.tar.gz
reportbug_4.2_all.deb
  to pool/main/r/reportbug/reportbug_4.2_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 523...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated reportbug 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Fri, 01 May 2009 19:22:23 +0200
Source: reportbug
Binary: reportbug python-reportbug
Architecture: source all
Version: 4.2
Distribution: unstable
Urgency: low
Maintainer: Reportbug Maintainers <reportbug-maint@lists.alioth.debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Description: 
 python-reportbug - Python modules for interacting with bug tracking systems
 reportbug  - reports bugs in the Debian distribution
Closes: 358555 364626 523684 523816 524297 524857 525407 525856 526054
Changes: 
 reportbug (4.2) unstable; urgency=low
 .
   [ Sandro Tosi ]
   * reportbug/__init__.py
     - bump reportbug version
   * bin/reportbug
     - resolved regression about not being able to select ui from cli, moving 
the
       check for attachments existance out of the ui check code. Now all the
       attachment files are checked for existance and it won't exit at the first
       missing. Thanks to Michael Meskes, Goncalo Marrafa and Florentin Duneau
       for the reports; Closes: #525407, #524857, #526054
     - added max number of characters allowed for report subject; thanks to Hong
       Jen Yee for the report and Carl Chenet for the patch; Closes: #364626
     - decode also email address (previously only realname was) when offering
       configuration; thanks to James Vega for the report and to Carl Chenet for
       the patch: Closes: #524297
     - clarified in the warning message that reportbug.debian.org superseded
       master|bugs.d.o as smtphost; also merged the check fo the previous 2
       hosts; thanks to Goswin von Brederlow for the report; Closes: #525856
   * reportbug/utils.py
     - fixed a typo in redirecting to /dev/null when calling lsb_release; thanks
       to Carl Chenet for the report and patch; Closes: #523684
     - handle import of pwd and tempfile in a try..catch, since they are 
platform
       specific, so that there is a minimum of functionalities available even if
       those modules are not present; thanks to Ritesh Raj Sarraf for the report
       and patch; Closes: #523816
   * bin/querybts
     - replaced the exit messages, with a less confusing one; thanks to A Costa
       for the report and to Carl Chenet for the patch; Closes: #358555
 .
   [ Luca Bruno ]
   * reportbug/ui/gtk2_ui.py
     - display report message in a dialog at the end, in substitution of pager
       and stdout
     - forward page when the user hits ENTER either on an entry or a menu
     - respect given order in menus
     - wrap text in menus and disable the horizontal scrollbar; partially fixes
       #521162
     - ui focus and layout improvements
 .
   [ Y Giridhar Appaji Nag ]
   * Remove Y Giridhar Appaji Nag from Uploaders
Checksums-Sha1: 
 c5f105de96bc8c73c20ab78498e77700daabc60b 1144 reportbug_4.2.dsc
 121be37feacc180bd986ffe58fa749fe9f1be9dc 190903 reportbug_4.2.tar.gz
 bde19701c1f470b2e9829139f49d37cb1540f943 117172 reportbug_4.2_all.deb
 59cb1d2c00cf24af7c11f99f468aa2636fe12113 111472 python-reportbug_4.2_all.deb
Checksums-Sha256: 
 eeb52fe16888522bc0fb6a888743e95fbaffbafb60a6b18b481d14830ee68fbb 1144 
reportbug_4.2.dsc
 14a99e3edb284754a1a7d85f8149124de71e3f00ee890b4b647d542f2425e37a 190903 
reportbug_4.2.tar.gz
 bb1bbab032c2423ebbadde487696b97a1c10bef02f7732f1b9bd7266a8788517 117172 
reportbug_4.2_all.deb
 a1d0a147f10ebfe92582192b4d301208a7a3334f58279c53256bf0836479c406 111472 
python-reportbug_4.2_all.deb
Files: 
 1b849510f9ca57624965902c64a0efa7 1144 utils standard reportbug_4.2.dsc
 fbb4e429895e9670f95af3af6e8ead83 190903 utils standard reportbug_4.2.tar.gz
 613e5910d576f86c8a683a86f5db0de0 117172 utils standard reportbug_4.2_all.deb
 7bd158b0bc6cc0be0845cae21f569a83 111472 python standard 
python-reportbug_4.2_all.deb

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

iEYEARECAAYFAkn7M6YACgkQAukwV0RN2VArSQCeIuTUMNleS53KxdwK443LEz4J
s78AnjB9epPSyjBLN2PKM3OD3aHLTbIH
=Av2l
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Reportbug-maint mailing list
Reportbug-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/reportbug-maint

Reply via email to