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

Bug#392969: marked as done (ddpo: package overview messed up)

Your message dated Wed, 15 Nov 2006 02:07:24 +0100
with message-id <20061115010724.GA6316@df7cb.de>
and subject line developer.php: bad handling of emails with Capital Letters
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: qa.debian.org
Severity: important
Tags: patch


Since several weeks, my ddpo at
is messed up: it shows all package lists twice and most of my
packages are missing.

It is caused by an improper lookup of maintainer entries in 

The first bug happens because two identical entries are written into 
the maintainers.txt file, leading to the duplicate display; the same is
true for four other people (Arnaud Kyheng <arnaud.kyheng@free.fr>,
Christian Aichinger <greek0@gmx.net>, Marc Dequènes (Duck) <duck@duckcorp.org>
and Oliver Elphick <oliver.elphick@lfix.co.uk>), and it only happens
when using the name in the URL (with the email address it does
not happen).

The reason for the missing packages is that an entry for
the maintainer is made in the h_maint hashtable with a different
key when adding co-maintainers; then, all packages which are found
afterwards are not added to this maintainer.

The attached patch fixes both bugs.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Index: data/ddpo/ddpo.py
--- data/ddpo/ddpo.py	(Revision 1431)
+++ data/ddpo/ddpo.py	(Arbeitskopie)
@@ -277,8 +277,8 @@
             (maint_name, maint_email) = ("Nobody", "noboby@nowhere.none")
             #print "Nobody for: " + line
-        if h_maint.has_key(maint_email) == 0:
-            h_maint = new_maintainer(h_maint, maint_name, maint_email)
+        if h_maint.has_key(maint_email.lower()) == 0:
+            h_maint = new_maintainer(h_maint, maint_name, maint_email.lower())
     return h_maint
@@ -343,14 +343,14 @@
                 match_maint = reg_maint.search(line)
                 if match_maint:
                     if (branch == "unstable") or (branch == "experimental"):
-                        if h_maint.has_key(match_maint.group(2)):
-                            package = h_maint[match_maint.group(2)].add_package(package)
+                        maint_email = match_maint.group(2)
+                        if h_maint.has_key(maint_email.lower()):
+                            package = h_maint[maint_email.lower()].add_package(package)
                             maint = search_maint(h_maint,match_maint.group(1))
                             if maint:
-                        maint_email = match_maint.group(1)
-                        package.set_maint(match_maint.group(2))
+                        package.set_maint(maint_email)
                 match_arch = reg_arch.search(line)
                 if match_arch:

--- End Message ---
--- Begin Message ---
Re: Vincent Danjean 2006-06-05 <20060605111422.15122.63492.reportbug@localhost.localdomain>
>   I think that the problem is related to the fact that I use capital
> letters in my email : Vincent.Danjean@...


I finally got around to fix this, sorry that it took so long. We do
not attempt to lowercase everything anymore, we just rely on the user
to provide the correct capitalization. Hopefully it works now...

cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

--- End Message ---

Reply to: