rclone/cmd
nielash 956c2963fd
Some checks are pending
Docker beta build / Build image job (push) Waiting to run
bisync: don't convert modtime precision in listings - fixes #8025
Before this change, bisync proactively converted modtime precision when greater
than what the destination backend supported.

This dates back to a time before bisync considered the modifyWindow for same-side
comparisons. Back then, it was problematic to save a listing with 12:54:49.7 for
a backend that can't handle that precision, as on the next run the backend would
report the time as 12:54:50 and bisync would think the file had changed. So the
truncation was a workaround to anticipate this and proactively record the time
with the precision we expect to receive next time.

However, this caused problems for backends (such as dropbox) that round instead
of truncating as bisync expected.

After this change, bisync preserves the original precision in the listing
(without conversion), even when greater than what the backend supports, to avoid
rounding error. On the next run, bisync will compare it to the rounded time
reported by the backend, and if it's within the modifyWindow, it will treat them
as equivalent.
2024-08-24 22:32:48 -04:00
..
about docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
all cmd/gitannex: Add the gitannex subcommand 2024-03-26 09:43:43 +00:00
authorize docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
backend docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
bisync bisync: don't convert modtime precision in listings - fixes #8025 2024-08-24 22:32:48 -04:00
cachestats docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cat docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
check docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
checksum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cleanup docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cmount vfs: convert time.Duration option to fs.Duration 2024-07-15 11:09:54 +01:00
config docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
copy docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
copyto docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
copyurl docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cryptcheck docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cryptdecode docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
dedupe docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
delete docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
deletefile docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
genautocomplete docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
gendocs docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
gitannex build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
hashsum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
link docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
listremotes Make filtering rules for help and listremotes more lenient 2024-08-15 18:45:12 +02:00
ls docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
lsd docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
lsf docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
lsjson lsjson: small docs change to clarify options 2024-04-15 17:11:35 +01:00
lsl docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
md5sum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
mkdir docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
mount build: fix staticcheck lint errors with golangci-lint v1.60.1 2024-08-14 17:48:24 +01:00
mount2 cmd/mountlib: convert time.Duration option to fs.Duration 2024-07-15 11:09:54 +01:00
mountlib systemd: prevent unmount rc command from sending a STOPPING=1 sd-notify message 2024-07-19 10:32:34 +01:00
move docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
moveto docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
ncdu docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
nfsmount serve nfs: implement on disk cache for file handles 2024-08-14 21:55:26 +01:00
obscure docs: add minimum versions to the command pages 2022-12-03 18:58:55 +01:00
purge docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rc docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rcat docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rcd rc: convert options to new style 2024-07-15 11:09:54 +01:00
reveal docs: add minimum versions to the command pages 2022-12-03 18:58:55 +01:00
rmdir docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rmdirs docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
selfupdate build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
serve serve docker: fix incorrect conversion between integer types 2024-08-17 15:03:39 +02:00
settier docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
sha1sum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
size docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
sync docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
test docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
touch docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
tree docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
version docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cmd.go build: fix govet lint errors with golangci-lint v1.60.1 2024-08-14 18:25:40 +01:00
completion.go cmd: make auto completion work for all shells and reduce the size 2024-02-29 14:46:50 +00:00
help.go Make filtering rules for help and listremotes more lenient 2024-08-15 18:45:12 +02:00
progress.go cmd: Make --progress output logs in the same format as without 2023-10-11 11:36:31 +01:00
selfupdate_disabled.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
selfupdate_enabled.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
siginfo_bsd.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
siginfo_others.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00