Commit Graph

18 Commits

Author SHA1 Message Date
Jeremy Stanley
554664d977 Remap repo names in ATC query script
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
2015-08-08 02:57:05 +00:00
Jeremy Stanley
ec26e2b988 Update ATC and approvers scripts for deliverables
In I2aa729d1b4278743a5e99b41178dc2d11b3e1348 the projects.yaml file
of the governance repo was reorganized to support a new
"deliverables" concept which provides a subgrouping of related repos
under each project team. This requires adjustments in the scripts
consuming that file, specifically email_stats.py and
who-approves.py.

Change-Id: I041a62fd86a776279536f003724cb8c289922080
2015-08-06 18:18:04 +00:00
Jeremy Stanley
85f6bb9db8 Update email_stats.py for the big tent
Changes to the projects.yaml (nee programs.yaml) in the
openstack/governance repo to accommodate big tent terminology have
resulted in a need to similarly adjust the script interpreting it.
While at it, update the variable names within the script for
clarity.

Change-Id: Ie001901c33749aa41181a09e43576bf9d516b4e5
2015-02-11 00:05:12 +00:00
Jeremy Stanley
981ba7290d Specify ATC contribution start/end in seconds
Change-Id: Ic62b00782f1ef709ce6f7b14217d36f02e230d79
2014-10-05 19:10:05 +00:00
Jeremy Stanley
58829de5bc Allow a git ref to pin the governance repo
Change-Id: I230c22fb83447b336eda14a7f10cf33e52e3d321
2014-09-26 16:28:53 +00:00
Jeremy Stanley
dfb806c896 Ignore extra-atcs lines which look like comments
Change-Id: I8054f4582ad93a5dd31a2d5de288250780ebbf3f
2014-09-26 16:27:53 +00:00
Jeremy Stanley
19c0ee2d3c Modernize ATCs script to Gerrit 2.8, programs.yaml
* tools/atc/README: Simplify instructions to use mysqlclient
tab-separated-values stdout, and remove obsolete manual steps which
have been automated.

* tools/atc/email-stats.sh: The functionality this shell script
previously provided has now been translated to Python and folded
into the inner script.

* tools/atc/email_stats.py: Implement the old email-stats.sh outer
loop, make it possible to run in a virtualenv, and make previously
hard-coded constants into command-line parameters with sane and
dynamically-determined defaults. Update field order and contents to
cope with differences in Gerrit 2.8, use a proper YAML parser on the
programs.yaml which has also changed format since the previous run,
and adjust for the improved extra-atcs file format as well.

Change-Id: I2deef2e6766ff998190e66737e7cec9cdcd5459c
2014-06-26 02:35:29 +00:00
Jeremy Stanley
69e247d873 Make ATC lists sort E-mails with preferred first
* tools/atc/email-stats.py: Adjust the order in which Gerrit E-mail
addresses are returned so that the one listed as the preferred
address is sorted to the beginning of the set.

Change-Id: I95b5817ada58f4059df4f5c0b406183f1c1e5b74
2014-06-24 20:37:40 +00:00
Jeremy Stanley
876ba7a23b ATC listing script is importable
* tools/atc/email_stats.py: Move procedural code out of the global
scope to make this file safely importable, and clean up a couple of
unused variables flake8 noticed in the newly importable main
codeblock.

Change-Id: I1a29c84e067eea875ba57a16196723f65f60ff01
2014-06-24 19:38:10 +00:00
Jeremy Stanley
1c608c8143 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
2014-06-24 19:38:03 +00:00
Jeremy Stanley
9822dd517e Retrieve ATC project list from governance repo
* tools/atc/email-stats.sh: We now have an official list of projects
in the openstack/governance project, so use it instead of the old
hard-coded list.

Change-Id: If93c71174687ac7e4e46d514642c48edb841adfe
2014-02-28 16:50:29 +00:00
Jenkins
7e63b56768 Merge "Modernize ATC list format" 2014-02-24 17:46:09 +00:00
Jeremy Stanley
d654b45b60 Modernize ATC list format
* tools/atc/README: When generating the initial data dump, MySQL on
review.openstack.org creates output files with DOS line endings and
ISO-8859-1 encoding. Recommend using fromdos and iconv to normalize
them.

Change-Id: Ie16a56c024b0eee97b0e6bd5abe8ed3b0e0a9f7e
2014-02-13 16:24:22 +00:00
Sergey Lukjanov
36c5828df4 Add storyboard-webclient to ATC lists generator
Storyboard is already added, so, let's add storyboard-webclient folks too.

Change-Id: Ic5ec6de4c393f42d215e71920022223cd5d42a5b
2014-02-11 15:52:21 +04:00
Robert Collins
2ac82bed8b Move tuskar-ui to horizon program.
Where it is moving :).

Change-Id: I403834570f646cc78f879c9ca0d9d9bbe470fa3c
2014-01-22 10:01:31 +13:00
Monty Taylor
38f8d43ffc Fix pep8 errors in modules dir
There weren't that many of them - just fix them.

Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
2013-11-12 11:30:34 -05:00
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
James E. Blair
96f2f6ddd9 Initial checkin of ATC scripts
Change-Id: Ibffab01bc835d380ca9f0c18521c8a6d808de761
2013-09-24 09:34:10 -07:00