Move reviewers.py into the reviewstats namespace.

Change-Id: I962cd777cb3507d26fd146f553236f7c6e9af772
This commit is contained in:
Robert Collins 2013-11-25 07:20:26 +00:00 committed by Russell Bryant
parent 1b1c2dad6f
commit 839f970377
3 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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())

View File

@ -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