Sheriffing/TBPL/TransitionPlan: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
** Python makes gzip decrompressing easiest
** Python makes gzip decrompressing easiest
* Should work like this:
* Should work like this:
*# Every 5 minutes
** Every x minutes:
*# Fetch buildbot data and fill database
**# Fetch buildbot data and fill database
*# Fetch Tinderbox data and add log URLs & notes to the existing records in the database
**# Fetch Tinderbox data and add log URLs & notes to the existing records in the database
*# Recreate JSON files for all changed revisions
**# Recreate JSON files for all changed revisions
* TBPL requests pushlog, and then for every push revision the gzipped JSON file that the python script created
* TBPL requests pushlog, and then for every push revision the gzipped JSON file that the python script created

Revision as of 12:31, 24 August 2010

  • Use Python + mongodb for JSON parsing and database filling instead of PHP + mysql or even node.js + mongodb
    • Python makes gzip decrompressing easiest
  • Should work like this:
    • Every x minutes:
      1. Fetch buildbot data and fill database
      2. Fetch Tinderbox data and add log URLs & notes to the existing records in the database
      3. Recreate JSON files for all changed revisions
  • TBPL requests pushlog, and then for every push revision the gzipped JSON file that the python script created