This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 6ad1a09 Allow for downloads.a.o
6ad1a09 is described below
commit 6ad1a0976e78491c3fb47d6cec8f4c35c39ccb9d
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 6 15:50:21 2020 +0000
Allow for downloads.a.o
---
tools/download_check.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index 3b872db..6886ef3 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -317,7 +317,7 @@ def _checkDownloadPage(path, tlp, version)
# TODO: is location used by hc allowed, e.g.
# https://www.apache.org/dist/httpcomponents/httpclient/KEYS
expurl = "https://[www.]apache.org/dist/[incubator/]#{tlp}/KEYS"
- expurlre = %r{^https://(www\.)?apache\.org/dist/(incubator/)?#{tlp}/KEYS$}
+ expurlre =
%r{^https://((www\.)?apache\.org/dist|downloads\.apache\.org)/(incubator/)?#{tlp}/KEYS$}
keys = links.select{|h,v| h =~ expurlre}
if keys.size >= 1
keytext = keys.first[1]