Nick Craig-Wood
440d0cd179
s3: fix --s3-no-head panic: reflect: Elem of invalid type s3.PutObjectInput
...
In
22abd785eb
s3: implement reading and writing of metadata #111
The reading information of objects was refactored to use the
s3.HeadObjectOutput structure.
Unfortunately the code branch with `--s3-no-head` was not tested
otherwise this panic would have been discovered.
This shows that this is path is not integration tested, so this adds a
new integration test.
Fixes #6322
2022-07-18 23:38:50 +01:00
Nick Craig-Wood
a047d30eca
Add Yen Hu to contributors
2022-07-18 23:38:50 +01:00
Yen Hu
03d0f331f7
onedrive: rename Onedrive(cn) 21Vianet to Vnet Group
...
The old site had shown a redirect page to the new one since 2021-4-21.
https://www.21vianet.com
The official site had renamed to Vnet Group also.
https://www.vnet.com/en/about
2022-07-17 17:07:23 +01:00
Lesmiscore
049674aeab
backend/internetarchive: ignore checksums for files using the different method
2022-07-17 14:02:40 +01:00
Nick Craig-Wood
50f053cada
dropbox: fix hang on quit with --dropbox-batch-mode off
...
This problem was created by the fact that we are much more diligent
about calling Shutdown now, and the dropbox backend had a hang if the
batch mode was "off" in the Shutdown method.
See: https://forum.rclone.org/t/dropbox-lsjson-in-1-59-stuck-on-commiting-upload/31853
2022-07-17 12:51:44 +01:00
Nick Craig-Wood
140af43c26
build: add 32 bit test runner to avoid problems like #6311
2022-07-14 20:13:03 +01:00
Nick Craig-Wood
f467188876
Add Evan Spensley to contributors
2022-07-14 20:13:03 +01:00
Evan Spensley
4a4379b312
jobs: add ability to stop group
...
Adds new rc call to stop all running jobs in a group. Fixes #5561
2022-07-13 18:13:31 +01:00
Nick Naumann
8c02fe7b89
sync: update docs and error messages to reflect fixes to overlap checks
2022-07-13 16:04:53 +01:00
Nick Naumann
11be920e90
sync: add filter-sensitivity to --backup-dir option
...
The old Overlapping function and corresponding tests have been removed, as it has been completely replaced by the OverlappingFilterCheck function.
2022-07-13 16:04:53 +01:00
albertony
8c19b355a5
docs: fix links to mount command from install docs
2022-07-13 12:33:54 +02:00
r-ricci
67fd60275a
union: fix panic due to misalignment of struct field in 32 bit architectures
...
`FS.cacheExpiry` is accessed through sync/atomic.
According to the documentation, "On ARM, 386, and 32-bit MIPS, it is
the caller's responsibility to arrange for 64-bit alignment of 64-bit
words accessed atomically. The first word in a variable or in an
allocated struct, array, or slice can be relied upon to be 64-bit
aligned."
Before commit 1d2fe0d856
this field was
aligned, but then a new field was added to the structure, causing the
test suite to panic on linux/386.
No other field is used with sync/atomic, so `cacheExpiry` can just be
placed at the beginning of the stuct to ensure it is always aligned.
2022-07-11 18:34:06 +01:00
Nick Craig-Wood
b310490fa5
union: fix multiple files being uploaded when roots don't exist
...
See: https://forum.rclone.org/t/union-backend-copying-to-all-remotes-while-it-shouldnt/31781
2022-07-11 18:19:36 +01:00
Nick Craig-Wood
0ee0812a2b
union: fix duplicated files when using directories with leading /
...
See: https://forum.rclone.org/t/union-backend-copying-to-all-remotes-while-it-shouldnt/31781
2022-07-11 18:19:36 +01:00
Nick Craig-Wood
55bbff6346
operations: add --server-side-across-configs global flag for any backend
2022-07-11 18:17:42 +01:00
Nick Craig-Wood
9c6cfc1ff0
combine: throw error if duplicate directory name is specified
...
See: https://forum.rclone.org/t/v1-59-combine-qs/31814
2022-07-10 15:40:30 +01:00
Nick Craig-Wood
f753d7cd42
combine: fix docs showing remote=
instead of upstreams=
...
See: https://forum.rclone.org/t/v1-59-combine-qs/31814
2022-07-10 15:34:48 +01:00
Nick Craig-Wood
f5be1d6b65
Start v1.60.0-DEV development
2022-07-09 20:43:17 +01:00
Nick Craig-Wood
00a684d877
Version v1.59.0
2022-07-09 18:09:25 +01:00
Nick Craig-Wood
1c4ee2feee
gcs: add --gcs-decompress flag to download gzip-encoded files
...
By default these will be downloaded compressed.
This changes the default of the previous commit
2781f8e2f1
gcs: Fix download of "Content-Encoding: gzip" compressed objects
But will fit in better with the metadata framework when copying
gzip-encoded objects from backend to backend.
2022-07-09 17:31:12 +01:00
Nick Craig-Wood
876f12f2c4
Add Ovidiu Victor Tatar to contributors
2022-07-09 12:35:59 +01:00
Nick Craig-Wood
6e9c1eebd9
Add Claudio Maradonna to contributors
2022-07-09 12:35:59 +01:00
Lesmiscore (Naoya Ozaki)
42dfadfa1b
internetarchive: add support for Metadata
2022-07-08 23:47:50 +01:00
Ovidiu Victor Tatar
b4d847cadd
new backend: hidrive - fixes #1069
2022-07-08 18:24:54 +01:00
Ovidiu Victor Tatar
502226bfc8
pacer: add ZeroDelayCalculator
2022-07-08 18:24:54 +01:00
Ovidiu Victor Tatar
53400d7edc
oauthlib: add method to set a token as expired
...
This can be used by backends to trigger a refresh of an access token if
they detect an invalid token.
2022-07-08 18:24:54 +01:00
Claudio Maradonna
62bcc84f6f
vfs: add --vfs-disk-space-total-size option to manually set the total disk space
...
Now you can specify --vfs-disk-space-total-size to set the total disk
space (default to -1)
fixes #3270
2022-07-08 17:26:54 +01:00
Nick Craig-Wood
2e54b56a01
rcat: check checksums by default like copy does #6305
...
Before this change we were calculating the checksum for an rcat
transfer but never checking it.
See: https://forum.rclone.org/t/optimize-rclone-on-raspberry-pi-4-8gb/31741
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
2515039e18
Add Lorenzo Maiorfi to contributors
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
a9c531b9eb
Add Paul Norman to contributors
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
0db50ecb2f
Add zzr93 to contributors
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
388da82762
Add Anthrazz to contributors
2022-07-07 16:09:09 +01:00
Lorenzo Maiorfi
b5efffee9d
azureblob: allow remote emulator (azurite) - fixes #6290
2022-07-06 11:54:04 +01:00
Paul Norman
3ec07d5db9
docs: fix typo in license webpage
2022-07-06 11:25:31 +01:00
albertony
5c6a958ad8
go mod tidy: github.com/pkg/xattr should be direct
2022-07-04 11:24:59 +02:00
albertony
ad8c94e982
staticcheck: redundant return statement
2022-07-04 11:24:59 +02:00
albertony
e5bf6a813c
staticcheck: google api New is deprecated: please use NewService instead
2022-07-04 11:24:59 +02:00
albertony
f18095b004
staticcheck: ignore deprecations that are not relevant
2022-07-04 11:24:59 +02:00
albertony
c70e890966
staticcheck: TLS config NameToCertificate is deprecated, should instead let library select the first compatible chain from Certificates
2022-07-04 11:24:59 +02:00
albertony
986bb17656
staticcheck: awserr.BatchError is deprecated: Replaced with BatchedErrors
2022-07-04 11:24:59 +02:00
albertony
92a43c5f7b
staticcheck: should use a simple channel send/receive instead of select with a single case
2022-07-04 11:24:59 +02:00
albertony
9612ca6110
staticcheck: ignore unused if platform dependent
2022-07-04 11:24:59 +02:00
albertony
1f9560e873
selfupdate: replace deprecated x/crypto/openpgp package with ProtonMail/go-crypto
2022-07-04 11:24:59 +02:00
albertony
c9d67c86fb
staticcheck: ignore suggestion to use context.TODO instead of nil when testing nil Context
2022-07-04 11:24:59 +02:00
albertony
3e9c5eca3b
yandex: handle api error on server-side move
2022-07-04 11:24:59 +02:00
albertony
a1fd60ec2b
staticcheck: empty branch
2022-07-04 11:24:59 +02:00
albertony
7b8c974dec
staticcheck: ineffective break statement
2022-07-04 11:24:59 +02:00
albertony
5b579cea47
staticcheck: use golang.org/x/text/cases instead of deprecated strings.Title
...
strings.Title has been deprecated since Go 1.18 and an alternative has been
available since Go 1.0. The rule Title uses for word boundaries does not handle
Unicode punctuation properly. Use golang.org/x/text/cases instead.
2022-07-04 11:24:59 +02:00
albertony
7822df565e
staticcheck: unused func
2022-07-04 11:24:59 +02:00
albertony
3435bf7f34
staticcheck: no value of type int64 is greater than math.MaxInt64
2022-07-04 11:24:59 +02:00