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:
		
							
								
								
									
										4
									
								
								do-it.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								do-it.sh
									
									
									
									
									
								
							| @@ -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} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sean Dague
					Sean Dague