whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: handle odftoolkit; eliminate special cases
Date Tue, 17 Jan 2017 19:51:28 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  0be5750   handle odftoolkit; eliminate special cases
0be5750 is described below

commit 0be575067faa2fecbce31762537e3a92294df6bd
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Tue Jan 17 14:49:51 2017 -0500

    handle odftoolkit; eliminate special cases
    
    wave and blur can be handled as incubator-*-dev
---
 lib/whimsy/asf/podlings.rb | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/lib/whimsy/asf/podlings.rb b/lib/whimsy/asf/podlings.rb
index 64c6043..b44c219 100644
--- a/lib/whimsy/asf/podlings.rb
+++ b/lib/whimsy/asf/podlings.rb
@@ -157,14 +157,16 @@ module ASF
       case name
       when 'climatemodeldiagnosticanalyzer'
         'dev@cmda.incubator.apache.org'
-      when 'blur'
-        'blur-dev@incubator.apache.org'
-      when 'wave'
-        'wave-dev@incubator.apache.org'
+      when 'odftoolkit'
+        'odf-dev@incubator.apache.org'
       when 'log4cxx2'
         'log4cxx-dev@logging.apache.org'
       else
-        "dev@#{name}.apache.org" if ASF::Mail.lists.include? "#{name}-dev"
+        if ASF::Mail.lists.include? "#{name}-dev"
+          "dev@#{name}.apache.org" 
+        elsif ASF::Mail.lists.include? "incubator-#{name}-dev"
+          "#{name}-dev@incubator.apache.org" 
+        end
       end
     end
 
@@ -174,7 +176,7 @@ module ASF
         'private@logging.apache.org'
       else
         list = dev_mail_list
-        list && list.sub('dev', 'private')
+        list ? list.sub('dev', 'private') : 'private@incubator.apache.org'
       end
     end
 

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

Mime
View raw message