Upgrade JGit to 5.4.3.201909031940-r

Improvements in 5.4.0
- Repository: Add getIdentifier() method. This was added to avoid
  casting which was necessary in gitiles plugin, see gitiles plugin
  change I8a60c987dac205335a24c1d2dcf8a93608d6cf0c
- see release notes for other changes in 5.4.0

Improvements in 5.4.2 and 5.4.3:
- extend FileSnapshot for packfiles to also use checksum to detect
  changes
- include filekey file attribute (inode on *nix filesystems) when
  comparing FileSnapshots
- optionally wait opening new packfile until it can't be racy anymore
- fix FileSnapshot's consideration of file size
- ObjectDirectory: fix closing of obsolete packs
- measure FileStoreAttributes per filesystem
  - improve measuring file timestamp resolution
  - measure minimal racy interval
  - use Instant to increase resolution to 1us (limited by FileTime)
  - persist FileStoreAttributes
  - optional asynchronous measurement of FileStoreAttributes
  - directory - FileStore cache
- cache user and system level gitconfig
- fix supportsAtomicCreateNewFile default to true
- fix non-deterministic hash of archives created by ArchiveCommand
- reproduce racy atomic update in PackedBatchRefUpdate and fix it

https://projects.eclipse.org/projects/technology.jgit/releases/5.4.0
https://projects.eclipse.org/projects/technology.jgit/releases/5.4.2
https://projects.eclipse.org/projects/technology.jgit/releases/5.4.3

Change-Id: I9eb69e7740ce52c42a5740c93beef890a201e16a
This commit is contained in:
Matthias Sohn
2019-09-05 18:16:15 +02:00
committed by David Pursehouse
parent 4e184b1c82
commit 8b5ee579a6
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
load("//tools/bzl:maven_jar.bzl", "MAVEN_CENTRAL", "maven_jar")
_JGIT_VERS = "5.3.1.201904271842-r"
_JGIT_VERS = "5.4.3.201909031940-r"
_DOC_VERS = _JGIT_VERS # Set to _JGIT_VERS unless using a snapshot
@@ -40,25 +40,25 @@ def jgit_maven_repos():
name = "jgit-lib",
artifact = "org.eclipse.jgit:org.eclipse.jgit:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "dba85014483315fa426259bc1b8ccda9373a624b",
sha1 = "10322c4e103485f8b4873cbbf982342f9c3d7989",
)
maven_jar(
name = "jgit-servlet",
artifact = "org.eclipse.jgit:org.eclipse.jgit.http.server:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "3287341fca859340a00b51cb5dd3b78b8e532b39",
sha1 = "59d0c943343f30612e4e2a5a3bf1b95b56e00207",
)
maven_jar(
name = "jgit-archive",
artifact = "org.eclipse.jgit:org.eclipse.jgit.archive:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "3585027e83fb44a5de2c10ae9ddbf976593bf080",
sha1 = "21dc4a10882dc667c83bf82a563a6fc4d7719456",
)
maven_jar(
name = "jgit-junit",
artifact = "org.eclipse.jgit:org.eclipse.jgit.junit:" + _JGIT_VERS,
repository = _JGIT_REPO,
sha1 = "3d9ba7e610d6ab5d08dcb1e4ba448b592a34de77",
sha1 = "71659fc1a1729b7c67846dac8cd6a762fa72002a",
)
def jgit_dep(name):