Merge changes I38d57c20,I7826131b

* changes:
  Upgrade JGit to 5.0.2.201807311906-r
  Merge branch 'stable-2.15'
This commit is contained in:
Dave Borowitz
2018-08-06 15:38:44 +00:00
committed by Gerrit Code Review
4 changed files with 13 additions and 12 deletions

View File

@@ -3726,7 +3726,7 @@ Gerrit administrators can use this setting to prevent developers
from pushing objects which are too large to Gerrit.
+
This setting can also be set in the `project.config`
link:config-project-config.html[receive.maxObjectSizeLimit] in order
(link:config-project-config.html[receive.maxObjectSizeLimit]) in order
to further reduce the global setting. The project specific setting is
only honored when it further reduces the global limit.
+

View File

@@ -140,12 +140,13 @@ is larger than the given size the pack-parsing will abort and the push
operation will fail. If set to zero then there is no limit.
+
Project owners can use this setting to prevent developers from pushing
objects which are too large to Gerrit. This setting can also be set it
`gerrit.config` globally link:config-gerrit.html#receive.maxObjectSizeLimit[
receive.maxObjectSizeLimit].
objects which are too large to Gerrit. This setting can also be set in
`gerrit.config` globally (link:config-gerrit.html#receive.maxObjectSizeLimit[
receive.maxObjectSizeLimit]).
+
The project specific setting in `project.config` is only honored when it
further reduces the global limit.
further reduces the global limit. The setting is not inherited from the
parent project; it must be explicitly set per project.
+
Default is zero.
+

View File

@@ -166,7 +166,7 @@ To format Java source code, Gerrit uses the
link:https://github.com/google/google-java-format[`google-java-format`]
tool (version 1.5), and to format Bazel BUILD, WORKSPACE and .bzl files the
link:https://github.com/bazelbuild/buildtools/tree/master/buildifier[`buildifier`]
tool (version 0.12.0).
tool (version 0.15.0).
These tools automatically apply format according to the style guides; this
streamlines code review by reducing the need for time-consuming, tedious,
and contentious discussions about trivial issues like whitespace.

View File

@@ -1,6 +1,6 @@
load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_CENTRAL", "MAVEN_LOCAL", "maven_jar")
_JGIT_VERS = "5.0.1.201806211838-r"
_JGIT_VERS = "5.0.2.201807311906-r"
_DOC_VERS = _JGIT_VERS # Set to _JGIT_VERS unless using a snapshot
@@ -26,28 +26,28 @@ def jgit_maven_repos():
name = "jgit-lib",
artifact = "org.eclipse.jgit:org.eclipse.jgit:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "dbba66a425d2153ccd749d0ba9c075b0ba424655",
src_sha1 = "c85725a96e20d940fe20e1be4ddf50133c322f65",
sha1 = "a81d7c8d153a8a744b6be1d9c6d698270beec1c0",
src_sha1 = "c89f8f38cebaf75d13f9b2f7a1da71206d8c38f7",
unsign = True,
)
maven_jar(
name = "jgit-servlet",
artifact = "org.eclipse.jgit:org.eclipse.jgit.http.server:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "5d9cd43e880d49f14501ac48d59b55905f4ec5bf",
sha1 = "ab3d0c85bc2008da513c1127ab4acf3df8ef414e",
unsign = True,
)
maven_jar(
name = "jgit-archive",
artifact = "org.eclipse.jgit:org.eclipse.jgit.archive:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "1d94e2bfa505dd719f62cfb036295022543af17e",
sha1 = "ba6e0aaf3f733f2f460e227145526e1737ca160f",
)
maven_jar(
name = "jgit-junit",
artifact = "org.eclipse.jgit:org.eclipse.jgit.junit:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "f848735061fab81f2863f68cca8d533ff403c765",
sha1 = "fe28963520e19c918eb26747e678ec9772ba800f",
unsign = True,
)