From 1c608c8143d1561fc2d40326bbcb551d9f9fb13c Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 24 Jun 2014 18:45:45 +0000 Subject: [PATCH] Rename ATC listing script Rename tools/atc/email-stats.py to tools/atc/email_stats.py in preparation for making it an importable module. This is being separated from the subsequent change to make it more reviewable. Change-Id: I1907de0715c96f54edb44910746fbb24a5ab8665 --- tools/atc/README | 6 +++--- tools/atc/email-stats.sh | 2 +- tools/atc/{email-stats.py => email_stats.py} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename tools/atc/{email-stats.py => email_stats.py} (100%) diff --git a/tools/atc/README b/tools/atc/README index 658155c8fb..4a606990f8 100644 --- a/tools/atc/README +++ b/tools/atc/README @@ -1,9 +1,9 @@ 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. +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 diff --git a/tools/atc/email-stats.sh b/tools/atc/email-stats.sh index 293129217d..522948704d 100755 --- a/tools/atc/email-stats.sh +++ b/tools/atc/email-stats.sh @@ -7,7 +7,7 @@ for project in $( | grep '^ *- [A-Za-z_-]\+/[A-Za-z_-]\+$' \ | sed 's/^ *- //' ) ; do - python email-stats.py -p $project -o out/$( basename $project ).csv + python email_stats.py -p $project -o out/$( basename $project ).csv done # Confirmed list of non-code contributors diff --git a/tools/atc/email-stats.py b/tools/atc/email_stats.py similarity index 100% rename from tools/atc/email-stats.py rename to tools/atc/email_stats.py