Hey all,
Ryan Lane just made me aware of the gerrit commandline. We're going to use it to approve l10n-bot commits right after submitting them for review.
I want to share with you an example command:
ssh l10n-bot@gerrit.wikimedia.org -p 29418 gerrit review 9748,1 --code-review 2 --verified 1 --submit
This has user "l10n-bot" set code-review to +2, verified to +1 for CHANGE 9748, PATCHSET 1, and tries to merge it.
You can get some help text output using the following sample commands:
Help on all gerrit actions: ssh l10n-bot@gerrit.wikimedia.org -p 29418 gerrit --help
Help on gerrit review: ssh l10n-bot@gerrit.wikimedia.org -p 29418 gerrit review --help
In all examples you will probably have to replace "l10n-bot" with your own gerrit username.
Cheers!
Siebrand