Commit Graph

6409 Commits

Author SHA1 Message Date
Andrey Bienkowski aa77957f68
Add test for: info: emit repo info even if repo has 0 archives (#6155)
add test for: info: emit repo info even if repo has 0 archives

In https://github.com/borgbackup/borg/pull/6152 it has been neglected to
add a regression test for the bug that has been fixed. This is the test.
2022-01-22 21:53:17 +01:00
Philip Waritschlager 8b61fd308c
docs: add note about GFS (#6006)
docs: add note about grandfather-father-son backup retention policy / rotation scheme
2022-01-22 20:33:02 +01:00
Mateusz Konieczny b4f54399d8
minor rewrite to make it less confusing (get rid of "Avoid to create a mixup") (#5490)
docs: permissions note rewritten to make it less confusing

Original wording was confusing "Avoid to create a mixup of users and permissions in your repository (or cache)." is not clear, what should be avoided?

Also implement some feedback of @jdchristensen.

Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-01-22 20:21:36 +01:00
TW 5edc773488
Merge pull request #6108 from sophie-h/sophie-h/list-command-line
list: Add command_line to format keys
2022-01-22 20:16:41 +01:00
Sophie Herold efd719bcc3 list: Add command_line to format keys 2022-01-22 19:13:32 +01:00
TW 8e8bc6f5c1
Merge pull request #6152 from ThomasWaldmann/info-0-archives-master
info: emit repo info even if repo has 0 archives, fixes #6120
2022-01-22 19:05:57 +01:00
Thomas Waldmann e22a6c2032 info: emit repo info even if repo has 0 archives, fixes #6120 2022-01-22 18:24:36 +01:00
TW dce0d89627
Merge pull request #6150 from ThomasWaldmann/vagrant-updates-master5
vagrant fixes (master)
2022-01-22 18:02:28 +01:00
Thomas Waldmann 1a3d0ea66a vagrant: update python version info in comment 2022-01-22 17:52:10 +01:00
Thomas Waldmann 6152f86d74 vagrant: more memory for openindiana64
maybe this speeds up the VM a bit.
2022-01-22 17:50:23 +01:00
Thomas Waldmann 7585e3843c vagrant: more memory for darwin64
maybe this speeds up the VM a bit.
2022-01-22 17:48:57 +01:00
Thomas Waldmann 2f8b130834 vagrant: also invoke setup.py clean2
clean2 was added in master branch to work around some setuptools customizability limitation.
2022-01-22 17:45:28 +01:00
Thomas Waldmann 41814d393d vagrant: use macfuse instead of osxfuse
note: we also use the more recent macfuse on github CI.
2022-01-22 17:41:50 +01:00
Thomas Waldmann d3bf52e105 vagrant: remove remainders of archlinux box
the (broken) box was removed a while ago.
2022-01-22 17:39:31 +01:00
Thomas Waldmann 550be412e4 vagrant: fix vagrant scp on macOS, fixes #5921
it did not find pyenv in PATH, resulting in unpretty error messages.
2022-01-22 17:25:54 +01:00
TW 757f757cc1
codeql analysis (#6148)
codeql analysis: fixes and cosmetics
2022-01-22 15:00:45 +01:00
TW 9bded11c4e
create github security policy 2022-01-22 14:36:31 +01:00
TW 69337fca61
add codeql analysis 2022-01-22 13:50:27 +01:00
TW b3defeb740
Merge pull request #6145 from ThomasWaldmann/update-10xchanges
updated 1.0.x changes up to last one, dissect 1.0.x vs 1.1.x
2022-01-21 14:46:08 +01:00
Thomas Waldmann 35d00ceb2f updated 1.0.x changes up to last one, dissect 1.0.x vs 1.1.x 2022-01-21 14:44:14 +01:00
TW 263bd0b8b7
Merge pull request #6142 from ThomasWaldmann/update-11xchanges
updated 1.1.x changes up to 1.1.17
2022-01-21 14:25:39 +01:00
Thomas Waldmann 5d0446ccf8 updated 1.1.x changes up to 1.1.17 2022-01-21 14:24:12 +01:00
TW de9d4265e0
Merge pull request #6141 from ThomasWaldmann/remove-env-var-master
remove leftovers of BORG_HOSTNAME_IS_UNIQUE from docs
2022-01-20 23:45:54 +01:00
Thomas Waldmann 78f0f3518e remove leftovers of BORG_HOSTNAME_IS_UNIQUE from docs
thanks to @snsmac for the hint: there is no code implementing this any more. it was replaced by
BORG_HOST_ID (if needed).
2022-01-20 23:38:43 +01:00
TW 35cbf473a1
Merge pull request #6135 from ThomasWaldmann/updates-master
some minor updates (master)
2022-01-20 18:26:11 +01:00
Thomas Waldmann 4c493aa27c pypi metadata: alpha -> beta 2022-01-20 17:45:41 +01:00
Thomas Waldmann cf2b2d5ab7 vagrant: use python 3.9.10 2022-01-20 17:43:49 +01:00
Graham Stockton 0724d4be4e
key export: print key if path is '-' or not given, fixes #6092 (#6093)
key export: print key if path is '-' or not given, fixes #6092

"borg key export [REPOSITORY]" now displays the key.
2022-01-20 02:55:52 +01:00
TW b8419c9859
Merge pull request #6129 from ThomasWaldmann/y2022-master
it's 2022
2022-01-20 02:26:00 +01:00
Chen Yufei 7e746e10e7
docs: excluded parent dir's metadata can't restore. (#6062)
docs: if parent dir is not extracted, we do not have its metadata
2022-01-20 02:04:15 +01:00
TW 45ef118aa6
Merge pull request #6132 from Tavlor/patch-1
clarify who starts the remote agent
2022-01-18 23:13:27 +01:00
Tavlor 2c7253dcbb
clarify who starts the remote agent
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.
2022-01-18 02:07:01 +00:00
Thomas Waldmann 035c175cbb it's 2022 2022-01-16 23:28:18 +01:00
TW 836cb61b4c
Merge pull request #6127 from ThomasWaldmann/update-changes-master
update CHANGES
2022-01-16 23:07:31 +01:00
Thomas Waldmann 549f83a220 update CHANGES 2022-01-16 21:34:24 +01:00
TW 0aabff67f7
Merge pull request #6065 from enkore/patch-2
docs/data-structures: add content-defined chunking explainer
2022-01-16 21:01:09 +01:00
Thomas Waldmann 94e93ba7e6 formula is only approximately correct
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.
2022-01-16 20:39:29 +01:00
TW 96e6990bd4
Merge pull request #5989 from szpak-forks/fishCompletion330Fix
Fix command & switch completion in Fish 3.3.0+
2022-01-16 20:29:47 +01:00
TW 97d6f8145f
Merge pull request #6125 from ThomasWaldmann/ci-downgrade-macos-master
CI: downgrade to macOS 10.15, work around #6099
2022-01-16 19:27:12 +01:00
Thomas Waldmann e0af9d8ee7 CI: macOS: re-enable fuse2 testing, work around #6099
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.
2022-01-16 18:36:29 +01:00
TW 75cbab3773
Merge pull request #6118 from ThomasWaldmann/upgrade-pyi
use pyinstaller 4.7
2022-01-07 23:19:51 +01:00
Thomas Waldmann 6863df364f use pyinstaller 4.7 2022-01-07 23:09:46 +01:00
TW eb4a9d2094
Merge pull request #6117 from ThomasWaldmann/shake-master
remove support for shake_* hashes, fixes #6082
2022-01-07 22:55:56 +01:00
Thomas Waldmann 6226002eb0 remove support for shake_* hashes, fixes #6082 2022-01-07 22:21:22 +01:00
TW 3a878bb13c
Merge pull request #6112 from ThomasWaldmann/allow-msgpack-103
allow msgpack 1.0.3, fixes #6111
2022-01-07 14:25:59 +01:00
TW c71acda4a9
Merge pull request #6115 from ThomasWaldmann/fix-xattr-percent-binary-master
fix new xattr tests for binary test runs
2022-01-07 14:24:32 +01:00
TW aec98e48ec
Merge pull request #6116 from ThomasWaldmann/upgrade-py-master
upgrade pythons (master)
2022-01-07 14:21:32 +01:00
Thomas Waldmann 530acb68be github ci: use 3.10 (without -dev) 2022-01-06 23:33:45 +01:00
Thomas Waldmann c9a4a24342 vagrant: use py 3.9.9 and 3.10.0 2022-01-06 23:28:46 +01:00
Thomas Waldmann 8b192db076 fix new xattr tests for binary test runs
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).
2022-01-06 23:21:07 +01:00