You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/03/01 04:09:00 UTC
[whimsy.git] [1/1] Commit c05ca02: another file needed for the workbench
Commit c05ca0227fd4110babb4a6c1546eceb71eb3fb89:
another file needed for the workbench
Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@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 <cl...@apache.org>'
+ @sig = %{
+ -- Craig L Russell
+ Secretary, Apache Software Foundation
+ }
+
+ elsif $USER == 'jcarman'
+
+ @from = 'James Carman <jc...@apache.org>'
+ @sig = %{
+ -- James Carman
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'rubys'
+
+ @from = 'Sam Ruby <ru...@apache.org>'
+ @sig = %{
+ -- Sam Ruby
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'jim'
+
+ @from = 'Jim Jagielski <ji...@apache.org>'
+ @sig = %{
+ -- Jim Jagielski
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'sanders'
+
+ @from = 'Scott Sander <sa...@apache.org>'
+ @sig = %{
+ -- Scott Sander
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'mnour'
+
+ @from = 'Mohammad Nour El-Din <mn...@apache.org>'
+ @sig = %{
+ -- Mohammad Nour El-Din
+ Apache Software Foundation Secretarial Team
+ }
+ end
+end
+
+