e6d1ca533e
Change-Id: I4584b1fed09b0e10f144b9110457436dd04d601d
20 lines
395 B
Bash
Executable File
20 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
projects=projects/*.json
|
|
|
|
if [ -n "${GERRIT_USER}" ] ; then
|
|
EXTRA_ARGS="-u ${GERRIT_USER}"
|
|
fi
|
|
|
|
metadata() {
|
|
date -u
|
|
echo -n "reviewstats HEAD: "
|
|
git rev-parse HEAD
|
|
echo
|
|
}
|
|
|
|
for project in ${projects} ; do
|
|
project_base=$(basename $(echo ${project} | cut -f1 -d'.'))
|
|
(metadata && reviews_for_bugs -p ${project} ${EXTRA_ARGS}) > results/${project_base}-reviews-for-bugs.txt
|
|
done
|