system-config/tools/atc
Jeremy Stanley 455f05b0ec Update official list of ATC-qualifying projects
* tools/atc/email-stats.sh: Based on a review of current
repositories and subsequent discussion, this catches up the list of
projects used to determine ATC status to reflect the present state
of OpenStack's development. Also, confirmed non-code contributors
will now automatically be added to the output.

Change-Id: I509f4991a664f45cc6c3428e3d8d405668ebc609
2013-10-12 19:20:02 +00:00
..
diff.py Initial checkin of ATC scripts 2013-09-24 09:34:10 -07:00
email-stats.py Initial checkin of ATC scripts 2013-09-24 09:34:10 -07:00
email-stats.sh Update official list of ATC-qualifying projects 2013-10-12 19:20:02 +00:00
README Initial checkin of ATC scripts 2013-09-24 09:34:10 -07:00

These are the scripts used to create the ATC lists for use in PTL
elections and Summit invitations.

0) Write a patch to email-stats.py so steps 1-2 are not necessary.
1) Edit email-stats.py to set your gerrit username.
2) Edit email-stats.py to set the start_date and end_date.
3) Run the following queries on review.openstack.org:

  SELECT * FROM accounts
  INTO OUTFILE '/tmp/accounts.csv'
  FIELDS TERMINATED BY ','
  ENCLOSED BY '"'
  LINES TERMINATED BY '\n';

  SELECT * FROM account_external_ids
  INTO OUTFILE '/tmp/emails.csv'
  FIELDS TERMINATED BY ','
  ENCLOSED BY '"'
  LINES TERMINATED BY '\n';

4) Copy those files to this directory.
5) Run:

  mkdir out
  ./email-stats.sh
  DATE=`date --iso`
  mkdir $DATE
  cat out/*.csv | sort | uniq > $DATE/all.csv
  mv out/* $DATE/

6) You can use diff.py to get the new ATCs since the previous run:

  ./diff.py $OLD-DATE/all.csv $DATE/all.csv $DATE/new.csv