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 d1c5131  Flag Petri projects
d1c5131 is described below

commit d1c513185d4300ec354f593a90b607406562a674
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 8 17:31:13 2021 +0000

    Flag Petri projects
---
 www/roster/main.rb             | 1 +
 www/roster/views/other.html.rb | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/www/roster/main.rb b/www/roster/main.rb
index 60bd3b1..8f77d64 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -84,6 +84,7 @@ get '/other/' do
                 ASF::Podling.currentids
   @atticids = ASF::Committee.load_committee_metadata[:tlps].filter_map {|k,v| 
k if v[:retired]}
   @retiredids = ASF::Podling.retiredids
+  @petriids = ASF::Petri.list.map(&:name)
   @podlingAliases = {}
   @podlingURLs = {}
   ASF::Podling.list.each do |podling|
diff --git a/www/roster/views/other.html.rb b/www/roster/views/other.html.rb
index 22d43b4..02a584b 100644
--- a/www/roster/views/other.html.rb
+++ b/www/roster/views/other.html.rb
@@ -24,13 +24,13 @@ _html do
       _ul do
         _li 'Attic projects'
         _li 'Retired podlings'
+        _li 'Petri projects (cultures)'
         _li 'Podling aliases'
         _li 'Podling graduated as part of another TLP'
       end
       _p 'None of the above normally have an LDAP project group'
     end
 
-    _p @podlingURLs
     _p 'Click on column names to sort.'
 
     _table.table.table_hover do
@@ -49,6 +49,8 @@ _html do
 
             if @atticids.include? other
               _td 'Attic'
+            elsif @petriids.include? other
+              _td 'Petri project'
             elsif @retiredids.include? other
               _td 'Retired Podling'
             elsif @podlingAliases.include? other

Reply via email to