git-annex/Remote
Joey Hess da23dec7d3
avoid showing error when copy fails
Since renameExport is allowed to fail for any reason, and its failure is
always recovered from by doing a new upload and deleting the old
content, this avoids unnecessary noise.

Copying a file on the IA failed, apparently something wrong with their
emulation of S3:

  S3Error {s3StatusCode = Status {statusCode = 400, statusMessage = "Bad Request"}, s3ErrorCode = "InvalidArgument", s3ErrorMessage = "Invalid Argument", s3ErrorResource = Just "x-(amz|archive)-copy-source header is bad: 'joeyh-public-test2/foo'", s3ErrorHostId = Nothing, s3ErrorAccessKeyId = Nothing, s3ErrorStringToSign = Nothing, s3ErrorBucket = Nothing, s3ErrorEndpointRaw = Nothing, s3ErrorEndpoint = Nothing}

This commit was sponsored by Jake Vosloo on Patreon.
2017-09-12 12:42:44 -04:00
..
Directory remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
External External special remote protocol extended to support export. 2017-09-08 14:24:05 -04:00
Helper don't show key urls in whereis for S3 with public=yes and exporttree=yes 2017-09-08 16:44:00 -04:00
Rsync adeiu, MissingH 2017-05-16 01:03:52 -04:00
WebDAV adeiu, MissingH 2017-05-16 01:03:52 -04:00
BitTorrent.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Bup.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Ddar.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Directory.hs External special remote protocol extended to support export. 2017-09-08 14:24:05 -04:00
External.hs External special remote protocol extended to support export. 2017-09-08 14:24:05 -04:00
GCrypt.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Git.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Glacier.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Hook.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
List.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
P2P.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Rsync.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
S3.hs avoid showing error when copy fails 2017-09-12 12:42:44 -04:00
Tahoe.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Web.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
WebDAV.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00