4221432946
Change-Id: I9c70100b95db204dc5e2d4273f34950111c7b899 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
20 lines
418 B
Bash
Executable File
20 lines
418 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
if [ ! -f .tox/venv/bin/activate ]; then
|
|
tox -e venv --notest
|
|
fi
|
|
source .tox/venv/bin/activate
|
|
|
|
for input in $*
|
|
do
|
|
txt_file=${input%.qry}.txt
|
|
dat_file=${input%.qry}.dat
|
|
|
|
# Query gerrit
|
|
who-helped -v --debug changes query "$(cat $input)" $txt_file
|
|
|
|
# Build the raw contribution data file
|
|
who-helped --debug contributions list -f csv $txt_file \
|
|
| tee $dat_file
|
|
done
|