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: Allow for non-archived lists
Date Thu, 04 Apr 2019 22:33:25 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 0eeef78  Allow for non-archived lists
0eeef78 is described below

commit 0eeef78091314cfeab982ea7a2e0f7b493e3901a
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Apr 4 23:33:16 2019 +0100

    Allow for non-archived lists
---
 www/members/archivers.cgi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/members/archivers.cgi b/www/members/archivers.cgi
index c36bfe9..0cdfdb6 100755
--- a/www/members/archivers.cgi
+++ b/www/members/archivers.cgi
@@ -13,6 +13,10 @@ ids={}
 binarchives = ASF::Mail.lists(true)
 show_all = (ENV['PATH_INFO'] == '/all')
 
+# list of ids deliberately not archived
+#                 INFRA-18129
+NOT_ARCHIVED = %w{apachecon-aceu19}
+
 _html do
   _body? do
     _whimsy_body(
@@ -50,6 +54,8 @@ _html do
 
         id = ASF::Mail.archivelistid(dom, list)
 
+        next if NOT_ARCHIVED.include? id # skip error reports. TODO check if it is archived
+
         ids[id] = 1 # TODO check for duplicates
 
         options = Hash.new # Any fields have warnings/errors?


Mime
View raw message