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

Bug#478171: marked as done (python-apt should accept '@' in mirror adresses)



Your message dated Tue, 13 Jan 2009 22:29:17 +0100
with message-id <200901132229.21216.georges.dubus@supelec.fr>
and subject line Fixed
has caused the Debian Bug report #478171,
regarding python-apt should accept '@' in mirror adresses
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 owner@bugs.debian.org
immediately.)


-- 
478171: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478171
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Subject: python-apt should accept '@' in mirror adresses
Package: python-apt
Version: 0.7.4ubuntu7
Severity: wishlist
Tags: patch

*** Please type your report below this line ***
It's currently impossible to use a mirror adress containing '@', which can 
accur when using a non anonymous ftp.
To reproduce:
 1) add this line to /usr/share/python-apt/templates/Ubuntu.mirrors :
 ftp://login:pass@ftp.somewhere.org/ubuntu/
 2) Launch software-properties-kde (not tested with software-properties-gtk, 
but it should be the same)
 3) Look at the list of mirrors : the one we just added isn't there.
Who to solve this :
 python-apt can handle such url, the regular expression testing urls just 
doesn't allow it.
 In file aptsources/distinfo.py , line 132 :
 match_mirror_line = re.compile(r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|
(https))://[A-Za-z/\.:\-_]+)$")
 juste add '@' to the allowed character. The result is :
 match_mirror_line = re.compile(r"^(#LOC:.+)|(((http)|(ftp)|(rsync)|(file)|
(https))://[A-Za-z/\.:\-_@]+)$")
And that's all.

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

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

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.7 0.7.9ubuntu17    Advanced front-end for dpkg
ii  apt-utils [libapt-inst- 0.7.9ubuntu17    APT utility programs
ii  libc6                   2.7-10ubuntu3    GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.3-2ubuntu7 GCC support library
ii  libstdc++6              4.2.3-2ubuntu7   The GNU Standard C++ Library v3
ii  lsb-release             3.2-4ubuntu1     Linux Standard Base version 
report
ii  python                  2.5.2-0ubuntu1   An interactive high-level 
object-o
ii  python-central          0.6.5ubuntu1     register and build utility for 
Pyt

python-apt recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
The fix was merged in main branch

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: