rclone:v1.59-stable

Last commit made on 2022-09-15
Get this branch:
git clone -b v1.59-stable https://git.launchpad.net/rclone

Branch merges

Branch information

Name:
v1.59-stable
Repository:
lp:rclone

Recent commits

ea73ac7... by Nick Craig-Wood

Version v1.59.2

5065775... by Nick Craig-Wood

config: move locking to fix fatal error: concurrent map read and map write

Before this change we assumed that github.com/Unknwon/goconfig was
threadsafe as documented.

However it turns out it is not threadsafe and looking at the code it
appears that making it threadsafe might be quite hard.

So this change increases the lock coverage in configfile to cover the
goconfig uses also.

Fixes #6378

603efbf... by Nick Craig-Wood

azureblob,b2,s3: fix chunksize calculations producing too many parts

Before this fix, the chunksize calculator was using the previous size
of the object, not the new size of the object to calculate the chunk
sizes.

This meant that uploading a replacement object which needed a new
chunk size would fail, using too many parts.

This fix fixes the calculator to take the size explicitly.

831c79b... by Nick Craig-Wood

local: disable xattr support if the filesystems indicates it is not supported

Before this change, if rclone was run with `-M` on a filesystem
without xattr support, it would error out.

This patch makes rclone detect the not supported errors and disable
xattrs from then on. It prints one ERROR level message about this.

See: https://forum.rclone.org/t/metadata-update-local-s3/32277/7

acec3db... by Nick Craig-Wood

Start v1.59.2-DEV development

5f710a2... by Nick Craig-Wood

Version v1.59.1

f675da9... by Joram Schrijver <email address hidden>

dlna: fix SOAP action header parsing - fixes #6354

Changes in github.com/anacrolix/dms changed upnp.ServiceURN to include a
namespace identifier. This identifier was previously hardcoded, but is
now parsed out of the URN. The old SOAP action header parsing logic was
duplicated in rclone and did not handle this field. Resulting responses
included a URN with an empty namespace identifier, breaking clients.

5788d3f... by Nick Craig-Wood

accounting: fix panic in core/stats-reset with unknown group - fixes #6327

This also adds tests for the rc commands for stats groups

c5a371d... by Nick Craig-Wood

build: disable goimports linter to avoid backporting lots of changes

5e44167... by Nick Craig-Wood

serve sftp: fix checksum detection - Fixes #6351

Before this change, rclone serve sftp operating with a new rclone
after the md5sum/sha1sum detection was reworked to just run a plain
`md5sum`/`sha1sum` command in

3ea82032e796d1f1 sftp: support md5/sha1 with rsync.net #3254

Failed to signal to the remote that md5sum/sha1sum wasn't supported as
in

71e172a139f00291 serve/sftp: support empty "md5sum" and "sha1sum" commands

We unconditionally return good hashes even if the remote being served
doesn't support the hash type in question.

This fix checks the hash type is supported and returns an error

    MD5 hash not supported

When the backend is first contacted this will cause the sftp backend
to detect that the hash type isn't available.

Unfortunately this may have cached the wrong state so editing or
remaking the config may be necessary to fix it.