My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2207: Query for CodeReview does not find any changes
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Oct 2013


Sign in to add a comment
 
Reported by j...@kallwies.com, Oct 19, 2013
Affected Version: 2.7

What steps will reproduce the problem?
1. Create changes with CodeReview -2, -1, +1 and +2 
2. Create changes with Verified -1 and +1
3. Use query:
   "CodeReview-2" or
   "CodeReview-1" or
   "CodeReview+1" or
   "CodeReview+2"

What is the expected output? What do you see instead?
I would expect to see the commits which have the corresponding code review scores. Instead I do not see any commit.

Please provide any additional information below.
I tried it with the web interface as well as with the commandline via ssh. The query for Verified works fine.
Oct 22, 2013
Project Member #1 david.pu...@sonymobile.com
Try "label:code-review+2" and "label:code-review-2" etc

Status: AwaitingInformation
Oct 22, 2013
#2 j...@kallwies.com
That works. Thanks. But it is quite confusing, that it works for verified and not for CodeReview...

Moreover it would be really nice if a warning or whatever would appear since these queries worked in older versions.
Oct 22, 2013
Project Member #3 david.pu...@sonymobile.com
The new syntax is described in the search documentation [1].

There are still a couple of inaccuracies in that version; they have been corrected in the version that will be released with 2.8 [2].

However this bit seems to either be still wrong, or just not working any more:

  A label name is any of the following:
  [...]
  The one or two character abbreviation shown in the column header of change list pages. Example: label:R or label:V


[1] https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/user-search.html#labels

[2] https://gerrit-documentation.storage.googleapis.com/Documentation/2.8/user-search.html#labels

Oct 22, 2013
Project Member #4 david.pu...@sonymobile.com
Documentation fixes:

https://gerrit-review.googlesource.com/51110

https://gerrit-review.googlesource.com/51111
Status: ChangeUnderReview
Oct 23, 2013
Project Member #5 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.8
Dec 9, 2013
Project Member #6 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting