1
mirror of https://github.com/rclone/rclone synced 2024-12-26 18:23:45 +01:00
rclone/backend
Nick Craig-Wood 46078d391f config: make config file reads reload the config file if needed #4996
Before this change the config file needed to be explicitly reloaded.
This coupled the config file implementation with the backends
needlessly.

This change stats the config file to see if it needs to be reloaded on
every config file operation.

This allows us to remove calls to

- config.SaveConfig
- config.GetFresh

Which now makes the the only needed interface to the config file be
that provided by configmap.Map when rclone is not being configured.

This also adds tests for configfile
2021-03-14 16:03:35 +00:00
..
alias config: make config file system pluggable 2021-03-11 17:29:26 +00:00
all HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
amazonclouddrive Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
azureblob Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
b2 Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
box Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
cache config: make config file system pluggable 2021-03-11 17:29:26 +00:00
chunker address stringent ineffectual assignment check in golangci-lint (#5093) 2021-03-04 14:26:48 +03:00
compress compress: check type assertion in SetTier - fixes #4941 2021-01-20 22:59:14 +00:00
crypt crypt: add option to not encrypt data #1077 (#2981) 2021-02-17 03:40:37 +03:00
drive cmd/dedupe: make largest directory primary to minimize data moved (#3648) 2021-03-11 20:40:29 +03:00
dropbox Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
fichier Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
filefabric Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
ftp dropbox,ftp,onedrive,yandex: make --timeout 0 work properly 2021-03-01 12:08:58 +00:00
googlecloudstorage Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
googlephotos Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
hdfs hdfs: fix permissions for when directory is created 2021-03-12 09:15:14 +00:00
http config: make config file system pluggable 2021-03-11 17:29:26 +00:00
hubic swift: update github.com/ncw/swift to v2.0.0 2021-02-03 20:23:37 +00:00
jottacloud Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
koofr fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
local local: Add flag --no-preallocate - #3207 2021-02-11 17:25:28 +00:00
mailru fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
mega fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
memory azureblob,memory,pcloud: fix setting of mime types 2020-11-27 14:40:05 +00:00
onedrive config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
opendrive Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
pcloud Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
premiumizeme Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
putio Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
qingstor qingstor: fix rclone cleanup 2021-01-21 17:35:31 +00:00
s3 s3: fix Wasabi HEAD requests returning stale data by using only 1 transport 2021-03-05 15:34:56 +00:00
seafile config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
sftp sftp: fix "file not found" errors for read once servers - fixes #5077 2021-03-13 15:38:38 +00:00
sharefile Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
sugarsync Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
swift swift: update github.com/ncw/swift to v2.0.0 2021-02-03 20:23:37 +00:00
tardigrade build: remove go1.13 build constraints 2021-02-03 17:46:08 +00:00
union union: fix mkdir at root with remote:/ 2021-02-17 12:11:34 +00:00
webdav Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
yandex Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
zoho Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00