tree: 7f5284b99113d8b66dac0fcb4dbf4823956dd148 [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