My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1020: gerrit query ssh API missing dependency information
11 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Nov 2012

Blocked on:
issue 855


Sign in to add a comment
 
Reported by umuf...@gmail.com, Jun 22, 2011
using the "ssh gerrit query" API does not return change dependency information, missing 'Depends On' and 'Needed By' fields, linking to referring gerrits, as well as returning if the patch-set that is referred to is 'current' or 'stale'.  See https://code.google.com/p/gerrit/issues/detail?id=855 for related UI issue.

Example:
ssh -p $PORT $SERVER -- "gerrit query project:xyz branch:master is:open"
shall include:
  depends_on:
    id: Ib022cd1d5cc72bc8520bf389bf2d2f1f1dd9b123
    number: 1
    revision: 0fb955b94caa028de570d26e38340f8405e04123
    ref: refs/changes/23/54123/1
    is_current: 1
    
  needed_by:
    id: Ib022cd1d5cc72bc8520bf389bf2d2f1f1dd9b321
    number: 2
    revision: 0fb955b94caa028de570d26e38340f8405e04321
    ref: refs/changes/12/54123/2
    is_current: 0


Jun 29, 2011
Project Member #1 nas...@codeaurora.org
(No comment was entered for this change.)
Status: Accepted
Blockedon: 855
Nov 16, 2012
Project Member #2 choro...@wikimedia.org
This was added some time ago, via the --dependencies option for query.
Status: Released
Blockedon: -gerrit:855 gerrit:855
Feb 19, 2014
#3 jdbert...@gmail.com
Does not report dependencies which need to be rebased. 
Sign in to add a comment

Powered by Google Project Hosting