rclone:fix-6426-ftp-zero-length

Last commit made on 2022-09-14
Get this branch:
git clone -b fix-6426-ftp-zero-length https://git.launchpad.net/rclone

Branch merges

Branch information

Name:
fix-6426-ftp-zero-length
Repository:
lp:rclone

Recent commits

03f7c99... by Nick Craig-Wood

ftp: attempt to fix zero length files with TLS - FIXME DO NOT MERGE DIRECTLY

d3d843a... by Nick Craig-Wood

fs: warn the user when using a remote name without a colon

A very common mistake for new users of rclone is to use a remote name
without a colon. This can be on the command line or in the config when
setting up a crypt backend.

This change checks to see if the user uses a path which matches a
remote name and gives an NOTICE like this if they do

    NOTICE: "remote" refers to a local folder, use "remote:" to refer to your remote or "./remote" to hide this warning

See: https://forum.rclone.org/t/sync-to-onedrive-personal-lands-file-in-localfilesystem-but-not-in-onedrive/32956

57803be... by Nick Craig-Wood

build: update tidy-beta to new layout

be53dcc... by Nick Craig-Wood

docs: add more information about --track-renames

See: https://forum.rclone.org/t/feature-question-how-does-rclone-track-renames-and-moves/32911/4

bd787e8... by Nick Craig-Wood

filter: Fix incorrect filtering with UseFilter context flag and wrapping backends

In this commit

8d1fff9a8237c64f local: obey file filters in listing to fix errors on excluded files

We started using filters in the local backend so the user could short
circuit troublesome files/directories at a low level.

However this caused a number of integration tests to fail. This turned
out to be in backends wrapping the local backend. For example the
combine backend test failed because it changes the paths passed to the
local backend so they no longer match the paths in the current filter.

To fix this, a new feature flag `FilterAware` was added and the
UseFilter context flag is only passed to backends which support it. As
the wrapping backends don't support the flag, this fixes the problems
in the integration tests.

In future the wrapping backends could modify the active filters to
match the path modifications and then they could set the FilterAware
flag.

See #6376

3cb7734... 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

d08ed7d... by Nick Craig-Wood

ftp: add notes on how to avoid deadlocks with concurrency - fixes #6370

f279e4a... by Nick Craig-Wood

Add Josh Soref to contributors

3534965... by albertony <email address hidden>

docs/sftp: document use of chunk_size option in sftp remote paired with serve sftp

Related to 0008cb4934242757606b4c1305971fc51e7adef4

ce3b65e... by Josh Soref <email address hidden>

all: fix spelling across the project

* abcdefghijklmnopqrstuvwxyz
* accounting
* additional
* allowed
* almost
* already
* appropriately
* arise
* bandwidth
* behave
* bidirectional
* brackets
* cached
* characters
* cloud
* committing
* concatenating
* configured
* constructs
* current
* cutoff
* deferred
* different
* directory
* disposition
* dropbox
* either way
* error
* excess
* experiments
* explicitly
* externally
* files
* github
* gzipped
* hierarchies
* huffman
* hyphen
* implicitly
* independent
* insensitive
* integrity
* libraries
* literally
* metadata
* mimics
* missing
* modification
* multipart
* multiple
* nightmare
* nonexistent
* number
* obscure
* ourselves
* overridden
* potatoes
* preexisting
* priority
* received
* remote
* replacement
* represents
* reproducibility
* response
* satisfies
* sensitive
* separately
* separator
* specifying
* string
* successful
* synchronization
* syncing
* Å¡enfeld
* take
* temporarily
* testcontents
* that
* the
* themselves
* throttling
* timeout
* transaction
* transferred
* unnecessary
* using
* webbrowser
* which
* with
* workspace

Signed-off-by: Josh Soref <email address hidden>