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 6e3c2ec Temporary override for Solr
6e3c2ec is described below
commit 6e3c2ec4d8fe978052d37f7e0116436b9794f065
Author: Sebb <[email protected]>
AuthorDate: Wed Jun 23 11:40:00 2021 +0100
Temporary override for Solr
---
tools/download_check.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index 6be8581..dda3bb6 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -228,6 +228,7 @@ end
def check_hash_loc(h,tlp)
tlpQE = Regexp.escape(tlp) # in case of meta-chars
tlpQE = "(?:ooo|#{tlpQE})" if tlp == 'openoffice'
+ tlpQE = "(?:lucene|#{tlpQE})" if tlp == 'solr' # temporary override
if h =~
%r{^(https?)://(?:(archive|www)\.)?apache\.org/dist/(?:incubator/)?#{tlpQE}/.*?([^/]+)\.(\w{3,6})$}
WE "HTTPS! #{h}" unless $1 == 'https'
return $2,$3,$4
@@ -411,6 +412,7 @@ def _checkDownloadPage(path, tlp, version)
end
tlpQE = Regexp.escape(tlp) # in case of meta-chars
+ tlpQE = "(?:lucene|#{tlpQE})" if tlp == 'solr' # temporary override
# check KEYS link
# TODO: is location used by hc allowed, e.g.
# https://www.apache.org/dist/httpcomponents/httpclient/KEYS