whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit c05ca02: another file needed for the workbench
Date Tue, 01 Mar 2016 03:09:00 GMT
Commit c05ca0227fd4110babb4a6c1546eceb71eb3fb89:
    another file needed for the workbench


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
DEPLOYMENT.md                                                | ++ 
www/secretary/workbench/secmail.rb                           | ++++++++++++++ 
------------------------------------------------------------
58 changes: 58 additions, 0 deletions.
------------------------------------------------------------


diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
index 74d67e0..e912ba0 100644
--- a/DEPLOYMENT.md
+++ b/DEPLOYMENT.md
@@ -56,3 +56,5 @@ away once the transition away from the secretary workbench is complete:
    * `svn co https://svn.apache.org/repos/private/documents /srv/secretary/workbench/documents`
    * `svn co https://svn.apache.org/repos/infra/infrastructure/trunk/subreq /srv/secretary/workbench/subreq`
 
+ * Copy `www/secretary/workbench/secmail.rb` to
+   `/srv/secretary/workbench/secmail.rb`
diff --git a/www/secretary/workbench/secmail.rb b/www/secretary/workbench/secmail.rb
new file mode 100644
index 0000000..fad0b38
--- /dev/null
+++ b/www/secretary/workbench/secmail.rb
@@ -0,0 +1,56 @@
+require 'mail'
+
+Mail.defaults do
+  delivery_method :sendmail
+
+  if $USER == 'clr'
+
+    @from = 'Craig L Russell <clr@apache.org>'
+    @sig = %{
+      -- Craig L Russell
+      Secretary, Apache Software Foundation
+    }
+
+  elsif $USER == 'jcarman'
+
+    @from = 'James Carman <jcarman@apache.org>'
+    @sig = %{
+      -- James Carman
+      Apache Software Foundation Secretarial Team
+    }
+
+  elsif $USER == 'rubys'
+
+    @from = 'Sam Ruby <rubys@apache.org>'
+    @sig = %{
+      -- Sam Ruby
+      Apache Software Foundation Secretarial Team
+    }
+
+  elsif $USER == 'jim'
+
+    @from = 'Jim Jagielski <jim@apache.org>'
+    @sig = %{
+      -- Jim Jagielski
+      Apache Software Foundation Secretarial Team
+    }
+
+  elsif $USER == 'sanders'
+
+    @from = 'Scott Sander <sanders@apache.org>'
+    @sig = %{
+      -- Scott Sander
+      Apache Software Foundation Secretarial Team
+    }
+
+  elsif $USER == 'mnour'
+
+    @from = 'Mohammad Nour El-Din <mnour@apache.org>'
+    @sig = %{
+      -- Mohammad Nour El-Din
+      Apache Software Foundation Secretarial Team
+    }
+  end
+end
+
+

Mime
View raw message