Gerrit Batch Abandon

Gerrit Batch Abandon

from: http://www.mediawiki.org/wiki/Gerrit/mass_approval

We might sometime have to generates a ton of changes. For example when doing a similar change on all our repository.
First, you can query gerrit for a list of change using the CLI! A useful alias:alias gerrit='ssh -p 29418 gerrit.wikimedia.org gerrit'

Then use that to execute a query such as all open changes on topic dotgitreview:gerrit query 'status:open topic:dotgitreview'

$ ssh -p 29418 review.example.com gerrit review --verified +1 c0ff33
Append the message “Build Successful”. Notice two levels of quoting is required, one for the local shell, and another for the argument parser inside the Gerrit server: