Page MenuHomePhabricator

Create a bot that can talk to Gerrit
Closed, ResolvedPublic

Description

As a developer I want a script that when run can post a -1 or +1 review to a gerrit patch.
This will enable us to in future setup a script that runs browser tests and fires off a -1 or a +1 to a Gerrit commit.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)

There is a REST API and an SSH API for doing reviews.

I went with the ssh command
Works perfectly and I've folded it into GerritCommandLine tool. We can go to Gerrit.wikimedia.org even less now!! woo! :)

https://github.com/jdlrobson/GerritCommandLine/commit/b4b3473470a6dcf457a6cc76525264aa9470ba7c

This is done I guess :)