Merge "add a query file to show work done on ocata extended maintenance"

This commit is contained in:
Zuul 2018-12-13 14:18:39 +00:00 committed by Gerrit Code Review
commit 25663a87c2
3 changed files with 42 additions and 0 deletions

5
.gitignore vendored
View File

@ -21,3 +21,8 @@ dist/
releasenotes/build
/.stestr/
/*.db
# Files created when queries are run
*.rpt*
*.dat
*.txt

View File

@ -0,0 +1 @@
after:2018-08-30 branch:stable/ocata ( is:merged OR is:open )

View File

@ -0,0 +1,36 @@
#!/bin/bash -xe
if [ ! -f .tox/venv/bin/activate ]; then
tox -e venv --notest
fi
source .tox/venv/bin/activate
for input in queries/ocata-em/ocata-em.qry
do
txt_file=${input%.qry}.txt
dat_file=${input%.qry}.dat
rpt_file=${input%.qry}.rpt
# Text report
who-helped --debug contributions summarize $dat_file \
| tee $rpt_file
# Text report, by team
who-helped --debug contributions summarize --by Team $dat_file \
| tee ${input%.qry}.teams.rpt
# Text report, by team, without deployment tools
who-helped --debug contributions summarize --by Team \
--ignore-team OpenStackAnsible \
--ignore-team 'Puppet OpenStack' \
--ignore-team 'Chef OpenStack' \
--ignore-team 'tripleo' \
--ignore-team 'kolla' \
$dat_file \
| tee ${input%.qry}.service-teams.rpt
# Text report summarizing people per org
who-helped contributions summarize \
--count Name --ignore-single-vendor $dat_file \
| tee $rpt_file.people.csv
done