Move openapproved into the reviewstats namespace.
This involves updating one of the shell scripts which now depends on 'pip install -e .' or 'pip install reviewstats' (for a release) having been run. Change-Id: I2e63501c4a41ed0b20b1ab7ba1e2f78beed04962
This commit is contained in:
parent
df820e42a5
commit
3e09039c02
@ -28,7 +28,7 @@ for project in ${projects} ; do
|
||||
project_base=$(basename $(echo ${project} | cut -f1 -d'.'))
|
||||
(metadata && ./openreviews.py -p ${project} ${EXTRA_ARGS}) > results/${project_base}-openreviews.txt
|
||||
./openreviews.py -p ${project} --html ${EXTRA_ARGS} > results/${project_base}-openreviews.html
|
||||
(metadata && ./openapproved.py -p ${project} ${EXTRA_ARGS}) > results/${project_base}-openapproved.txt
|
||||
(metadata && openapproved -p ${project} ${EXTRA_ARGS}) > results/${project_base}-openapproved.txt
|
||||
done
|
||||
|
||||
if [ "${all}" = "1" ] ; then
|
||||
@ -44,5 +44,5 @@ if [ "${all}" = "1" ] ; then
|
||||
echo "</html>" >> results/all-openreviews.html.tmp
|
||||
mv results/all-openreviews.html.tmp results/all-openreviews.html
|
||||
|
||||
(metadata && ./openapproved.py -a ${EXTRA_ARGS}) > results/all-openapproved.txt
|
||||
(metadata && openapproved -a ${EXTRA_ARGS}) > results/all-openapproved.txt
|
||||
fi
|
||||
|
0
reviewstats/cmd/__init__.py
Normal file
0
reviewstats/cmd/__init__.py
Normal file
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (C) 2011 - Soren Hansen
|
||||
# Copyright (C) 2013 - Red Hat, Inc.
|
||||
#
|
||||
@ -86,7 +84,3 @@ def has_negative_feedback(patch_set):
|
||||
and review['value'] in ('-1', '-2'):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
@ -43,4 +43,8 @@ input_file = reviewstats/locale/reviewstats.pot
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = reviewstats/locale/reviewstats.pot
|
||||
output_file = reviewstats/locale/reviewstats.pot
|
||||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
openapproved = reviewstats.cmd.openapproved:main
|
||||
|
Loading…
Reference in New Issue
Block a user