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

Bug#812461: marked as done (qa.debian.org: Adacore redirector should match new hash lengths)



Your message dated Mon, 10 Oct 2016 12:34:37 +0000
with message-id <E1btZmv-0006WX-0y@moszumanska.debian.org>
and subject line qa.debian.org bug fixed in revision 3560
has caused the Debian Bug report #812461,
regarding qa.debian.org: Adacore redirector should match new hash lengths
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.)


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

Hello.
The regular expression selecting hrefs in the Adacore redirector does
not match anymore because the length of some file hash has changed.
The attached patch should match any length.
Thanks.
Description: relax Adacore href regular expression
 The length of file hashes has changes.
 Match any length from now on.
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/fakeupstream.cgi
+++ b/fakeupstream.cgi
@@ -732,7 +732,7 @@
 {
 	process_request( {
 		'webpages_urls_ref' => [ 'http://libre.adacore.com/download/configurations' ],
-		'download_url_file_re' => "<a href=\"(http://mirrors\\.cdn\\.adacore\\.com/art/[0-9a-f]{40})\">\\s*<span class=\"art-file-name\">($1(?:-gpl)?-[0-9.]+-src\\.(?:$suffix_re))</span>\\s*</a>",
+		'download_url_file_re' => "<a href=\"(http://mirrors\\.cdn\\.adacore\\.com/art/[0-9a-f]+)\">\\s*<span class=\"art-file-name\">($1(?:-gpl)?-[0-9.]+-src\\.(?:$suffix_re))</span>\\s*</a>",
 	} );
 }
 

--- End Message ---
--- Begin Message ---
Version: 3560

This bug was closed by Paul Wise (pabs) in SVN revision 3560.
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:

Relax Adacore href regular expression (Closes: #812461)

The length of file hashes has changed.
Match any length from now on.

Author: Nicolas Boulenguez <nicolas@debian.org>

--- End Message ---

Reply to: