[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pre-approval for reportbug/3.45



Err... forget to attach the "svn diff" (+ CC reportbug ml)

On Fri, Aug 15, 2008 at 23:54, Sandro Tosi <matrixhasu@gmail.com> wrote:
> Hello Release Team,
> I'd like to receive you approval before upload reportbug/3.45 in
> unstable to let it transit to Lenny after the right amount of time.
>
> This upload fixes two bugs: password method is missing in urwid
> interface, bugs list is not shown anymore due to BTS page changes (I
> know I know, we got to remove that part of code, and move to SOAP, but
> we are still planning that part and it would be a big change in code).
>
> Please let me know, so that I can upload.
>
> Thanks in advance,
> Sandro
>
> --
> Sandro Tosi (aka morph, Morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
>



-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 594)
+++ debian/changelog	(working copy)
@@ -1,3 +1,14 @@
+reportbug (3.45) unstable; urgency=low
+
+  * reportbuglib/reportbug_ui_urwid.py
+    - added get_password function; thanks to Torsten Wiebke and Jan Muszynski
+      for the reports; Closes: #494509, #491328
+  * reportbuglib/debianbts.py
+    - added removal of cruft from BTS parsed page; thanks to Davide Prina, Dan
+      Greene and Paul Menzel for the reports; Closes: #494545, #495018, #495050
+
+ -- Sandro Tosi <matrixhasu@gmail.com>  Fri, 15 Aug 2008 23:50:31 +0200
+
 reportbug (3.44) unstable; urgency=medium
 
   [ Chris Lawrence ]
Index: reportbuglib/debianbts.py
===================================================================
--- reportbuglib/debianbts.py	(revision 594)
+++ reportbuglib/debianbts.py	(working copy)
@@ -911,6 +911,12 @@
     # Reorganize hierarchy to put recently-fixed bugs at top
     parser.reorganize()
 
+    # Morph @ 2008-08-15; due to BTS output format changes
+    try:
+        parser.hierarchy.remove(('Select bugs', []))
+    except:
+        pass
+
     data = (parser.bugcount, parser.title, parser.hierarchy)
     del parser
 
Index: reportbuglib/reportbug_ui_urwid.py
===================================================================
--- reportbuglib/reportbug_ui_urwid.py	(revision 594)
+++ reportbuglib/reportbug_ui_urwid.py	(working copy)
@@ -27,7 +27,7 @@
 
 import sys
 import re
-
+import getpass
 import reportbug
 from reportbug_exceptions import (
     UINotImportable,
@@ -373,6 +373,9 @@
     l = text.split('\n')
     return l
 
+def get_password(prompt=None):
+    return getpass.getpass(prompt)
+
 def menu(par, options, prompt, default=None, title=None, any_ok=False,
          order=None, extras=None, multiple=False, empty_ok=False, ui=None,
          oklabel='Ok', cancellabel='Cancel', quitlabel=None):

Reply to: