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 714d04b3 Additional docs [skip ci]
714d04b3 is described below
commit 714d04b3eee7db6e6dd0d4802cd39410ae4b259f
Author: Sebb <[email protected]>
AuthorDate: Tue Sep 10 10:20:22 2024 +0100
Additional docs [skip ci]
---
www/members/page-scanner.cgi | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/www/members/page-scanner.cgi b/www/members/page-scanner.cgi
index 8e4c3155..164888ed 100755
--- a/www/members/page-scanner.cgi
+++ b/www/members/page-scanner.cgi
@@ -18,11 +18,20 @@ if qs =~ %r{^url=(https?://[^&]+)(?:&(.+))?}
option = $2
# we only want full URLs
option = 'allref' unless %w{all showurl}.include? option
- print "Checking the page #{url}\n\n"
- puts "The following references were found to hosts other than apache.org,
openoffice.org and apachecon.com"
- puts "The first column shows if the host is recognised as being under ASF
control according to"
- puts "https://privacy.apache.org/policies/asf-domains"
- print "=====\n"
+ puts <<~EOD
+ Checking the page #{url}
+
+
+ The following references were found to hosts other than apache.org,
openoffice.org and apachecon.com
+ The first column shows if the host is recognised as being under ASF
control according to
+ https://privacy.apache.org/policies/asf-domains
+
+ Note: the script does not yet take account of sites with whom we have a
DPA (Data Processing Agreement),
+ so it may show some legitimate references
+
+ ======
+
+ EOD
cmd = ['node', '/srv/whimsy/tools/scan-page.js', url, option]
out, err, status = Open3.capture3(*cmd)
if status.success?