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 7e31d9d Ensure applicants are directed to podling, not IPMC
7e31d9d is described below
commit 7e31d9dec7068f8721187e6352f5aa5a97cf6a8e
Author: Sebb <[email protected]>
AuthorDate: Fri Apr 24 22:39:34 2020 +0100
Ensure applicants are directed to podling, not IPMC
---
www/secretary/workbench/views/actions/icla.json.rb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/www/secretary/workbench/views/actions/icla.json.rb
b/www/secretary/workbench/views/actions/icla.json.rb
index 568654a..bccd944 100644
--- a/www/secretary/workbench/views/actions/icla.json.rb
+++ b/www/secretary/workbench/views/actions/icla.json.rb
@@ -127,7 +127,7 @@ task "email #@email" do
# set up notify for body of message
if @pmc
@notify = "the #{@pmc.display_name} PMC has"
- if @podling
+ if @podling # it looks like podlings also have PMC=Incubator
@notify.sub! /has$/, "and the #{@podling.display_name} podling have"
end
end
@@ -154,8 +154,9 @@ task "email #@email" do
end
@cttee = '(P)PMC'
- @cttee = "Apache #{@podling.display_name} podling" if @podling
@cttee = "Apache #{@pmc.display_name} PMC" if @pmc
+ # Process podling after PMC otherwise podling applicants are directed to IPMC
+ @cttee = "Apache #{@podling.display_name} podling" if @podling
# build mail from template
mail = message.reply(
subject: "ICLA for #{@pubname}",