tree: 3e964a17b053143117675d7082cdd3f22c808c7d [path history] [tgz]
  1. README.md
  2. bin/
  3. gerrit/
  4. makefile
gerrit/README.md

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

JiraCommandDescription
xgerrit.sh --dashboardView user dashboard
xgerrit.sh --wipDisplay unmerged patches
xgerrit.sh --all voltha-lib-goDisplay metadata for a repo: branches, tags, source
xgerrit.sh --status merged [--user u]View merged patches

Search for unmerged patches

JiraCommandDescription
xgerrit.sh --wip --meDisplay my unmerged patches

Pending code reviews

JiraCommandDescription
xgerrit.sh --review --myDisplay my pending code reviews
xgerrit.sh --reviewer [u] --reviewer [u]Display pending code reviews by user

By repository

JiraCommandDescription
xgerrit.sh --patch voltha-lib-goView open patches by repository

Misc

JiraCommandDescription
xgerrit.sh --view repo voltha-lib-goView repository VERSION file

See Also