This is Git LFS Java API implementation.
This project contains:
gitlfs-common - Common structures for serialization/deserialization Git LFS messages
gitlfs-pointer - Git LFS pointer serialization/deserialization
gitlfs-client - API for uploading/downloading Git LFS objects from server
gitlfs-server - Servlets for creating custom LFS server
You can download the latest stable from Maven Central.
link:gitlfs-client/src/test/kotlin/ru/bozaro/gitlfs/client/Examples.kt[role=include]link:gitlfs-client/src/test/kotlin/ru/bozaro/gitlfs/client/Examples.kt[role=include]See gitlfs-server/src/test/kotlin/ru/bozaro/gitlfs/server/ServerTest.kt for example.
Downgrade SLF4J to 1.7.x
Properly handle
Transfer-Encoding: chunked. See bozaro/git-as-svn#365
LFS locking support
Replace commons-httpclient:commons-httpclient:3.1 by org.apache.httpcomponents:httpclient:4.1.3
Add header modification for replacing Basic authentication by Token
Don’t ask password for SSH authentication
Add more informative HTTP error message
Server implemetation stabilization
Create multitheaded HttpClient by default
Fix single object downloading API
Initial server implementation
Fix url concatenation
Fix downloading for not uploaded object (404 error)
Fix minor bugs
Add authenticator for git-lfs-authenticate command (experimental)
Add AuthHelper class for simple AuthProvider creation
Fix verify url bug
Fix basic authentication
Fix already uploaded behaviour
Support Git LFS v1 Batch API
Initial version;
Support Git LFS v1 Original API
Support Git LFS pointer serialize/parse