whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Proposed code to update committee-info.yaml
Date Tue, 22 Oct 2019 14:51:22 GMT
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 0ad3736  Proposed code to update committee-info.yaml
0ad3736 is described below

commit 0ad37361ffa30f6a9f8961627222f4fdd97e2a27
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Oct 22 15:51:19 2019 +0100

    Proposed code to update committee-info.yaml
---
 www/board/agenda/views/actions/todos.json.rb | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index b6eeaef..6503589 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -105,7 +105,7 @@ if (@change || @establish || @terminate) and env.password
   File.write minutes_file, YAML.dump(minutes)
 end
 
-# update LDAP, create victims.txt
+# update LDAP, create victims.txt, update committee-info.yaml
 if @establish and env.password
   @establish.each do |resolution|
     pmc = resolution['name']
@@ -128,7 +128,16 @@ if @establish and env.password
         project.remove_owners(project.owners - members)
         project.add_members(members)
       end
-    end 
+    end
+    # TODO enable once testing is complete
+#    charter = item['charter']
+#    if charter
+#      # update ci.yaml
+#      cinfoy = File.join(ASF::SVN['board'], 'committee-info.yaml')
+#      ASF::SVN.update cinfoy, title, env, _ do |tmpdir, contents|
+#        ASF::Site.append(contents,pmc.downcase,charter)
+#      end 
+#    end
   end
 
   establish = @establish.map {|resolution| resolution['name']}


Mime
View raw message