Add links to LFS spec from documentation

Change-Id: I0617f3a4c0ec0d69d0c0982a593fa77ecb11aff4
This commit is contained in:
David Pursehouse 2016-08-02 16:04:58 +09:00
parent e9feb0c3bc
commit 2463c542d6
2 changed files with 12 additions and 9 deletions

View File

@ -2826,9 +2826,11 @@ are specified in the link:#container[container section]:
[[lfs.plugin]]lfs.plugin::
+
The name of a plugin which serves the LFS protocol on the
`<project-name>/info/lfs/objects/batch` endpoint. When not configured Gerrit
will respond with `501 Not Implemented` on LFS protocol requests.
The name of a plugin which serves the
link:https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md[
LFS protocol] on the `<project-name>/info/lfs/objects/batch` endpoint. When
not configured Gerrit will respond with `501 Not Implemented` on LFS protocol
requests.
+
By default unset.

View File

@ -2117,12 +2117,13 @@ FileHistoryWebLinks will appear on the access rights screen.
[[lfs-extension]]
== LFS Storage Plugins
Gerrit provides an extension point that enables development of LFS (Large File
Storage) storage plugins. Gerrit core exposes the default LFS protocol endpoint
`<project-name>/info/lfs/objects/batch` and forwards the requests to the configured
link:config-gerrit.html#lfs[lfs.plugin] plugin which implements the LFS protocol.
By exposing the default LFS endpoint, the git-lfs client can be used without
any configuration.
Gerrit provides an extension point that enables development of
link:https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md[
LFS (Large File Storage)] storage plugins. Gerrit core exposes the default LFS
protocol endpoint `<project-name>/info/lfs/objects/batch` and forwards the requests
to the configured link:config-gerrit.html#lfs[lfs.plugin] plugin which implements
the LFS protocol. By exposing the default LFS endpoint, the git-lfs client can be
used without any configuration.
[source, java]
----