Add lftools infofile check-votes 62/14962/10 v0.22.0
authorAric Gardner <agardner@linuxfoundation.org>
Tue, 19 Mar 2019 19:00:50 +0000 (15:00 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 21 Mar 2019 19:28:13 +0000 (15:28 -0400)
commitf7c7130a6b233d71d4371c5df612f978c651768b
tree294344a3d07bacce08906154f3521de33220c7e6
parent49182b3e3a83f8e9ae6f7c17eaefa77f48318831
Add lftools infofile check-votes

Usage: lftools infofile check-votes [OPTIONS] INFO_FILE GERRIT_URL
                                    CHANGE_NUMBER
$ lftools infofile check-votes ~/lf/allrepos/pharos/INFO.yaml \
https://gerrit.opnfv.org/gerrit/ 67269
Number of Committers:
11
Committers have voted:
['mrichomme', 'trev', 'jose.lausuch', 'fdegir', 'Julien-zte',
'agardner', 'bramwelt', 'AlexandruAvadanii', 'gherrero']
9
Committers that have not voted:
['jmorgan1', 'wenjing']
2
majority vote reached
$ echo $?
0
(in this case exit 0 rather than 1)

Problems:
1) Someone will have to comment recheck when
majority is reached for the auto merge from
jenkins.

2) Non-Interactive Users will need submit.
(and possibly +2? (unless we expect one of the votes to be a +2)

ISSUE:RELENG-975

Change-Id: I83df2e20c3ae61681de3c0fbe5c90aaa1d873a8f
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
.coafile
docs/commands/index.rst
docs/commands/infofile.rst [new file with mode: 0644]
lftools/cli/infofile.py
releasenotes/notes/infofile-2116cc444a88945e.yaml [new file with mode: 0644]
requirements.txt