rclone/backend
Nick Craig-Wood c2baacc0a4 union: fix uploading files to union of all bucket based remotes
Before this fix, if uploading to a union consisting of all bucket
based remotes (eg s3), uploads failed with:

    Failed to copy: object not found

This was because the union backend was relying on parent directories
being created to work out which files to upload. If all the upstreams
were bucket based backends which can't hold empty directories, no
directories were created and the upload failed.

This fixes the problem by returning the upstreams used when creating
the directory for the upload, rather than searching for them again
after they've been created.

This will also make the union backend a little more efficient.

Fixes #6170
2022-05-19 13:23:41 +01:00
..
alias docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
all backend/internetarchive: add support for Internet Archive 2022-04-28 10:25:38 +01:00
amazonclouddrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
azureblob azureblob: use chunksize lib to determine chunksize dynamically 2022-05-13 09:25:48 +01:00
b2 b2: use chunksize lib to determine chunksize dynamically 2022-05-13 09:25:48 +01:00
box Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache about: improved error message 2022-05-13 12:08:10 +01:00
chunker refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
compress about: improved error message 2022-05-13 12:08:10 +01:00
crypt about: improved error message 2022-05-13 12:08:10 +01:00
drive drive: fix 404 errors on copy/server side copy objects from public folder 2022-05-18 18:12:19 +01:00
dropbox about: improved error message 2022-05-13 12:08:10 +01:00
fichier Fix linting errors 2022-01-26 00:02:17 +01:00
filefabric Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ftp ftp: hard fork github.com/jlaffaye/ftp to fix go get 2022-03-07 09:55:49 +00:00
googlecloudstorage googlecloudstorage: add --gcs-no-check-bucket to minimise transactions and perms 2022-04-14 11:18:36 +01:00
googlephotos refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
hasher about: improved error message 2022-05-13 12:08:10 +01:00
hdfs config: remove explicit setting of required property to its default value false 2022-01-16 14:57:38 +01:00
http http: improved recognition of url pointing to a single file - fixes #5929 2022-01-26 11:41:01 +01:00
hubic refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
internetarchive backend/internetarchive: fix uploads can take very long time 2022-05-07 21:54:14 +01:00
jottacloud refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
koofr koofr: renamed digistorage to exclude the romania part. 2022-03-08 22:39:23 +00:00
local local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
mailru mailru: fix int32 overflow on arm32 - fixes #6003 2022-03-06 13:33:57 +00:00
mega mega: fix error handling broken by removal of github.com/pkg/errors 2021-11-09 13:43:45 +00:00
memory Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
netstorage netstorage: fix unescaped HTML in documentation 2022-03-18 14:40:12 +00:00
onedrive about: improved error message 2022-05-13 12:08:10 +01:00
opendrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
pcloud about: improved error message 2022-05-13 12:08:10 +01:00
premiumizeme about: improved error message 2022-05-13 12:08:10 +01:00
putio about: improved error message 2022-05-13 12:08:10 +01:00
qingstor Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
s3 s3: Remove bucket ACL configuration for Cloudflare R2 2022-05-17 15:57:09 +01:00
seafile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sftp refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
sharefile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sia Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
storj storj: fix put 2022-05-12 20:43:54 +01:00
sugarsync Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
swift swift: fix about so it shows info about the current container only 2022-02-22 12:55:57 +00:00
union union: fix uploading files to union of all bucket based remotes 2022-05-19 13:23:41 +01:00
uptobox Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
webdav about: improved error message 2022-05-13 12:08:10 +01:00
yandex yandex: add permanent deletion support 2021-11-17 16:57:41 +00:00
zoho Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00