git-lfs/lfshttp
brian m. carlson bb05cf5053
Provide support for file URLs via a transfer agent
One commonly requested feature for Git LFS is support for local files.
Currently, we tell users that they must use a standalone transfer
agent, which is true, but nobody has provided one yet. Since writing a
simple transfer agent is not very difficult, let's provide one
ourselves.

Introduce a basic standalone transfer agent, git lfs standalone-file,
that handles uploads and downloads. Add a default configuration required
for it to work, while still allowing users to override this
configuration if they have a preferred implementation that is more
featureful. We provide this as a transfer agent instead of built-in
because it avoids the complexity of adding a different code path to the
main codebase, but also serves as a demonstration of how to write a
standalone transfer agent for others who might want to do so, much
like Git demonstrates remote helpers using its HTTP helper.
2019-08-02 17:23:47 +00:00
..
standalone Provide support for file URLs via a transfer agent 2019-08-02 17:23:47 +00:00
body.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_darwin.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_freebsd.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_linux.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_openbsd.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_test.go lfsapi: implement auth redirects 2018-09-11 14:51:29 -07:00
certs_windows.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs.go Initial pass at wrapping the credential data so that prompting the user can be delayed when necessary. 2019-04-18 10:41:55 -04:00
client_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
client.go lfshttp: close body on redirect 2019-01-15 22:24:35 +00:00
endpoint.go Allow specifying file:/// URLs 2019-08-02 17:23:46 +00:00
errors.go Add integration tests; check other places where 429 could occur 2019-01-07 12:27:02 +03:00
lfshttp.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
proxy_test.go Add support for SOCKS proxies 2019-06-06 13:59:27 +00:00
proxy.go Add support for SOCKS proxies 2019-06-06 13:59:27 +00:00
retries_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
retries.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
ssh_test.go Merge branch 'master' into lfshttp 2018-09-14 11:42:19 -07:00
ssh.go ssh: redirect stdin from /dev/null 2019-07-19 16:00:21 +00:00
stats_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
stats.go Fix Typos 2019-07-24 07:17:40 +00:00
verbose_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
verbose.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00