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 32aa8bab Copy website for easier ezt access
32aa8bab is described below
commit 32aa8bab94ff364f64fd8c1023fc8c7e82fa918a
Author: Sebb <[email protected]>
AuthorDate: Sat Sep 20 17:29:44 2025 +0100
Copy website for easier ezt access
---
www/roster/public_podlings.rb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/roster/public_podlings.rb b/www/roster/public_podlings.rb
index 31c9c90c..03626535 100644
--- a/www/roster/public_podlings.rb
+++ b/www/roster/public_podlings.rb
@@ -107,6 +107,10 @@ if ARGV.length == 2
status_counts = Hash.new(0)
podh = ASF::Podling.list.map {|podling| [podling.name, podling.as_hash]}.to_h
podh.each do |p,v| # drop empty aliases
+ # ezt cannot easily access nested dicts so we copy the website to top level
+ # use the same name as in
https://projects.apache.org/json/foundation/podlings.json
+ # to simplify migration
+ v[:homepage] = v[:podlingStatus][:website]
v.delete(:resourceAliases) if v[:resourceAliases].length == 0
v.delete(:duration) # This changes every day ...
status_counts[v[:status]] += 1