Merge branch 'stable-2.15' into stable-2.16
* stable-2.15: config-plugins: Move 'review-strategy' out of the core plugins section Bazel: Clean up package visibility settings Change-Id: Ia29fd049fe241dfbb15bc07a0e7ac2fb31d97c33
This commit is contained in:
commit
d4ddf19192
2
BUILD
2
BUILD
@ -57,7 +57,6 @@ genrule(
|
|||||||
cmd = ("cat bazel-out/volatile-status.txt bazel-out/stable-status.txt | " +
|
cmd = ("cat bazel-out/volatile-status.txt bazel-out/stable-status.txt | " +
|
||||||
"grep STABLE_BUILD_GERRIT_LABEL | cut -d ' ' -f 2 > $@"),
|
"grep STABLE_BUILD_GERRIT_LABEL | cut -d ' ' -f 2 > $@"),
|
||||||
stamp = 1,
|
stamp = 1,
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
genrule(
|
genrule(
|
||||||
@ -65,7 +64,6 @@ genrule(
|
|||||||
srcs = ["//Documentation:licenses.txt"],
|
srcs = ["//Documentation:licenses.txt"],
|
||||||
outs = ["LICENSES.txt"],
|
outs = ["LICENSES.txt"],
|
||||||
cmd = "cp $< $@",
|
cmd = "cp $< $@",
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_war(
|
pkg_war(
|
||||||
|
@ -40,7 +40,6 @@ filegroup(
|
|||||||
":prettify_files",
|
":prettify_files",
|
||||||
"//:LICENSES.txt",
|
"//:LICENSES.txt",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
license_map(
|
license_map(
|
||||||
@ -51,7 +50,6 @@ license_map(
|
|||||||
"//polygerrit-ui/app:polygerrit_ui",
|
"//polygerrit-ui/app:polygerrit_ui",
|
||||||
"//java/com/google/gerrit/pgm",
|
"//java/com/google/gerrit/pgm",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
license_map(
|
license_map(
|
||||||
@ -60,7 +58,6 @@ license_map(
|
|||||||
"//gerrit-gwtui:ui_module",
|
"//gerrit-gwtui:ui_module",
|
||||||
"//polygerrit-ui/app:polygerrit_ui",
|
"//polygerrit-ui/app:polygerrit_ui",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
DOC_DIR = "Documentation"
|
DOC_DIR = "Documentation"
|
||||||
@ -88,7 +85,6 @@ genasciidoc(
|
|||||||
srcs = SRCS,
|
srcs = SRCS,
|
||||||
attributes = documentation_attributes(),
|
attributes = documentation_attributes(),
|
||||||
backend = "html5",
|
backend = "html5",
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
genasciidoc_zip(
|
genasciidoc_zip(
|
||||||
@ -97,7 +93,6 @@ genasciidoc_zip(
|
|||||||
attributes = documentation_attributes(),
|
attributes = documentation_attributes(),
|
||||||
backend = "html5",
|
backend = "html5",
|
||||||
directory = DOC_DIR,
|
directory = DOC_DIR,
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
genasciidoc_zip(
|
genasciidoc_zip(
|
||||||
@ -107,5 +102,4 @@ genasciidoc_zip(
|
|||||||
backend = "html5",
|
backend = "html5",
|
||||||
directory = DOC_DIR,
|
directory = DOC_DIR,
|
||||||
searchbox = False,
|
searchbox = False,
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
@ -112,16 +112,6 @@ Project] |
|
|||||||
link:https://gerrit.googlesource.com/plugins/reviewnotes/+doc/master/src/main/resources/Documentation/about.md[
|
link:https://gerrit.googlesource.com/plugins/reviewnotes/+doc/master/src/main/resources/Documentation/about.md[
|
||||||
Documentation]
|
Documentation]
|
||||||
|
|
||||||
[[review-strategy]]
|
|
||||||
=== review-strategy
|
|
||||||
|
|
||||||
This plugin allows users to configure different review strategies.
|
|
||||||
|
|
||||||
link:https://gerrit-review.googlesource.com/admin/repos/plugins/review-strategy[
|
|
||||||
Project] |
|
|
||||||
link:https://gerrit.googlesource.com/plugins/review-strategy/+doc/master/src/main/resources/Documentation/about.md[
|
|
||||||
Documentation]
|
|
||||||
|
|
||||||
[[singleusergroup]]
|
[[singleusergroup]]
|
||||||
=== singleusergroup
|
=== singleusergroup
|
||||||
|
|
||||||
@ -565,6 +555,16 @@ Documentation] |
|
|||||||
link:https://gerrit.googlesource.com/plugins/reparent/+doc/master/src/main/resources/Documentation/config.md[
|
link:https://gerrit.googlesource.com/plugins/reparent/+doc/master/src/main/resources/Documentation/config.md[
|
||||||
Configuration]
|
Configuration]
|
||||||
|
|
||||||
|
[[review-strategy]]
|
||||||
|
=== review-strategy
|
||||||
|
|
||||||
|
This plugin allows users to configure different review strategies.
|
||||||
|
|
||||||
|
link:https://gerrit-review.googlesource.com/admin/repos/plugins/review-strategy[
|
||||||
|
Project] |
|
||||||
|
link:https://gerrit.googlesource.com/plugins/review-strategy/+doc/master/src/main/resources/Documentation/about.md[
|
||||||
|
Documentation]
|
||||||
|
|
||||||
[[reviewers]]
|
[[reviewers]]
|
||||||
=== reviewers
|
=== reviewers
|
||||||
|
|
||||||
|
@ -3,21 +3,18 @@ package(default_visibility = ["//visibility:public"])
|
|||||||
java_library(
|
java_library(
|
||||||
name = "codec",
|
name = "codec",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-codec//jar"],
|
exports = ["@commons-codec//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "compress",
|
name = "compress",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-compress//jar"],
|
exports = ["@commons-compress//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "lang",
|
name = "lang",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-lang//jar"],
|
exports = ["@commons-lang//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -30,14 +27,12 @@ java_library(
|
|||||||
java_library(
|
java_library(
|
||||||
name = "net",
|
name = "net",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-net//jar"],
|
exports = ["@commons-net//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "dbcp",
|
name = "dbcp",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-dbcp//jar"],
|
exports = ["@commons-dbcp//jar"],
|
||||||
runtime_deps = [":pool"],
|
runtime_deps = [":pool"],
|
||||||
)
|
)
|
||||||
@ -45,20 +40,17 @@ java_library(
|
|||||||
java_library(
|
java_library(
|
||||||
name = "pool",
|
name = "pool",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-pool//jar"],
|
exports = ["@commons-pool//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "validator",
|
name = "validator",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-validator//jar"],
|
exports = ["@commons-validator//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "io",
|
name = "io",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@commons-io//jar"],
|
exports = ["@commons-io//jar"],
|
||||||
)
|
)
|
||||||
|
@ -3,6 +3,5 @@ package(default_visibility = ["//visibility:public"])
|
|||||||
java_library(
|
java_library(
|
||||||
name = "elasticsearch-rest-client",
|
name = "elasticsearch-rest-client",
|
||||||
data = ["//lib:LICENSE-elasticsearch"],
|
data = ["//lib:LICENSE-elasticsearch"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@elasticsearch-rest-client//jar"],
|
exports = ["@elasticsearch-rest-client//jar"],
|
||||||
)
|
)
|
||||||
|
@ -3,6 +3,5 @@ package(default_visibility = ["//visibility:public"])
|
|||||||
java_library(
|
java_library(
|
||||||
name = "greenmail",
|
name = "greenmail",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@greenmail//jar"],
|
exports = ["@greenmail//jar"],
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,6 @@ package(default_visibility = ["//visibility:public"])
|
|||||||
java_library(
|
java_library(
|
||||||
name = "fluent-hc",
|
name = "fluent-hc",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@fluent-hc//jar"],
|
exports = ["@fluent-hc//jar"],
|
||||||
runtime_deps = [":httpclient"],
|
runtime_deps = [":httpclient"],
|
||||||
)
|
)
|
||||||
@ -11,7 +10,6 @@ java_library(
|
|||||||
java_library(
|
java_library(
|
||||||
name = "httpclient",
|
name = "httpclient",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@httpclient//jar"],
|
exports = ["@httpclient//jar"],
|
||||||
runtime_deps = [
|
runtime_deps = [
|
||||||
":httpcore",
|
":httpcore",
|
||||||
@ -23,7 +21,6 @@ java_library(
|
|||||||
java_library(
|
java_library(
|
||||||
name = "httpcore",
|
name = "httpcore",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@httpcore//jar"],
|
exports = ["@httpcore//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
package(default_visibility = ["//visibility:public"])
|
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "jackson-core",
|
name = "jackson-core",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
|
@ -11,13 +11,11 @@ merge_maven_jars(
|
|||||||
"@lucene-core//jar",
|
"@lucene-core//jar",
|
||||||
],
|
],
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "lucene-analyzers-common",
|
name = "lucene-analyzers-common",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@lucene-analyzers-common//jar"],
|
exports = ["@lucene-analyzers-common//jar"],
|
||||||
runtime_deps = [":lucene-core-and-backward-codecs"],
|
runtime_deps = [":lucene-core-and-backward-codecs"],
|
||||||
)
|
)
|
||||||
@ -25,14 +23,12 @@ java_library(
|
|||||||
java_library(
|
java_library(
|
||||||
name = "lucene-core",
|
name = "lucene-core",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@lucene-core//jar"],
|
exports = ["@lucene-core//jar"],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = "lucene-misc",
|
name = "lucene-misc",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@lucene-misc//jar"],
|
exports = ["@lucene-misc//jar"],
|
||||||
runtime_deps = [":lucene-core-and-backward-codecs"],
|
runtime_deps = [":lucene-core-and-backward-codecs"],
|
||||||
)
|
)
|
||||||
@ -40,7 +36,6 @@ java_library(
|
|||||||
java_library(
|
java_library(
|
||||||
name = "lucene-queryparser",
|
name = "lucene-queryparser",
|
||||||
data = ["//lib:LICENSE-Apache2.0"],
|
data = ["//lib:LICENSE-Apache2.0"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = ["@lucene-queryparser//jar"],
|
exports = ["@lucene-queryparser//jar"],
|
||||||
runtime_deps = [":lucene-core-and-backward-codecs"],
|
runtime_deps = [":lucene-core-and-backward-codecs"],
|
||||||
)
|
)
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
package(
|
package(default_visibility = ["//visibility:public"])
|
||||||
default_visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
|
|
||||||
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")
|
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
package(
|
package(default_visibility = ["//visibility:public"])
|
||||||
default_visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
|
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
||||||
load("//tools/bzl:js.bzl", "bower_component_bundle")
|
load("//tools/bzl:js.bzl", "bower_component_bundle")
|
||||||
@ -51,7 +49,6 @@ genrule2(
|
|||||||
"zip -qr $$ROOT/$@ fonts",
|
"zip -qr $$ROOT/$@ fonts",
|
||||||
]),
|
]),
|
||||||
output_to_bindir = 1,
|
output_to_bindir = 1,
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
go_binary(
|
go_binary(
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
package(
|
package(default_visibility = ["//visibility:public"])
|
||||||
default_visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
|
|
||||||
load(":rules.bzl", "polygerrit_bundle")
|
load(":rules.bzl", "polygerrit_bundle")
|
||||||
load("//tools/bzl:genrule2.bzl", "genrule2")
|
load("//tools/bzl:genrule2.bzl", "genrule2")
|
||||||
|
Loading…
Reference in New Issue
Block a user