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 ca197a7 establish template ca197a7 is described below commit ca197a79ff954b693c34c6adfc84e9dad5190304 Author: Sam Ruby <ru...@intertwingly.net> AuthorDate: Fri Apr 6 11:35:54 2018 -0400 establish template --- www/board/agenda/templates/establish.erb | 33 ++++++++++++++++++++++++ www/board/agenda/views/actions/post-data.json.rb | 10 +++++++ 2 files changed, 43 insertions(+) diff --git a/www/board/agenda/templates/establish.erb b/www/board/agenda/templates/establish.erb new file mode 100644 index 0000000..b8e8681 --- /dev/null +++ b/www/board/agenda/templates/establish.erb @@ -0,0 +1,33 @@ +WHEREAS, the Board of Directors deems it to be in the best interests of the +Foundation and consistent with the Foundation's purpose to establish a Project +Management Committee charged with the creation and maintenance of open-source +software, for distribution at no charge to the public, related to +<%= @description %>. + +NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee (PMC), to +be known as the "Apache <%= @pmcname %> Project", be and hereby is established +pursuant to Bylaws of the Foundation; and be it further + +RESOLVED, that the Apache Apache <%= @pmcname %> be and hereby is responsible +for the creation and maintenance of software related to large scale code +license analysis, auditing and reporting; and be it further + +RESOLVED, that the office of "Vice President, Apache <%= @pmcname %>" be and +hereby is created, the person holding such office to serve at the direction of +the Board of Directors as the chair of the Apache <%= @pmcname %> Project, and +to have primary responsibility for management of the projects within the scope +of responsibility of the Apache <%= @pmcname %> Project; and be it further + +RESOLVED, that the persons listed immediately below be and hereby are +appointed to serve as the initial members of the Apache <%= @pmcname %> +Project: + +<% @people.each do |person| %> + * <%= person.public_name %> <<%= person.id %>@apache.org> +<% end %> + +NOW, THEREFORE, BE IT FURTHER RESOLVED, that <%= @chair.public_name %> be +appointed to the office of Vice President, Apache <%= @pmcname %>, to serve in +accordance with and subject to the direction of the Board of Directors and the +Bylaws of the Foundation until death, resignation, retirement, removal or +disqualification, or until a successor is appointed. diff --git a/www/board/agenda/views/actions/post-data.json.rb b/www/board/agenda/views/actions/post-data.json.rb index c3da435..eed927c 100644 --- a/www/board/agenda/views/actions/post-data.json.rb +++ b/www/board/agenda/views/actions/post-data.json.rb @@ -69,6 +69,16 @@ when 'change-chair' {draft: draft.reflow(0, 71)} +when 'establish' + @people = @people.split(',').map {|id| ASF::Person[id]} + @chair = ASF::Person[@chair] + @pmcname.capitalize! unless @pmcname =~ /[A-Z]/ + + template = File.read('templates/establish.erb').untaint + draft = Erubis::Eruby.new(template).result(binding) + + {draft: draft.reflow(0, 71)} + when 'terminate' @committee = ASF::Committee[@pmc] return unless @committee -- To stop receiving notification emails like this one, please contact ru...@apache.org.