add a query file to show work done on ocata extended maintenance
Change-Id: I48260047380e16984a5e011b9b931aaa5659b18b Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
5b490b410a
commit
8cb009ace2
5
.gitignore
vendored
5
.gitignore
vendored
@ -21,3 +21,8 @@ dist/
|
||||
releasenotes/build
|
||||
/.stestr/
|
||||
/*.db
|
||||
|
||||
# Files created when queries are run
|
||||
*.rpt*
|
||||
*.dat
|
||||
*.txt
|
||||
|
1
queries/ocata-em/ocata-em.qry
Normal file
1
queries/ocata-em/ocata-em.qry
Normal file
@ -0,0 +1 @@
|
||||
after:2018-08-30 branch:stable/ocata ( is:merged OR is:open )
|
36
queries/ocata-em/run_contributor_report.sh
Executable file
36
queries/ocata-em/run_contributor_report.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user