我使用以下查询来获取项目“平台/供应商/公司/代码”中所有打开的Gerrit的数据,现在我只想获取特定Gerrit的数据。.说有一个Gerrit#12345。我想获取该gerrit的数据。是否可以为此编写gerrit查询?
ssh -p 29418 review-android.company.com gerrit query --current-patch-set --commit-message --files 'status:open project:platform/vendor/company/code branch:master label:Developer-Verified=1 AND label:Code-Review>=1'
You can just replace the query string with the gerrit change number. So for your example,
ssh -p 29418 review-android.company.com gerrit query --current-patch-set --commit-message --files '12345'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.