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: add terminate resolution template
Date Fri, 06 Apr 2018 02:56:10 GMT
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 4331c3f  add terminate resolution template
4331c3f is described below

commit 4331c3fec91ff6e3ed1f912db267eadc22077b8a
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Thu Apr 5 22:55:08 2018 -0400

    add terminate resolution template
---
 www/board/agenda/templates/terminate.erb         | 26 ++++++++++++++++++++++++
 www/board/agenda/views/actions/post-data.json.rb |  9 ++++++++
 2 files changed, 35 insertions(+)

diff --git a/www/board/agenda/templates/terminate.erb b/www/board/agenda/templates/terminate.erb
new file mode 100644
index 0000000..cd327c7
--- /dev/null
+++ b/www/board/agenda/templates/terminate.erb
@@ -0,0 +1,26 @@
+<% if @method == 'vote' %>
+WHEREAS, the Project Management Committee of the Apache 
+<%= @committee.display_name %> project has chosen by vote to recommend moving
+the project to the Attic; and
+<% elsif @method == 'consensus' %>
+WHEREAS, the Project Management Committee of the Apache 
+<%= @committee.display_name %> project has arrived at a consensus to recommend
+moving the project to the Attic; and
+<% end %>
+
+WHEREAS, the Board of Directors deems it no longer in the best interest of the
+Foundation to continue the Apache <%= @committee.display_name %> project due to
+inactivity;
+
+NOW, THEREFORE, BE IT RESOLVED, that the Apache <%= @committee.display_name %>
+project is hereby terminated; and be it further
+
+RESOLVED, that the Attic PMC be and hereby is tasked with oversight over the
+software developed by the Apache <%= @committee.display_name %> Project; and be
+it further
+
+RESOLVED, that the office of "Vice President, Apache 
+<%= @committee.display_name %>" is hereby terminated; and be it further
+
+RESOLVED, that the Apache <%= @committee.display_name %> PMC is hereby
+terminated.
diff --git a/www/board/agenda/views/actions/post-data.json.rb b/www/board/agenda/views/actions/post-data.json.rb
index 2e32b9c..c3da435 100644
--- a/www/board/agenda/views/actions/post-data.json.rb
+++ b/www/board/agenda/views/actions/post-data.json.rb
@@ -68,6 +68,15 @@ when 'change-chair'
   draft = Erubis::Eruby.new(template).result(binding)
 
   {draft: draft.reflow(0, 71)}
+
+when 'terminate'
+  @committee = ASF::Committee[@pmc]
+  return unless @committee
+
+  template = File.read('templates/terminate.erb').untaint
+  draft = Erubis::Eruby.new(template).result(binding)
+
+  {draft: draft.reflow(0, 71)}
 end
 
 puts output if $0 == __FILE__

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

Mime
View raw message