support public versioned S3 access

Makes git annex whereis display the versionId urls.

And, when a s3 remote is enabled without creds, git-annex will use the
versionId urls to access its contents.

This commit was sponsored by Fernando Jimenez on Patreon.
This commit is contained in:
Joey Hess 2018-09-06 14:31:41 -04:00
parent 0630ef166b
commit b7daf2685f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 73 additions and 41 deletions

View file

@ -77,8 +77,8 @@ the S3 remote.
* `versioning` - Setting this to "yes" along with "exporttree=yes",
and [manually enabling versioning for the S3 bucket in the AWS console](https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-versioning.html)
allows git-annex to access old versions of files exported to the
special remote with [[git-annex export|git-annex-export]].
allows git-annex to access old versions of files that were
exported to the special remote by [[git-annex export|git-annex-export]].
Note that git-annex needs to remember S3 version IDs for files
sent to a remote configured this way, which will make the git-annex