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: Better handling of INFRA-21658
Date Mon, 24 May 2021 08:58:56 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 132aae4  Better handling of INFRA-21658
132aae4 is described below

commit 132aae44986cb3609218a3452c64df5bf64e70b0
Author: Sebb <sebb@apache.org>
AuthorDate: Mon May 24 09:58:47 2021 +0100

    Better handling of INFRA-21658
---
 lib/whimsy/asf/mlist.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index 1d16a1d..96b724d 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -263,6 +263,9 @@ module ASF
         when "#{list}-archive@#{dom}" then return [:MINO, 'alias']
         # Direct mail to minotaur
         when "apmail-#{dom.split('.').first}-#{list}-archive@www.apache.org" then return
[:MINO, 'direct']
+        # Unexpected archiver email commits-archive@incubator.apache.org for commits.deprecated@incubator.apache.org
+        # INFRA-21658
+        when "#{list.chomp('.deprecated')}-archive@#{dom}" then return [:MINO, 'alias']
         else
           return [:MARKMAIL, 'public'] if is_markmail_archiver?(email)
           # Whimsy currently only 'archives' private lists
@@ -367,7 +370,6 @@ module ASF
         if match
           dom = match[1].downcase # just in case
           list = match[2].downcase # just in case
-          next if dom == 'incubator.apache.org' && list == 'commits.deprecated' #
INFRA-21658
           # Keep original case of email addresses
           mails = stanza.split(/\n/).select {|x| x =~ /@/}
           cache << [dom, list, mails]

Mime
View raw message