Gerrit Queries
A script for constructing gerrit JCL queries
% git clone ssh://gerrit.opencord.org/onf-scripts
# Checkout git submodules
% make -C onf-scripts
% cd onf-scripts/gerrit/bin
% gerrit.sh –help
Gerrit by patch or user
Jira | Command | Description |
---|
x | gerrit.sh --dashboard | View user dashboard |
x | gerrit.sh --wip | Display unmerged patches |
x | gerrit.sh --all voltha-lib-go | Display metadata for a repo: branches, tags, source |
x | gerrit.sh --status merged [--user u] | View merged patches |
Search for unmerged patches
Jira | Command | Description |
---|
x | gerrit.sh --wip --me | Display my unmerged patches |
Pending code reviews
Jira | Command | Description |
---|
x | gerrit.sh --review --my | Display my pending code reviews |
x | gerrit.sh --reviewer [u] --reviewer [u] | Display pending code reviews by user |
By repository
Jira | Command | Description |
---|
x | gerrit.sh --patch voltha-lib-go | View open patches by repository |
Misc
Jira | Command | Description |
---|
x | gerrit.sh --view repo voltha-lib-go | View repository VERSION file |
See Also