]> source.dussan.org Git - jgit.git/commit
Allow for using custom s3 host with lfs server 70/162070/2
authorPat Long <pllong@arista.com>
Thu, 23 Apr 2020 17:52:22 +0000 (13:52 -0400)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 10 May 2020 09:29:27 +0000 (11:29 +0200)
commitd27dceb3844415510e5bad54ace67add7c75e293
treea06aa3485129d2847eed2f4e079d420e81bc189c
parentf30e48914e72efe2ac0d28140e07aa8d647de4f8
Allow for using custom s3 host with lfs server

By default, it will generate hostname using the aws region passed to the
constructor.

This will allow for easier testing, since you can just spin up a local
minio (or other s3-compatible storage service) instance and point the
application at that for the storage mechanism.

It will also allow for storing lfs objects on-prem.

Change-Id: I2566b1fcce58f3d306ddd23a8da702ef5a451c7b
Signed-off-by: Pat Long <pllong@arista.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.lfs.server/resources/org/eclipse/jgit/lfs/server/internal/LfsServerText.properties
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/s3/S3Config.java
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/s3/S3Repository.java