This just centralizes the code for getting the core team for a
project. The next patch will add an alternate method for determining
the team by querying gerrit's REST API.
This code was reconnecting via ssh on every iteration of the loop,
which is completely unnecessary. It should use the existing
connection and only reconnect if there was an SSH error when exeuting
a command. The code should also explicitly close the connection when
With no cache, this code has to download the entire review history for
a project, which takes a really long time, not to mention it's
There was code to keep a local cache, but it expired after an hour.
It would make quick repeated runs go faster, but for the stats I keep
posted for OpenStack projects this didn't help. I regenerate
everything less often. My stats site is basically broken because of
how terribly inefficient this is.
This updated code keeps the cache around without expiring it.
Instead, it just updates the cache until it hits the first change that
hasn't changed since our cached version and stops. This should make
things work much better and allow my stats site to keep working.
The reviewstats library cannot be installed from PyPI as it is, as
a tag is needed, or at least a package download URL must be
specified. A user can still install the library and the utilities
by cloning the repo and running the setup script, and therefore
this process is documented rather than the erroneous pip command.
Add openstackdocstheme as new repository, remove recently removed folks
from core-team list. Fix typos in Summer's and Shilla's login.
Add three new core members.
Add Nathaniel Dillon (sicarie)
As discussed on openstack-dev, tchaypo (aka James Polley, aka me, so
please don't approve this commit without getting approval from Spamaps)
is now a TripleO core reviewer.
Workflow documentation links were updated, but the wording doesn't
quite make sense now because the first link includes the second link.
Made adjustments to the text so that it is clear which link to use.