12 Commits

Author SHA1 Message Date
Matthias Sohn
fe494ed59e Update JGit to 4.7.1.201706071930-r
Adapt UploadArchiveIT to account for the extra directory entry added
in the archive by ArchiveCommand since [1].

[1] https://git.eclipse.org/r/#/c/98478/

Change-Id: I12bff3bbea7493085fbe7d9bac428c90b07926be
2017-06-08 20:58:02 +09:00
David Pursehouse
d8fd6e1592 Upgrade JGit to 4.7.0.201704051617-r
Change-Id: Ia8a5ebcf4bb55263391476f865c34869e2deee14
2017-04-07 01:31:26 +09:00
David Pursehouse
fa8988fc8e Upgrade JGit to 4.6.1.201703071140-r.169-g61e336475
This is a snapshot of the latest head of JGit's master branch.

Jetty was changed to version 9.3.17.v20170317.  This version change
will be done for Gerrit in a follow-up commit.

Change-Id: I19ca866f90b16260f72fdd9cdc97683031b48488
2017-04-03 16:07:58 +09:00
David Pursehouse
a01b395773 Upgrade JGit to 4.6.1.201703071140-r.149-g61f830d3a
This snapshot includes numerous changes since the previous one.

There is currently nothing that we specifically need in this snapshot,
but it brings us closer to what will be in the upcoming 4.7.0 release
and will allow us to potentially catch any issues before release.

Change-Id: I4c3642eab4c1f1128e2e19cf656dee13270662e2
2017-03-24 09:06:23 +09:00
Han-Wen Nienhuys
fe81f93215 Simplify local JGit development
Put all the logic in jgit.bzl, where a single edit suffices to get
the local flavor.

Given that all sha1 for jgit dependencies are in jgit.bzl, we can
remove the constants and use sha1 values directly.

Change-Id: Icabf651e02f226e5c025457d54588074a11ae283
2017-03-24 08:36:18 +09:00
David Pursehouse
f32625ac90 Move all JGit related definitions to lib/jgit/jgit.bzl
Move the definitions of the JGit repository and the artifact hashes into
the lib/jgit/jgit.bzl file so that when we change the JGit version we can
make all the necessary modifications in one place.

Change-Id: I4cb97481d62a57bfca960392d696aae3c95c6bb7
2017-03-09 18:10:46 +09:00
David Pursehouse
074cf23832 Upgrade JGit to 4.6.0.201612231935-r.30-gd3148f300
This snapshot includes several fixes since the release, including some
improvements in LFS support:

  d3148f300 Make ObjectDownloadListener public
  55c629a9f LfsProtocolServlet#LfsRequest: Add operation type helper methods
  56fe21778 Expose LFS operation strings as public constants
  590141163 LfsProtocolServlet: Improve error on getLargeFileRepository failure
  7245aa031 Add support for refusing LFS request due to invalid authorization
  0e187f148 Add LfsPointerFilter TreeFilter

Change-Id: Ib3cd9d8677b6c6017becc5c46e7fa4dfc5192807
2017-01-19 23:45:46 +00:00
Matthias Sohn
e1d12494d9 Update JGit to 4.6.0.201612231935-r
Change-Id: Ibd58603e6c1975c883dbf9f1d115e03a25467774
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
2016-12-29 21:21:37 +00:00
David Pursehouse
2d08500516 Format .bzl files with Bazel Buildifier
Change-Id: I3ab30565e5ac110a18cbe3d34f76307801c30373
2016-12-11 19:00:21 +09:00
Shawn Pearce
b3fdbcf78d Update JGit to 4.5.0.201609210915-r.115-g81f9c1843
Adds support for MonotonicClock, which Gerrit can use
inside of ReviewDb and NoteDb to maintain timestamps.

Change-Id: Ic7c646b32644c1d1b1e93eeb50a3bf153e85d3c3
2016-11-21 14:10:02 -08:00
Shawn Pearce
933306d823 Update JGit to 4.5.0.201609210915-r.104-g1c70dd6d2
Includes {get,set}GitwebDescription on Repository,
which can replace methods in GitRepositoryManager.

Change-Id: Ie25a49864c770e1cfb065dfc9e7c1e8faa97b03c
2016-11-14 12:33:32 -08:00
David Ostrovsky
27fbb2b835 Bazel: Externalize JGIT_VERS constant
This is needed for defining external documentation link for javadoc
rule.

Change-Id: I562de840327c6b27941f7238023a47eb8d0b2394
2016-10-25 12:27:13 +00:00