Scripts for maintaining the content on the cms_info site.
A cron job runs getDBs.sh
, which calls all the other scripts. getDB.py
and getOldDB.py
handle SSO authentication to scrape data from CMS databases, depending on whether they're using the old or new SSO implementation. getCalendar.py
reads and parses the CMS .ical file. All of these produce .json files which are filtered by cleanup.py
into the final forms used in the website.
Actual scripts are run from this directory: /afs/cern.ch/user/c/cmswww/cms_info
.