Update JGit to 5.0.0.201806131550-r

JGit 5.0.0 introduces some new features (including support for the
git protocol v2), performance improvements, and bug fixes.

It also includes a number of deprecations, some of which cause
warnings in the gerrit project. These are not fixed in this commit,
but will be fixed in follow-ups.

See the release notes [1] for full details of the release.

[1] https://projects.eclipse.org/projects/technology.jgit/releases/5.0.0

Change-Id: I62200941b34ebcfa58934be531a2486b1fef3d01
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn
2018-06-20 12:50:47 +02:00
committed by David Pursehouse
parent e73dc26b22
commit fb947fe174

View File

@@ -1,12 +1,12 @@
load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_LOCAL", "MAVEN_CENTRAL", "maven_jar")
_JGIT_VERS = "4.11.0.201803080745-r.93-gcbb2e65db"
_JGIT_VERS = "5.0.0.201806131550-r"
_DOC_VERS = "4.11.0.201803080745-r" # Set to _JGIT_VERS unless using a snapshot
_DOC_VERS = _JGIT_VERS # Set to _JGIT_VERS unless using a snapshot
JGIT_DOC_URL = "http://download.eclipse.org/jgit/site/" + _DOC_VERS + "/apidocs"
_JGIT_REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL.
_JGIT_REPO = MAVEN_CENTRAL # Leave here even if set to MAVEN_CENTRAL.
# set this to use a local version.
# "/home/<user>/projects/jgit"
@@ -26,28 +26,28 @@ def jgit_maven_repos():
name = "jgit-lib",
artifact = "org.eclipse.jgit:org.eclipse.jgit:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "265a39c017ecfeed7e992b6aaa336e515bf6e157",
src_sha1 = "e9d801e17afe71cdd5ade84ab41ff0110c3f28fd",
sha1 = "596edbf705924bd2defd9cfc83b29b1bceb56308",
src_sha1 = "503a4c069baa672d3ff323d36c9b9a3a5edffc94",
unsign = True,
)
maven_jar(
name = "jgit-servlet",
artifact = "org.eclipse.jgit:org.eclipse.jgit.http.server:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "0d68f62286b5db759fdbeb122c789db1f833a06a",
sha1 = "be2b42633f4973921e4c4b976f592f12f33bffd9",
unsign = True,
)
maven_jar(
name = "jgit-archive",
artifact = "org.eclipse.jgit:org.eclipse.jgit.archive:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "4cc3ed2c42ee63593fd1b16215fcf13eeefb833e",
sha1 = "3948643a6e07375ed0e28f35d75c0deb1cd183d8",
)
maven_jar(
name = "jgit-junit",
artifact = "org.eclipse.jgit:org.eclipse.jgit.junit:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "6f1bcc9ac22b31b5a6e1e68c08283850108b900c",
sha1 = "d57d749ad97f42d570236e7981f36458033bfda9",
unsign = True,
)