diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-16 00:42:33 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-16 00:42:33 -0400 |
commit | 99c4c837efc778ee792bacb53632261da1dfa99a (patch) | |
tree | 80300049872207a1220c21dc717e71b332cf4821 /doc | |
parent | 9873d38731cb2bebfc2a397f304d89e51c306aa0 (diff) |
drop webdav compatability with the directory special remote etc
The benefit of using a compatable directory structure does not outweigh the
cost in complexity of handling the multiple locations content can be stored
in directory special remotes. And this also allows doing away with the parent
directories, which can't be made unwritable in DAV, so have no benefit
there. This will save 2 http calls per file store.
But, kept the directory hashing, just in case.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/special_remotes/webdav.mdwn | 4 | ||||
-rw-r--r-- | doc/tips/using_box.com_as_a_special_remote.mdwn | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/doc/special_remotes/webdav.mdwn b/doc/special_remotes/webdav.mdwn index c5b53dc4b..8421dd5f4 100644 --- a/doc/special_remotes/webdav.mdwn +++ b/doc/special_remotes/webdav.mdwn @@ -28,10 +28,10 @@ the webdav remote. WebDAV. For use when the WebDAV server has file size limitations. The default is to never chunk files. The value can use specified using any commonly used units. - Example: `chunksize=100 megabytes` + Example: `chunksize=75 megabytes` Note that enabling chunking on an existing remote with non-chunked files is not recommended. Setup example: - # WEBDAV_USERNAME=joey@kitenet.net WEBDAV_PASSWORD=xxxxxxx git annex initremote box.com type=webdav url=https://www.box.com/dav/git-annex encryption=joey@kitenet.net + # WEBDAV_USERNAME=joey@kitenet.net WEBDAV_PASSWORD=xxxxxxx git annex initremote box.com type=webdav url=https://www.box.com/dav/git-annex chunksize=75mb encryption=joey@kitenet.net diff --git a/doc/tips/using_box.com_as_a_special_remote.mdwn b/doc/tips/using_box.com_as_a_special_remote.mdwn index cafbc033c..6616d0a1e 100644 --- a/doc/tips/using_box.com_as_a_special_remote.mdwn +++ b/doc/tips/using_box.com_as_a_special_remote.mdwn @@ -2,8 +2,19 @@ for providing 50 gb of free storage if you sign up with its Android client. (Or a few gb free otherwise.) -With a little setup, git-annex can use Box as a -[[special remote|special_remotes]]. +git-annex can use Box as a [[special remote|special_remotes]]. +Recent versions of git-annex make this very easy to set up: + + WEBDAV_USERNAME=you@example.com WEBDAV_PASSWORD=xxxxxxx git annex initremote box.com type=webdav url=https://www.box.com/dav/git-annex chunksize=75mb encryption=you@example.com + +Note the use of chunksize; Box has a 100 mb maximum file size, and this +breaks up large files into chunks before that limit is reached. + +# old davfs2 method + +This method is deprecated, but still documented here just in case. +Note that the files stored using this method cannot reliably be retreived +using the webdav special remote. ## davfs2 setup |