Commit Graph

13 Commits

Author SHA1 Message Date
Dan Stangel ad78162829 Tidy the do-it script to conform to bash8
Clean up the primary analysis runner script to conform to bash8 standards
for trailing whitespace and function definitions

Change-Id: Ib7bcbc97a19d8726e826e61b2f9228c1b1186b69
2014-07-15 09:28:52 -06:00
Dan Stangel e3252c037f Add header to output files and allow date ranges
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
2014-01-27 13:27:11 -07:00
Dan Stangel d087fae129 Make the debug facility a "normal" gitdm option
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
2013-06-08 01:28:10 +00:00
Dan Stangel b783b79c96 Add a debugging facility to the main runner script, and include debug messages at key points
Change-Id: Ieef53eafffee27089d30e2d21545868db7af6f64
Reviewed-on: https://review.openstack.org/31304
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Sean Dague <sean@dague.net>
Reviewed-by: Sean Dague <sean@dague.net>
Tested-by: Jenkins
2013-06-03 19:23:38 +00:00
Monty Taylor 370c4a0ed8 Clone if repos aren't there.
Change-Id: Ie1dde8d10e6fa7143e0d2f9d54c05fac48dc8b01
Reviewed-on: https://review.openstack.org/31227
Approved: Dan Stangel <dgstangel@gmail.com>
Reviewed-by: Dan Stangel <dgstangel@gmail.com>
Tested-by: Jenkins
2013-05-31 21:16:41 +00:00
Sean Dague cdfe31e65f disable LP_STATS by default
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
2013-05-31 18:43:27 +00:00
Sean Dague ba2ecf4097 also generate a full dump of gerrit
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
2013-05-20 14:15:44 +00:00
Sean Dague 18757cfccf generate the csv files for gitdm as well
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
2013-05-20 14:15:43 +00:00
Sean Dague 3997b210dc add more collections from havana
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
2013-05-20 14:15:41 +00:00
Mark McLoughlin 134a1b79c6 Grizzly! 2013-03-28 10:41:41 +00:00
Mark McLoughlin 9905943232 Allow parts of do-it.sh to be disabled
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.
2013-03-28 10:41:37 +00:00
Mark McLoughlin 9a77beb1c9 Add folsom config 2012-09-26 23:05:41 +01:00
Mark McLoughlin c2cf1e2429 Add do-it.sh 2012-04-06 07:44:49 +01:00