How to get all changes with a given theme from gerrit

We want to use themes for changes that are under development, but we need to get them, because we are building from the server. We know that we can get commit and change, but we want to get the topic name for simplicity.

We did not find a way. Does anyone know how we can do this?

We have canceled the use of branches for testing development because they bring garbage to the main repository, and we will need to delete them afterwards and replicate all these deletions all over the world.

+4
source share
1 answer

You should use gerrit query to find all open changes on a known topic:

ssh -p 29418 review.example.com gerrit query --format=JSON topic:MY-TOPIC status:open project:xxx

JSON, CI.

+4

Source: https://habr.com/ru/post/1624721/


All Articles