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>