ce3b65e6dc
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 <2119212+jsoref@users.noreply.github.com >
2022-08-30 11:16:26 +02:00
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
77e3512714
fstests: Make InternalTestFiles so the internal tests know the current state
2022-08-05 16:42:30 +01:00
337b43e7e4
fstests: make ReadObject publically accessible
2022-08-05 16:42:30 +01:00
6fd9e3d717
build: reformat comments to pass go1.19 vet
...
See: https://go.dev/doc/go1.19#go-doc
2022-08-05 16:35:41 +01:00
b4d847cadd
new backend: hidrive - fixes #1069
2022-07-08 18:24:54 +01:00
a1fd60ec2b
staticcheck: empty branch
2022-07-04 11:24:59 +02:00
a58b482061
fstests: fix Metadata tests on remotes with additional config
2022-07-04 09:42:49 +01:00
866c873daa
backend: allow wrapping backend tests to run in make quicktest
2022-06-29 17:30:37 +01:00
78d52882ca
fs: add --metadata/-M flag to control whether metadata is copied
2022-06-29 14:29:36 +01:00
0652ec95db
fs: implement MetadataInfo to show info about metadata in help and rc
...
Info about this will appear in operations/fsinfo and in the backend
help (`rclone help backend s3`).
2022-06-29 14:29:36 +01:00
6a0e021dac
fs: implement optional Metadata interface for Objects #111
...
This implements integration tests for the feature also.
2022-06-29 11:21:29 +01:00
461d041c4d
fstest: remove spurious contents return from PutTestContents and friends
2022-06-29 11:18:02 +01:00
fdd2f8e6d2
Error strings should not be capitalized
...
Reported by staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-23 23:26:02 +02:00
14e0396fcb
test_all: allow internet archive backend more time
2022-06-18 15:13:18 +01:00
100acc570a
test_all: fix -clean so it works on remotes with paths
2022-06-18 15:10:09 +01:00
b9de37af80
test_all: Only run backend tests for Internet Archive as it is too slow
2022-06-17 16:52:30 +01:00
ec117593f1
Fix lint issues reported by staticcheck
...
Used staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-13 21:13:50 +02:00
4b358ff43b
combine: backend to combine multiple remotes in one directory tree
...
Fixes #5600
2022-06-08 14:57:25 +01:00
fb58737142
fstests: check for wrapped errors in ListR test
2022-06-08 14:57:25 +01:00
4f0ddb60e7
refactor: replace strings.Replace with strings.ReplaceAll
...
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-05-17 11:08:37 +01:00
edf0412464
test_all: correct path for Internet Archive test
...
This is to make it use the rclone project's account and to remove the
/ in the remote name which was crashing the integration tester!
2022-05-12 20:38:05 +01:00
6f91198b57
s3: Support Cloudflare R2 - fixes #5642
2022-05-12 08:49:20 +01:00
598364ad0f
backend/internetarchive: add support for Internet Archive
...
This adds support for Internet Archive (archive.org) Items.
2022-04-28 10:25:38 +01:00
bab91e4402
putio: ignore URL encoded files as these fail in the integration tests
2022-04-15 17:57:15 +01:00
fde40319ef
koofr: remove digistorage from integration tests as no account
2022-04-15 17:57:15 +01:00
94e330d4fa
onedrive: remove onedrive China from integration tests as we no longer have an account
2022-04-15 17:57:15 +01:00
087543d723
sftp: ignore failing entries in rsync.net integration tests
2022-04-15 17:57:15 +01:00
65652f7a75
Add Akamai Netstorage as a new backend.
2022-03-09 12:42:22 +00:00
fd453f2c7b
koofr: renamed digistorage to exclude the romania part.
2022-03-08 22:39:23 +00:00
5d06a82c5d
koofr: add digistorage service as a koofr provider.
2022-03-08 10:36:18 +00:00
f22b703a51
storj: rename tardigrade backend to storj backend #5616
...
This adds an alias for backwards compatibility and leaves a stub
documentation page to redirect people to the new documentation.
2022-02-11 11:04:15 +00:00
df09c3f555
pcloud: add support for recursive list
2021-12-01 15:58:44 +00:00
51c952654c
fstests: treat accountUpgradeRequired as success for OneDrive PublicLink
2021-11-17 17:35:17 +00:00
a7a8372976
🧪 fstest: fix time tests on Windows and add convenience methods to check local and remote fs with precision
...
Previously only the fs being checked on gets passed to
GetModifyWindow(). However, in most tests, the test files are
generated in the local fs and transferred to the remote fs. So the
local fs time precision has to be taken into account.
This meant that on Windows the time tests failed because the
local fs has a time precision of 100ns. Checking remote items uploaded
from local fs on Windows also requires a modify window of 100ns.
2021-11-09 11:43:36 +00:00
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
c08d48a50d
docs: improve grammar and fix typos ( #5361 )
...
This alters some comments in source files, but is interested mainly in documentation files and help messages.
2021-11-04 12:50:43 +01:00
f51a5eca2e
fstests: add encoding test for URL encoded path name #5768
...
Add an encoding test to make sure backends can deal with a URL encoded
path name. This is a fairly common failing in backends and has been an
intermittent problem with onedrive itself.
2021-11-02 15:59:36 +00:00
e77dcb7f52
test_all: remove stray debug
2021-10-31 19:18:55 +00:00
4ab842198a
Revert "premiumizeme: attempt to fix integration tests"
...
This reverts commit 1eff0eef7a03ec89a808737565c47068308468b3.
Now that the test account is premium again it is very fast and this is
no longer needed.
2021-10-31 19:18:54 +00:00
00ceeef21c
hdfs: wait longer for the server to start up in the integration tests #5734
...
This needs fixing properly so rclone knows when the server has started
properly.
2021-10-23 22:53:17 +01:00
a542ddf60a
hdfs: attempt to make integration tests more reliable #5734
...
This makes sure the namenode is accepting TCP connections before
starting the integration tests in an attempt to make them more
reliable.
2021-10-22 13:07:48 +01:00
844025d053
ftp: add support for precise time #5655
2021-10-21 14:50:53 +03:00
3a03f2778c
test: ignore integration test TestCopyFileMaxTransfer on Google Drive
...
The test fails because it expects a copy with MaxTransfer and CutoffModeHard should
return fatal error, because this is thrown from accounting (ErrorMaxTransferLimitReachedFatal),
but in case of Google Drive the external google API catches and replaces it with a
non-fatal error:
pw.CloseWithError(fmt.Errorf("googleapi: Copy failed: %v", err))
(7290f25351/internal/gensupport/media.go (L140)
)
2021-10-21 12:42:25 +01:00
4b1ada2d51
filefabric: allow integration tests double time as they keep timing out #5734
2021-10-21 09:54:29 +01:00
2e72ec96c1
qingstor: ignore harmless failing integration test #5734
...
The test TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListR fails in
the integration test because there is a broken bucket in the test
account which support haven't been able to remove.
2021-10-20 17:51:06 +01:00
9742648fce
fichier: allow more list retries for the integration tests #5734
2021-10-20 17:45:54 +01:00
d73264572b
putio: allow integration tests double time as they keep timing out #5734
2021-10-20 17:38:30 +01:00
ff801e8e17
test_all: allow configuring a multiplier for the timeout #5734
2021-10-20 17:38:30 +01:00
1eff0eef7a
premiumizeme: attempt to fix integration tests
...
This tries to fix the integration tests by only allowing one
premiumizeme test to run at once, in the hope it will stop rclone
hitting the rate limits and breaking the tests.
See: #5734
2021-10-20 17:38:30 +01:00