Author: sebb Date: Thu Mar 5 13:32:29 2026 New Revision: 1932180 Log: Move reportingcycles to data
Modified: comdev/reporter.apache.org/trunk/README.txt comdev/reporter.apache.org/trunk/docker-config/25-reporter.conf comdev/reporter.apache.org/trunk/scripts/reportingcycles.py Modified: comdev/reporter.apache.org/trunk/README.txt ============================================================================== --- comdev/reporter.apache.org/trunk/README.txt Thu Mar 5 12:45:02 2026 (r1932179) +++ comdev/reporter.apache.org/trunk/README.txt Thu Mar 5 13:32:29 2026 (r1932180) @@ -68,7 +68,7 @@ Scripts: Creates data/pmcdates.json from committee_info.json -scripts/reportingcycles.py - Creates site/reportingcycles.json from committee_info.json + Creates data/reportingcycles.json from committee_info.json - scripts/mailglomper2.py Updates data/maildata_extended.json and data/maildata_partial.json from https://lists.apache.org/ Modified: comdev/reporter.apache.org/trunk/docker-config/25-reporter.conf ============================================================================== --- comdev/reporter.apache.org/trunk/docker-config/25-reporter.conf Thu Mar 5 12:45:02 2026 (r1932179) +++ comdev/reporter.apache.org/trunk/docker-config/25-reporter.conf Thu Mar 5 13:32:29 2026 (r1932180) @@ -34,6 +34,7 @@ Require valid-user </Location> + Alias /reportingcycles.json /var/www/reporter.apache.org/data/reportingcycles.json Alias /releases/ /var/www/reporter.apache.org/data/releases/ ProxyPass /api/ http://localhost:8000/api/ ProxyPass /quickjson http://localhost:8000/api/overview Modified: comdev/reporter.apache.org/trunk/scripts/reportingcycles.py ============================================================================== --- comdev/reporter.apache.org/trunk/scripts/reportingcycles.py Thu Mar 5 12:45:02 2026 (r1932179) +++ comdev/reporter.apache.org/trunk/scripts/reportingcycles.py Thu Mar 5 13:32:29 2026 (r1932180) @@ -6,14 +6,14 @@ import json Reads committee-info.json via committee_info module Creates: -../site/reportingcycles.json +../data/reportingcycles.json """ cycles = committee_info.cycles() -print("Writing ../site/reportingcycles.json") -with open("../site/reportingcycles.json", "w", encoding='utf-8') as f: +print("Writing ../data/reportingcycles.json") +with open("../data/reportingcycles.json", "w", encoding='utf-8') as f: json.dump(cycles, f, sort_keys = True, indent=1, ensure_ascii=False) print("All done!") \ No newline at end of file
