Commit graph

5746 commits

Author SHA1 Message Date
Thomas Waldmann
ed9bdaef19 docs: add unsafe workaround to use an old repo copy, fixes #5722 2021-03-12 22:28:39 +01:00
Robert Blenis
5c7e2857ad
add --json-lines option to diff command (#5710)
diff: add --json-lines option

Co-authored-by: Robert Blenis <r.blenis@visionxyz.com>
2021-03-12 21:25:35 +01:00
TW
a8bfe53c7f
Merge pull request #5731 from ThomasWaldmann/disable-py310-testing-1.1-maint
don't test on py310 for now
2021-03-12 20:47:50 +01:00
Thomas Waldmann
0327a414d3 don't test on py310 for now
it breaks everything due to issue #5729 - reenable after fixing that.
2021-03-12 20:33:07 +01:00
TW
3c09ea79ab
Merge pull request #5715 from ThomasWaldmann/update-changes-1.1.16
update CHANGES
2021-03-01 01:12:28 +01:00
Thomas Waldmann
7c6c801fe1 update CHANGES 2021-02-28 23:54:25 +01:00
TW
abe2b6b315
Merge pull request #5706 from ThomasWaldmann/files-cache-debug-logging-1.1
verbose files cache logging via --debug-topic=files_cache, fixes #5659
2021-02-28 21:59:24 +01:00
TW
fa2da99546
Merge pull request #5707 from ThomasWaldmann/repo-config-nonint-values-1.1
Repo config nonint values (1.1)
2021-02-28 21:52:38 +01:00
Thomas Waldmann
433658ddee verbose files cache logging via --debug-topic=files_cache, fixes #5659 2021-02-24 00:12:16 +01:00
Thomas Waldmann
43c7db0e10 config: accept non-int value for max_segment_size
borg config REPO max_segment_size 500M

note: when setting a non-int value for this in a repo config, using the repo will require borg >= 1.1.16.
2021-02-23 23:52:46 +01:00
Thomas Waldmann
c4f73c9061 config: accept non-int value for storage_quota
borg config REPO storage_quota 100G

note: when setting a non-int value for this in a repo config, using the repo will require borg >= 1.1.16.
2021-02-23 23:44:42 +01:00
TW
6daa62f450
Merge pull request #5705 from m3nu/issue/5660/macfuse-m1
Apple M1 compatibility
2021-02-22 17:23:25 +01:00
Manu
57cdbba56e Apple M1 compatibility 2021-02-22 10:35:11 +08:00
TW
44ba5ddd87
Merge pull request #5684 from FelixSchwarz/drop-old-buffer-protocol-support
msgpack: drop support for old buffer protocol
2021-02-22 01:12:53 +01:00
Thomas Waldmann
dddba68e6e version 0.5.6+borg1 for the locally modified msgpack
also: adapt version check to only check major.minor.patch.
2021-02-22 00:51:30 +01:00
TW
2f9fc3dc09
Merge pull request #5701 from ThomasWaldmann/noacls-noxattrs-1.1
implement --noacls --noxattrs (1.1-maint)
2021-02-21 23:49:49 +01:00
Thomas Waldmann
17e416de62 some micro-opts in stat_ext_attrs 2021-02-16 22:24:11 +01:00
Thomas Waldmann
4545b9e54d create/extract: add --noxattrs option, #3955
when given with borg create, borg will not get xattrs from input files (and thus, it will not archive xattrs).

when given with borg extract, borg will not read xattrs from archive and it will not set xattrs on extracted files.
2021-02-16 21:30:01 +01:00
Thomas Waldmann
b40544ddba create/extract: add --noacls option, #3955
when given with borg create, borg will not get ACLs from input files (and thus, it will not archive ACLs).

when given with borg extract, borg will not read ACLs from archive and it will not set ACLs on extracted files.
2021-02-16 21:08:47 +01:00
Thomas Waldmann
a2592b53bc fixup: use 3.10-dev as it is not released yet 2021-02-16 19:34:04 +01:00
Thomas Waldmann
ae7fd1dff4 fixup: use quotes for py versions
otherwise github action badly parses 3.10 and tries to install python 3.1.
2021-02-16 19:30:43 +01:00
Thomas Waldmann
24a7f107a9 add support and testing for python 3.10 2021-02-16 19:07:50 +01:00
TW
1f51185969
Merge pull request #5700 from ThomasWaldmann/patch-4-1.1
Add badge with current status of package
2021-02-16 00:15:18 +01:00
infectormp
a5c318fca9 Add badge with current status of package 2021-02-16 00:12:55 +01:00
TW
b8be174fae
Merge pull request #5698 from ThomasWaldmann/do-not-exclude-var-cache-#5625-1.1
docs: remove /var/cache exclusion in example commands
2021-02-15 23:36:09 +01:00
Matthew R. Trower
a88b778184 docs: remove /var/cache exclusion in example commands
This is generally a poor idea and shouldn't be promoted through examples.

Fixes #5625
2021-02-15 23:33:44 +01:00
TW
0c9d3d53d1
Merge pull request #5697 from ThomasWaldmann/update-changes-1116
update CHANGES
2021-02-15 23:19:51 +01:00
Thomas Waldmann
dce4612d3e update CHANGES 2021-02-15 23:09:47 +01:00
TW
6880157c09
Merge pull request #5696 from ThomasWaldmann/fix-5603-1.1
do not recurse into duplicate roots, fixes #5603 (1.1-maint)
2021-02-15 22:31:10 +01:00
TW
908adb5f54
Merge pull request #5695 from ThomasWaldmann/improve-borg-check-logging-1.1
check: debug log segment filename
2021-02-15 22:00:46 +01:00
Thomas Waldmann
a940ec76bc move requires_hardlinks upwards 2021-02-15 21:55:09 +01:00
Thomas Waldmann
1acb4510c1 do not recurse into duplicate roots, fixes #5603 2021-02-15 21:54:24 +01:00
Thomas Waldmann
35aa47d588 add a test whether a duplicate root is skipped, see #5603 2021-02-15 21:50:23 +01:00
Thomas Waldmann
f283ff25dc add a test for hardlink extraction issue, see #5603 2021-02-15 21:50:12 +01:00
TW
641418d06d
Merge pull request #5693 from ThomasWaldmann/repo-fixes-1.1
Repo changes backport to 1.1-maint
2021-02-15 21:41:44 +01:00
TW
4a181f74a4
Merge pull request #5694 from ThomasWaldmann/misc-fixes-1.1
backport comment about archives.list() defaults
2021-02-15 21:40:27 +01:00
Thomas Waldmann
578b30e59d check: debug log segment filename 2021-02-15 21:33:36 +01:00
Thomas Waldmann
f357c1b946 backport comment about archives.list() defaults
backport of comment from a77db94b01
2021-02-15 21:15:41 +01:00
Thomas Waldmann
36503c4e37 revert incorrect fix for put updating shadow_index, fixes #5661
A) the compaction code needs the shadow index only for this case:

segment A: PUT x, segment B: DEL x, with A < B  (DEL shadows the PUT).

B) for the following case, we have no shadowing DEL (or rather: it does not matter,
because there is a PUT right after the DEL) and x is in the repo index,
thus the shadow_index is not needed for the special case in the compaction code:

segment A: PUT x, segment B: DEL x PUT x

see also PR #5636.

reverts f079a83fed
and clarifies the code by more comments.

we keep the code deduplication of 5f32b5666a
and just add a update_shadow_index param to make it not look like there was
something accidentally forgotten, which was the whole reason for the reverted
"fix".
2021-02-15 20:50:08 +01:00
Thomas Waldmann
df11a67f96 fix updating shadow_index also in put
The shadow_index should be in same state after both of these sequences
(let's assume that A is not in repo yet for simplicity, but it does not matter):

a) explicit delete: put(A), delete(A), put(A), resulting in: PUT A, DEL A, PUT A repo contents

b) implicit delete: put(A), put(A), resulting in: PUT A, DEL A, PUT A repo contents
2021-02-15 20:49:34 +01:00
Thomas Waldmann
a8cf5582b0 deduplicate code of put and delete, no functional change 2021-02-15 20:49:21 +01:00
Thomas Waldmann
e9c1c408b5 remove empty shadowed_segments lists, fixes #5275
also:
- add test for removed empty shadowed_segments list
- add some comments
- add repo_dump test debug tool

note: this is the backport of #5614 to 1.1-maint - it needed some adaptions to fit into 1.1-maint:

1.1-maint always compacts when committing and does not persist shadow_index, so the tests are a bit different
2021-02-15 20:48:29 +01:00
TW
2428d9285d
Merge pull request #5690 from ThomasWaldmann/avoid-grub-install-issue-1.1
avoid grub-install asking interactively for device
2021-02-14 22:12:41 +01:00
Thomas Waldmann
69605435c3 avoid grub-install asking interactively for device 2021-02-14 22:10:01 +01:00
TW
b01819b3eb
Merge pull request #5689 from ThomasWaldmann/update-freebsd
upgrade FreeBSD VM to 11.4, pyinstaller to v4.2, fixes #5688
2021-02-14 21:09:26 +01:00
Thomas Waldmann
2108cadb73 upgrade FreeBSD VM to 11.4, pyinstaller to v4.2, fixes #5688
FreeBSD 10.x is not supported any more, the pkg sources are not
available any more, so our VM needed an upgrade.

so, we'll build borg 1.1.x binaries on FBSD 11.4 in future.

additionally, pyinstaller had some regression that is fixed by v4.2.
in v4.2-maint branch i added the FBSD bootloaders, which were missing
as usual.
2021-02-14 18:58:01 +01:00
TW
7158b72a1e
Merge pull request #5685 from m3nu/pr/macos-docs-5677
Update macOS install instructions (Backport to 1.1-maint)
2021-02-13 16:57:10 +01:00
Manu
15b9cfb50f Update macOS install instructions
Backport of #5677
2021-02-12 08:34:19 +08:00
Felix Schwarz
d96ff92e85 msgpack: drop support for old buffer protocol
The old buffer protocol was deprecated since Python 3.0 and will be
removed entirely in Python 3.10.

This is a backport of

    commit 9ae43709e42092c7f6a4e990d696d9005fa1623d
    Author: Inada Naoki <songofacandy@gmail.com>
    Date:   Thu Dec 5 20:20:53 2019 +0900

        Drop old buffer protocol support (#383)

Backporting by me, any errors are likely due to backporting.
2021-02-11 23:17:07 +01:00
TW
9ecdf19b33
Merge pull request #5655 from SanskritFritz/1.1-maint
Tab completion support for additional archives for 'borg delete'
2021-01-31 22:05:59 +01:00