You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/07/16 20:33:53 UTC

[whimsy] branch master updated: set reply-to project when possible

This is an automated email from the ASF dual-hosted git repository.

rubys 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 3e2e2c5  set reply-to project when possible
3e2e2c5 is described below

commit 3e2e2c5fb94849b695e09fd0f8f601080c3135ee
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Jul 16 16:33:11 2017 -0400

    set reply-to project when possible
    
    clarify that new accounts are not created without an invitation otherwise
---
 www/secretary/workbench/templates/icla.erb         | 5 +++--
 www/secretary/workbench/views/actions/icla.json.rb | 7 +++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/www/secretary/workbench/templates/icla.erb b/www/secretary/workbench/templates/icla.erb
index ef8d367..c784402 100644
--- a/www/secretary/workbench/templates/icla.erb
+++ b/www/secretary/workbench/templates/icla.erb
@@ -4,8 +4,9 @@ This message acknowledges receipt of your ICLA, which has been filed in the Apac
 
 If you have been invited as a committer, please advise the project PMC that your ICLA has been filed.
 
-If you have not been invited, please refer to http://www.apache.org/foundation/how-it-works.html#developers
-for more information about roles at Apache.
+If you have not been invited, please refer to http://www.apache.org/foundation/how-it-works.html#developers for more information about roles at Apache.
+
+New accounts will not be created for contributors without an invitation from an ASF Project.
 
 Warm Regards,
 
diff --git a/www/secretary/workbench/views/actions/icla.json.rb b/www/secretary/workbench/views/actions/icla.json.rb
index dec3e6d..1473728 100644
--- a/www/secretary/workbench/views/actions/icla.json.rb
+++ b/www/secretary/workbench/views/actions/icla.json.rb
@@ -138,6 +138,13 @@ task "email #@email" do
     body: template(reply)
   )
 
+  # set Reply-To header to podling or pmc private mailing list 
+  if @podling
+    mail.headers['Reply-To'] = @podling.private_mail_list
+  elsif @pmc
+    mail.headers['Reply-To'] = "private@#{@pmc.mail_list}.apache.org"
+  end
+
   # echo email
   form do
     _message mail.to_s

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