whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Tighten license link check
Date Wed, 26 Apr 2017 22:39:55 GMT
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  dddf477   Tighten license link check
dddf477 is described below

commit dddf477016c7e2f0f78075238cf197075be8f016
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Apr 26 23:39:53 2017 +0100

    Tighten license link check
---
 www/test/site-check.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/test/site-check.cgi b/www/test/site-check.cgi
index 9027322..0a82f6b 100755
--- a/www/test/site-check.cgi
+++ b/www/test/site-check.cgi
@@ -15,7 +15,7 @@ def analyze(sites)
     counts = Hash.new { |h, k| h[k] = Hash.new(&h.default_proc) }
     { 
       'events' => %r{apache.org/events/current-event}i,
-      'license' => %r{apache.org/license}i,
+      'license' => %r{apache.org/licenses/$}i, # should link to parent license page only
       'sponsorship' => %r{apache.org/foundation/sponsorship}i,
       'security' => %r{apache.org/security}i,
       'thanks' => %r{apache.org/foundation/thanks}i
@@ -29,7 +29,7 @@ def analyze(sites)
     [
       counts, {
       'label-success' => '# Sites with links to primary ASF page',
-      'label-warning' => '# Sites with link, but not ASF one',
+      'label-warning' => '# Sites with link, but not an expected ASF one',
       'label-danger' => '# Sites with no link for this topic'
       }
     ]

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message