Move reviewers.py into the reviewstats namespace.
Change-Id: I962cd777cb3507d26fd146f553236f7c6e9af772
This commit is contained in:
parent
1b1c2dad6f
commit
839f970377
@ -26,12 +26,12 @@ metadata() {
|
||||
for project in ${projects} ; do
|
||||
project_base=$(basename $(echo ${project} | cut -f1 -d'.'))
|
||||
for time in 30 60 90 180 365 1095; do
|
||||
(metadata && ./reviewers.py -p ${project} -d ${time} ${EXTRA_ARGS} -o results/${project_base}-reviewers-${time} --outputs txt --outputs csv)
|
||||
(metadata && reviewers -p ${project} -d ${time} ${EXTRA_ARGS} -o results/${project_base}-reviewers-${time} --outputs txt --outputs csv)
|
||||
done
|
||||
done
|
||||
|
||||
if [ "${all}" = "1" ] ; then
|
||||
for time in 30 60 90 180 365 1095; do
|
||||
(metadata && ./reviewers.py -a -d ${time} ${EXTRA_ARGS} -o results/all-reviewers-${time} --outputs txt --outputs csv)
|
||||
(metadata && reviewers -a -d ${time} ${EXTRA_ARGS} -o results/all-reviewers-${time} --outputs txt --outputs csv)
|
||||
done
|
||||
fi
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2011 - Soren Hansen
|
||||
@ -320,7 +319,3 @@ def main(argv=None):
|
||||
if on_done:
|
||||
on_done()
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
@ -49,4 +49,5 @@ output_file = reviewstats/locale/reviewstats.pot
|
||||
console_scripts =
|
||||
openapproved = reviewstats.cmd.openapproved:main
|
||||
openreviews = reviewstats.cmd.openreviews:main
|
||||
reviewers = reviewstats.cmd.reviewers:main
|
||||
reviews_for_bugs = reviewstats.cmd.reviews_for_bugs:main
|
||||
|
Loading…
Reference in New Issue
Block a user