554664d977
Our repo shortnames are unique across all namespaces, so remap governance repo names to Gerrit repo names by matching them in any namespace. This works around asynchronous namespace moves which may take effect independently in project-config and governance repos at different times. Change-Id: Ia70202bb874b6671950f4033d974087a2ee531d5 |
||
---|---|---|
.. | ||
diff.py | ||
email_stats.py | ||
README |
These are the scripts used to create the ATC lists for use in PTL elections and Summit invitations. 1) Run the following queries on review.openstack.org: sudo -H mysql -e 'SELECT * FROM accounts;' reviewdb > accounts.tab sudo -H mysql -e 'SELECT * FROM account_external_ids;' reviewdb > emails.tab 2) Copy those files to this directory. 3) Run: mkdir out virtualenv venv . venv/bin/activate pip install paramiko requests pyyaml ./email_stats.py --begin <BEGINTIME> # optionally specify --end, --keyfile, --ref and --user TIME=`date +%Y%m%d%H%M%S` mv out $TIME cat $TIME/*.csv | sort | uniq > $TIME/all.csv 4) You can use diff.py to get the new ATCs since the previous run: ./diff.py $OLD-TIME/all.csv $TIME/all.csv $TIME/new.csv