Clean up the primary analysis runner script to conform to bash8 standards
for trailing whitespace and function definitions
Change-Id: Ib7bcbc97a19d8726e826e61b2f9228c1b1186b69
This change adds a brief one line header to all default output files
to indicate when the analysis was generated.
It also allows the gitdm configuration file to use a date of the
format YYYY-MM-DD to specify the start or end date of a range of
commits, rather than only allowing a git changeset hash. This is
valuable for analyzing projects which do not routinely or
consistently use tags, and when it is difficult to precisely
pinpoint the git commit that corresponds to a time-based release.
Change-Id: I899f6c6b046462addd3235e7797a3e1a63c8776c
Allow the environment to influence DEBUG, and rename it GITDM_DEBUG to be more unique
Change-Id: I4ea078435d2ddcd1fb9177887d70c1d3f861ad13
Reviewed-on: https://review.openstack.org/31665
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
they take forever, so make people turn them on if they want them
Change-Id: I9321a0f1285248f3a9e9894f79fd72a232621fab
Reviewed-on: https://review.openstack.org/31246
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
for downstream processing it's nice to have all the gerrit stats
not just the top 20 per project. This allows for accounting within
a large organization.
Change-Id: Ie578ad1cebc19aa748157d92aa8f87557292a9fa
Reviewed-on: https://review.openstack.org/29702
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Sean Dague <sean@dague.net>
Tested-by: Jenkins
for further downstream processing, having the csv files is really
useful. So generate them as well for all the projects, and for the
list as a whole.
Change-Id: I9c582e2c8a73b5da13e7f161f415fc13ac05feff
Reviewed-on: https://review.openstack.org/29697
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Sean Dague <sean@dague.net>
Tested-by: Jenkins
fix do-it.sh so that you can specify a different collection. This
is useful for generating stats for not just core, but core+libs,
or core+other important projects
Initial seeds for these projects also provided. Adding others would
be welcomed.
Change-Id: I05a1d3f61e01f449d6160f5eb4b6a674e8cd9feb
Reviewed-on: https://review.openstack.org/29693
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Sean Dague <sean@dague.net>
Tested-by: Jenkins
I finally got sick of commenting parts of the script out. You can
do e.g.
REMOVE_TEMPDIR=n GERRIT_STATS=n LP_STATS=n UPDATE_GIT=n ./do-it.sh
to generate the git stats. Leaving the temp dir hanging around is
nice because it allows you to grep through the commit log for email
addresses etc.