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
This commit is contained in:
Sean Dague 2013-05-19 10:04:35 -04:00 committed by Jenkins
parent 2f116c50b8
commit ba2ecf4097
1 changed files with 4 additions and 0 deletions

View File

@ -138,6 +138,9 @@ if [ "$GERRIT_STATS" = "y" ] ; then
python gerritdm -l 20 \
< "${TEMPDIR}/${project}-${RELEASE}-reviewers.txt" \
> "${TEMPDIR}/${project}-gerrit-stats.txt"
python gerritdm -z \
< "${TEMPDIR}/${project}-${RELEASE}-reviewers.txt" \
> "${TEMPDIR}/${project}-gerrit-stats-all.txt"
done
> "${TEMPDIR}/gerrit-reviewers.txt"
@ -146,6 +149,7 @@ if [ "$GERRIT_STATS" = "y" ] ; then
cat "${TEMPDIR}/${project}-${RELEASE}-reviewers.txt" >> "${TEMPDIR}/gerrit-reviewers.txt"
done
python gerritdm -l 20 < "${TEMPDIR}/gerrit-reviewers.txt" > "${TEMPDIR}/gerrit-stats.txt"
python gerritdm -z < "${TEMPDIR}/gerrit-reviewers.txt" > "${TEMPDIR}/gerrit-stats-all.txt"
fi
cd ${BASEDIR}