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

@ -5,3 +5,5 @@ does not yet support that, nor does whereis show the urls.
Should not be super hard to add, but it involves converting `getpublicurl`
into an Annex action and distinguishing between different uses of it,
some of which work with this and some don't. --[[Joey]]
> [[done]] --[[Joey]]