rclone-dev:fix-mega-decode

Last commit made on 2020-01-11
Get this branch:
git clone -b fix-mega-decode https://git.launchpad.net/rclone-dev

Branch merges

Branch information

Name:
fix-mega-decode
Repository:
lp:rclone-dev

Recent commits

aefe18f... by Nick Craig-Wood

mega: fix key decoding - FIXME VENDOR PATCH DO NOT MERGE

See: https://forum.rclone.org/t/problem-to-login-with-mega/12276

ae340cf... by Nick Craig-Wood

log: factor flags into logflags package - fixes #3792

11f501b... by Nick Craig-Wood

operations: move interface assertion to tests to remove pflag dependency #3792

a4bc4da... by Nick Craig-Wood

mounttest: fix unreliable tests on Windows CI

The failure is this which is not reproducable locally, only on the CI
servers.

    --- FAIL: TestMount/CacheMode=minimal/TestWriteFileOverwrite (1.01s)
        fs.go:351:
            Error Trace: fs.go:351
                            write.go:65
            Error: Received unexpected error:
                            open E:testwrite: The request could not be performed because of an I/O device error.
            Test: TestMount/CacheMode=minimal/TestWriteFileOverwrite

The corresponding ERROR from the log is this:

    ERROR : IO error: truncate C:\Users\runneradmin\AppData\Local\rclone\vfs\local\C\Users\RUNNER~1\AppData\Local\Temp\rclone298719627\testwrite: Access is denied.

Instead of using ioutil.WriteFile this fix uses an equivalent based on
rclone's lib/file which doesn't set the exclusive flag on
Windows. This allows files to be deleted that are open. It also
deletes existing files if an error is received and retries.

51dca8c... by Nick Craig-Wood

bin: update windows test paths for new setup

6b30212... by Nick Craig-Wood

Add Ole Schütt to contributors

f263828... by =?utf-8?q?Ole_Sch=C3=BCtt?= <email address hidden>

operations: write debug message when hashes could not be checked

b7019a9... by Maciej Zimnoch <email address hidden>

fs/operations: Clear accounting before low level retry

Statistics of ransfers which were interrupted are not cleared before
retry iteration. These transfers completed with over 100 percentage.

This change clears transfer accounting before next retry iteration is
done in order to keep numbers in track.

Fixes #3861

27c3481... by Alex Chen <email address hidden>

build: fix CI for forks and related docs (#3847)

706da80... by Nick Craig-Wood

mount: don't build on go1.10 as bazil/fuse no longer supports it