Nick Craig-Wood
e80ae4e09c
build: remove unused struct fields spotted by structcheck
2018-05-05 17:32:41 +01:00
Nick Craig-Wood
1320e84bc2
build: remove unused code spotted by the deadcode linter
2018-05-05 17:32:41 +01:00
Nick Craig-Wood
cb5bd47e61
build: fix errors spotted by ineffassign linter
...
These were mostly caused by shadowing err and a good fraction of them
will have caused errors not to be propagated properly.
2018-05-05 17:32:41 +01:00
Nick Craig-Wood
790a8a9aed
build: add gometalinter and gometalinter_install Makefile targets
2018-05-05 17:32:41 +01:00
Nick Craig-Wood
f1a43eca4d
mount: make --daemon work for macOS without CGO
2018-05-05 16:23:47 +01:00
Nick Craig-Wood
7ea68f1fc6
sftp: require go1.9+ after golang.org/x/crypto/ssh update
2018-05-05 16:23:47 +01:00
Nick Craig-Wood
6427029c4e
vendor: update all dependencies
...
* Update all dependencies
* Remove all `[[constraint]]` from Gopkg.toml
* Add in the minimum number of `[[override]]` to build
* Remove go get of github.com/inconshreveable/mousetrap as it is vendored
* Update docs with new policy on constraints
2018-05-05 15:52:24 +01:00
Nick Craig-Wood
21383877df
cmd: make exit code 8 for --max-transfer exceeded
2018-05-05 12:58:28 +01:00
Nick Craig-Wood
f95835d613
fserrors: Look deeper into errors for Fatal/Retry/NoRetry errors.
...
Before this change fatal errors which were wrapped in a system error (eg a
URLError) were not recognised as fatal errors.
2018-05-05 12:58:28 +01:00
Nick Craig-Wood
be79b47a7a
sync: log when we abandon the sync due to a fatal error
2018-05-05 12:58:28 +01:00
Nick Craig-Wood
be22735609
fs/accounting: fix deadlock on GetBytes
...
A deadlock could occur since we have now put a mutex on GetBytes from
StatsInfo.String (s.mu) - progress (acc.statmu) and read (acc.statmu)
- GetBytes (s.mu).
Fix this by giving stringSet its own locking and excluding the call
which caused the deadlock from the mutex in StatsInfo.String.
2018-05-05 12:58:28 +01:00
Nick Craig-Wood
1b1b3c13cd
sync: add a test for aborting on max upload
2018-05-05 12:58:28 +01:00
Nick Craig-Wood
5c128272fd
Implement --max-transfer flag to quit transferring at a limit #1655
2018-05-05 12:58:28 +01:00
Nick Craig-Wood
d178233e74
sync,march: check the cancel context on every channel send and receive
...
This fixes a deadlock on sync when all the copying channels receive a
Fatal Error.
2018-05-05 12:58:28 +01:00
Fabian Möller
98bf65c43b
vfs: fix ChangeNotify for new or changed folders
...
Fixes #2251
2018-05-05 12:54:03 +01:00
Fabian Möller
3b5e70c8c6
drive: fix ChangeNotify for folders
2018-05-05 12:54:03 +01:00
Fabian Möller
bd3ad1ac3e
vfs: add option to read source files in chunks
2018-05-05 12:49:42 +01:00
Fabian Möller
9fdf273614
fs: improve ChunkedReader
...
- make Close permanent and return errors afterwards
- use RangeSeek from the wrapped reader if present
- add a limit to chunk growth
- correct RangeSeek interface behavior
- add tests
2018-05-05 12:49:42 +01:00
Nick Craig-Wood
fe25cb9c54
drive: fix about (and df on a mount) for team drives - fixes #2288
...
Before this fix team drives would return the drive quota which is
incorrect and mis-leading.
Team drives don't appear to have an API for reading the bytes used or
the quota so we now return that the quota and usage are unknown.
2018-05-03 08:59:14 +01:00
Nick Craig-Wood
f2608e2a64
Add NoLooseEnds to contributors
2018-05-01 09:43:18 +01:00
NoLooseEnds
a5f1811892
cmd: Fixed a typo – minimum
2018-05-01 09:42:21 +01:00
Nick Craig-Wood
50dc5fe92e
Add Rodrigo to contributors
2018-04-30 17:37:43 +01:00
Rodrigo
b7d2048032
WebDAV: Ignore Reason-Phrase in status line #2281
2018-04-30 17:36:38 +01:00
Nick Craig-Wood
3116249692
make sign_upload: only sign the v1.xx releases not the current ones
2018-04-30 17:29:50 +01:00
Nick Craig-Wood
d049e5c680
make build_dep: make sure we update the whole command for nfpm
2018-04-30 17:29:50 +01:00
Nick Craig-Wood
1c9572aba1
Add Piotr Oleszczyk to contributors
2018-04-30 17:29:50 +01:00
Piotr Oleszczyk
76f2cbeb94
sftp: Add --ssh-path-override flag #1474
...
The flag allows calculation of checksums on systems using
different paths for SSH and SFTP, like synology NAS boxes.
2018-04-30 17:05:10 +01:00
Nick Craig-Wood
0479c7dcf5
add github-release to make release_dep
2018-04-28 12:38:30 +01:00
Nick Craig-Wood
55674c0bfc
Start v1.41-DEV development
2018-04-28 12:37:55 +01:00
Nick Craig-Wood
e4c380b2a8
Version v1.41
2018-04-28 11:46:27 +01:00
Nick Craig-Wood
74cbdea0ef
Revert "copy: create (pseudo copy) empty source directories to destination"
...
Unfortunately this commit attempts to create every directory rather
than just the empty ones, so will need re-working.
Removing this feature for the 1.41 release
This reverts commit 0daced29db
.
2018-04-28 10:02:32 +01:00
Nick Craig-Wood
a3bf6b9c2c
drive, gcs: fix service account authentication - fixes #2279
...
This fixes a problem introduced in b78af517de
where it would
attempt to read a non-existent service account file.
2018-04-28 09:33:43 +01:00
ishuah
0daced29db
copy: create (pseudo copy) empty source directories to destination - fixes #1837
2018-04-27 16:15:32 +01:00
Matt Holt
b78af517de
Add service_account_credentials for Google Cloud and Drive
2018-04-27 16:07:37 +01:00
Nick Craig-Wood
d8e88f10cd
rc: take note of the --rc-addr flag too as per the docs - fixes #2184
2018-04-26 17:00:44 +01:00
Nick Craig-Wood
849db6699d
Add Richard Yang to contributors
2018-04-26 16:23:52 +01:00
Richard Yang
a81ec00a8c
dedupe: Add dedupe largest functionality - fixes #2269
2018-04-26 16:21:07 +01:00
Nick Craig-Wood
da4a5e1fb3
docs: note that copytruncate is needed for --log-file with logrotate #2259
2018-04-26 15:30:46 +01:00
Nick Craig-Wood
ae562b5a4f
ftp: more workarounds for FTP servers to fix mkParentDir - fixes #2181
2018-04-26 14:58:04 +01:00
Nick Craig-Wood
c01177bc28
ftp: work around strange response from box FTP server
...
The Box FTP server seems to send 450 instead of 550 - work around that.
See: https://forum.rclone.org/t/using-box-com-over-ftp-problems/5313
2018-04-26 14:58:04 +01:00
Nick Craig-Wood
9f04ce282e
rc: fix setting bwlimit to unlimited
2018-04-26 12:21:29 +01:00
Nick Craig-Wood
764440068e
filter: fix --min-age and --max-age together check
...
Somehow in the code reorganisation of
11da2a6c9b
the check for --min-age and
--max-age got switched around. This commit fixes that and means you
can use --min-age and --max-age together.
2018-04-26 09:17:22 +01:00
Nick Craig-Wood
a703216286
filter: take double negatives out of filter flag help
2018-04-26 09:17:13 +01:00
Nick Craig-Wood
96a62d55a2
lsd: Add -R flag and fix and update docs for all ls commands
2018-04-26 08:55:03 +01:00
Nick Craig-Wood
d0f32b62fd
Revert "build: Temporary workaround for golint being missing."
...
This reverts commit be8bd89674
.
2018-04-25 16:17:54 +01:00
Mateusz Pabian
7c5f87842c
vfs: filter files . and .. from readDir output - fixes #2135
2018-04-25 16:09:07 +01:00
Nick Craig-Wood
cc8799e0d6
Add new email address for Oliver Heyme to contributors
2018-04-25 15:52:41 +01:00
Oliver Heyme
da214973a1
[install] Add arm64/aarch64 suuport
2018-04-25 15:51:38 +01:00
Nick Craig-Wood
be8bd89674
build: Temporary workaround for golint being missing.
...
See https://github.com/golang/lint/issues/397
2018-04-24 11:22:38 +01:00
Nick Craig-Wood
9ab2521ef2
rc: autogenerate and tidy the docs and commands
...
* Rename rc/pid -> core/pid
* Sort the output of `rc list`
* Make a script to autogenerate the docs
* Tidy docs
2018-04-23 20:57:17 +01:00