In our Gerrit installation (2.8.1-2-g724b796) I'd like to search for changesets of mine that cannot be merged, but must be rebased. For example, this change has "Can Merge" as "No" and would need a manual rebase.

Is there a search syntax to find those changes? Do our administrators need to set up an extra label or something similar?

有帮助吗?

解决方案

With your currently running 2.8 version, this is not possible.

Gerrit 2.9 brings the is:mergeable search operator (docs, change), which should allow you to search for exactly this.

其他提示

On versions up to 2.8, there's no way to do this with a search parameter:

https://review.openstack.org/Documentation/user-search.html

On version 2.9+, there's a new is:mergeable search parameter:

https://gerrit-review.googlesource.com/Documentation/user-search.html#is

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top