git-lfs/tq
brian m. carlson 28f9b73d2f
Honor lfs.url when deciding on transfer adapters
Currently, if you have a remote with a file URL but have lfs.url set to
point to a non-file URL, your transfers will fail.  This occurs because
we look up whether to use a transfer adapter based on the remote URL,
but we also look up whether to default to the built-in transfer adapter
based on the remote URL, not the endpoint URL.  We then attempt to pass
the HTTP URL to the standalone transfer adapter, which doesn't work.

Look up the endpoint URL as well and pass that to the code which
determines whether we should use the builtin transfer adapter.  If the
actual endpoint is not a file URL, then we won't suggest the builtin
transfer adapter.
2019-11-06 22:23:22 +00:00
..
schemas tq,lfsapi/ssh: convert int64 to int 2017-04-05 14:46:45 -06:00
adapterbase.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
api_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
api.go Don't fail if we lack objects the server has 2019-07-15 20:47:04 +00:00
basic_download.go Implement retry logic to fix LFS storage race conditions on Windows 2019-11-05 17:30:13 +03:00
basic_upload.go tq: avoid nil pointer dereference on unexpected failure 2019-02-20 14:47:35 +00:00
custom_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
custom.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
errors_test.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
errors.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
manifest_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
manifest.go Honor lfs.url when deciding on transfer adapters 2019-11-06 22:23:22 +00:00
meter.go Use proper repo permissions when creating directories 2018-12-13 17:51:02 +00:00
transfer_queue_test.go tq: add fs.Filesystem to tq.Manifest 2017-10-25 12:25:06 -06:00
transfer_queue.go Avoid deadlock when transfer queue fails 2019-09-09 17:06:59 +00:00
transfer_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
transfer.go Don't fail if we lack objects the server has 2019-07-15 20:47:04 +00:00
tus_upload.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
verify_test.go tq: use correct access 2018-09-28 14:16:55 -07:00
verify.go tq: ensure we pass the correct Accept header in verify requests 2019-05-22 21:01:54 +00:00