Merge branch 'master' into s3-aws
This commit is contained in:
commit
4eefc12295
3 changed files with 29 additions and 0 deletions
|
@ -59,6 +59,9 @@ regionInfo service = map (\(t, r) -> (t, fromServiceRegion r)) $
|
|||
[ ("US East (N. Virginia)", [S3Region "US", GlacierRegion "us-east-1"])
|
||||
, ("US West (Oregon)", [BothRegion "us-west-2"])
|
||||
, ("US West (N. California)", [BothRegion "us-west-1"])
|
||||
-- Requires AWS4-HMAC-SHA256 which S3 library does not
|
||||
-- currently support.
|
||||
-- , ("EU (Frankfurt)", [BothRegion "eu-central-1"])
|
||||
, ("EU (Ireland)", [S3Region "EU", GlacierRegion "eu-west-1"])
|
||||
, ("Asia Pacific (Singapore)", [S3Region "ap-southeast-1"])
|
||||
, ("Asia Pacific (Tokyo)", [BothRegion "ap-northeast-1"])
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="209.250.56.96"
|
||||
subject="comment 1"
|
||||
date="2014-10-22T21:36:27Z"
|
||||
content="""
|
||||
The man page documents this:
|
||||
|
||||
> To avoid contacting the remote to check if it has every
|
||||
> file when copying --to the repository, specify --fast
|
||||
|
||||
As you've noted, this has to rely on the location tracking information being up-to-date, so if it's not it might miss copying a file to the remote that the remote doesn't currently have but used to. Otherwise, it's fine to use `copy --fast --to --remote` or `copy --not --in remote --to remote`, which is functionally identical.
|
||||
|
||||
The check is not a GET request, it's a HEAD request, to check if the file
|
||||
is present. Does S3 have a way to combine multiple HEAD requests in a
|
||||
single http request? That seems unlikely. Maybe it is enough to reuse an
|
||||
open http connection for multiple HEADs? Anything needing a single HEAD request would not fit well into git-annex, but ways to do more caching of open http connections are being considered.
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawkck-Tokgfh_1Fwh6pkl69xPA_dYUgA4Tg"
|
||||
nickname="Benjamin"
|
||||
subject="comment 8"
|
||||
date="2014-10-22T19:56:23Z"
|
||||
content="""
|
||||
Thanks, deleting the cached file fixed it.
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue