storage_quota_use should reflect current disk space usage (not considering some overheads like for the index etc.).
if a chunk is deleted, but the segment file containing the chunk is not yet compacted, the chunk's disk space is still in use!
when compact_segments is dropping the unused chunks, it is the right time to reduce storage_quota_use.
storage_quota_use includes the put header overhead.
It was unclear that the user _only_ needs to have borg installed on a remote system to use client/server mode. Hopefully this change makes it apparent that the user doesn't start anything on the remote system themselves.
the movement of the start of the hashing window stops at (file_size - window_size), thus THAT would be the factor in that formula, not just file_size.
for medium and big files, window_size is much smaller than file_size, so guess we can just say "approximately" for the general case.
Downgrade to macOS 10.15 as macOS 11.x breaks fuse2 testing.
On macOS 10.15, osxfuse and also macfuse works with borg's fuse2 tests.
Upgrading to macOS 11.x based github CI breaks the tests, see #6099,
even when using the more recent macfuse to provide fuse2 capability.
the tests do object patching, this does not work
when we call the external binary "borg.exe".
this made these tests fail IF the borg.exe was
available (like in the debian stretch vagrant VM).
While doing some doc updates I needed a way to test them - to build
the documentation and inspect the output. I ran into an issue:
running python setup.py build_man was throwing exceptions:
1. The import-tar parser had a None description causing:
File "/home/user/borg/setup_docs.py", line 451, in write_heading
write(char * len(header))
TypeError: object of type 'NoneType' has no len()
2. There was no docs/usage/import-tar.rst causing an exception too
this re-introduces a race between os.path.exists vs. SaveFile creating that file, but due to the way how SaveFile works, it still makes sure that in the end there is a good cache tag file in place.
While reading the docs I noticed that in `borg list` the options --list-format and --format do the same thing. Using `git log -S` I have uncovered that --list-format used to be deprecated and was supposed to be removed in c87393cab7, but you overlooked it and undeprecated it instead. What should we do now? Just remove it or deprecate it again?