WIP: Implement LFS plugin storing large objects in local file system

This plugin uses JGit's FileLfsRepository class to provide a local file
system based large file storage.

Large files are stored under the plugin's data directory
$GERRIT_SITE/plugins/lfs-storage-fs

This change makes use of the corresponding WIP in JGit [1]. Therefore,
to test locally you need to build JGit from [1] locally. In order to
make this plugin usable you must build Gerrit from [2] with this version
of JGit. This can be done using the multi-cell buck build introduced
in [3]. Follow the instructions given in [3] to build gerrit including
jgit.

The plugin supports only in-tree buck build. To build it clone the
repository under .../plugins folder and then execute:

$ buck build plugins/lfs-storage-fs

[1] https://git.eclipse.org/r/#/c/52177
[2] https://gerrit-review.googlesource.com/72891
[3] https://gerrit-review.googlesource.com/#/c/73000

Change-Id: Ic67c3586ec2dfdac614cc49d1e8582df624d74ef
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 files changed
tree: 63573a3319feb6e22471ce6493553e1dc3cdc27b
  1. .gitignore
  2. BUCK
  3. LICENSE
  4. src/