rclone-dev:v1.50-fixes

Last commit made on 2019-11-19
Get this branch:
git clone -b v1.50-fixes https://git.launchpad.net/rclone-dev

Branch merges

Branch information

Name:
v1.50-fixes
Repository:
lp:rclone-dev

Recent commits

373fb01... by Nick Craig-Wood

Version v1.50.2

7766c5c... by Nick Craig-Wood

accounting: fix memory leak on retries operations

Before this change if an operation was retried on operations.Copy and
the operation was large enough to use an async buffer then an async
buffer was leaked on the retry. This leaked memory, a file handle and
a go routine.

After this change if Account.WithBuffer is called and there is already
a buffer, then a new one won't be allocated.

473a437... by Nick Craig-Wood

drive: fix --drive-root-folder-id with team/shared drives

Before this change rclone used the team_drive ID as the root if set
even if the root_folder_id was set too.

This change uses the root_folder_id in preference over the team_drive
which restores the functionality.

This problem was introduced by ba7c2ac443233ec4

Fixes #3742

9662554... by Nick Craig-Wood

drive: fix listing of the root directory with drive.files scope

We attempt to find the ID of the root folder by doing a GET on the
folder ID "root". With scope "drive.files" this fails with a 404
message.

After this change if we get the 404 message, we just carry on using
"root" as the root folder ID and we cache that for future lookups.

This means that changenotify messages will not work correctly in the
root folder but otherwise has minor consequences.

See: https://forum.rclone.org/t/fresh-raspberry-pi-build-google-drive-404-error-failed-to-ls-googleapi-error-404-file-not-found/12791

db93085... by Nick Craig-Wood

Version v1.50.1

6f8558f... by Nick Craig-Wood

local: fix listings of . on Windows - fixes #3676

d4fe62e... by Nick Craig-Wood

hash: fix hash names for DropboxHash and CRC-32

These were unintentionally renamed as part of 1dc8bcd48cb85630

Fixes #3679

9d69bc0... by Nick Craig-Wood

fshttp: don't print token bucket errors on context cancelled

These happen as a natural part of exceeding --max-transfer and we
don't need to worry the user with them.

f91b120... by Xiaoxing Ye

onedrive: no trailing slash reading metadata...

No trailing slash when reading metadata of an item given item ID.

This should fix #3664.

fb25a92... by Nick Craig-Wood

fshttp: fix error reporting on tpslimit token bucket errors