Merge branch 'stable-3.1' into stable-3.2
* stable-3.1: Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules Update git submodules ListGroups: Accept --ownedby as an alias of --owned-by Update git submodules Update git submodules Fix documentation of owned-by option in groups REST API Update git submodules AssigneeStatusUpdate: Add missing license header ListTestPlugin: Add missing license header Update git submodules Update git submodules gerrit-config.txt: cache-automerge is for "merge" commmits Change-Id: I97b6fcebd85114a764a27271a2804f9105d38e76
This commit is contained in:
@@ -1208,7 +1208,7 @@ Default is true.
|
||||
|
||||
[[change.cacheAutomerge]]change.cacheAutomerge::
|
||||
+
|
||||
When reviewing diff commits, the left-hand side shows the output of the
|
||||
When reviewing merge commits, the left-hand side shows the output of the
|
||||
result of JGit's automatic merge algorithm. This option controls whether
|
||||
this output is cached in the change repository, or if only the diff is
|
||||
cached in the persistent `diff` cache.
|
||||
|
||||
@@ -126,13 +126,13 @@ client so they are generally disabled by default. Optional fields are:
|
||||
|
||||
==== Find groups that are owned by another group
|
||||
|
||||
By setting `ownedBy` and specifying the link:#group-id[\{group-id\}] of another
|
||||
By setting `owned-by` and specifying the link:#group-id[\{group-id\}] of another
|
||||
group, it is possible to find all the groups for which the owning group is the
|
||||
given group.
|
||||
|
||||
.Request
|
||||
----
|
||||
GET /groups/?ownedBy=7ca042f4d5847936fcb90ca91057673157fd06fc HTTP/1.0
|
||||
GET /groups/?owned-by=7ca042f4d5847936fcb90ca91057673157fd06fc HTTP/1.0
|
||||
----
|
||||
|
||||
.Response
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
// Copyright (C) 2019 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package com.google.gerrit.acceptance.rest;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
// Copyright (C) 2019 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package com.google.gerrit.server;
|
||||
|
||||
import com.google.auto.value.AutoValue;
|
||||
|
||||
@@ -191,7 +191,10 @@ public class ListGroups implements RestReadView<TopLevelResource> {
|
||||
options.addAll(ListOption.fromBits(ListGroupsOption.class, Integer.parseInt(hex, 16)));
|
||||
}
|
||||
|
||||
@Option(name = "--owned-by", usage = "list groups owned by the given group uuid")
|
||||
@Option(
|
||||
name = "--owned-by",
|
||||
aliases = {"--ownedby"},
|
||||
usage = "list groups owned by the given group uuid")
|
||||
public void setOwnedBy(String ownedBy) {
|
||||
this.ownedBy = ownedBy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user