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

Bug#751873: marked as done (fakeupstream.cgi rejects hg repository URLs containing numbers)



Your message dated Tue, 17 Jun 2014 12:24:41 +0000
with message-id <E1WwsRN-0001CE-2N@moszumanska.debian.org>
and subject line qa.debian.org bug fixed in revision 3168
has caused the Debian Bug report #751873,
regarding fakeupstream.cgi rejects hg repository URLs containing numbers
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.)


-- 
751873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751873
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qa.debian.org
Severity: normal

While trying to check for the latest version in the OpenJDK 8 upstream
repository, I found that fakeupstream.cgi would not accept hg repository
URLs containing numbers before the project name part (after the last
slash in the URL).

Upstream repository URL: http://hg.openjdk.java.net/jdk8u/jdk8u/

HTTP request:
http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=vcs/hg/http://hg.openjdk.java.net/jdk8u/jdk8u

Result: "no data found for given parameter value(s)"

Expected result: "jdk8u20-b18"

I believe the bug can be fixed by changing the definition of
$hg_repository_re from the current

my $hg_repository_re = '[a-z\.\-:/]+';

to

my $hg_repository_re = '[a-z0-9\.\-:/]+';

It may be useful to allow capital letters as well, to provide for
directory names containing them.

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Version: 3168

This bug was closed by Paul Wise (pabs) in SVN revision 3168.
Note that it might take some time until the qa.debian.org code has
been updated and cronjobs have picked up changed data.

Commit message:

Allow hg tags that do not start with a digit (actually closes: #751873)

--- End Message ---

Reply to: