Commit graph

10222 commits

Author SHA1 Message Date
TW
753ac7088b
Merge pull request #9169 from ThomasWaldmann/netbsd-xattr-support
Some checks are pending
Lint / lint (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / asan_ubsan (push) Blocked by required conditions
CI / native_tests (push) Blocked by required conditions
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Blocked by required conditions
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Blocked by required conditions
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Blocked by required conditions
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
netbsd: xattr support
2025-11-21 13:35:38 +01:00
Thomas Waldmann
bcf3316308
NetBSD: xattr.get_all: catch also errno.EOPNOTSUPP 2025-11-21 12:42:06 +01:00
Thomas Waldmann
0286fb6dc4
NetBSD: copy xattr implementation of FreeBSD, fixes #1332 2025-11-21 12:42:05 +01:00
Thomas Waldmann
9a0122995c
CI: netbsd: enable xattrs on TMPDIR 2025-11-21 12:41:59 +01:00
TW
2c2b0343b2
Merge pull request #9185 from ThomasWaldmann/tests-fs-cleanup-master
Some checks are pending
Lint / lint (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / asan_ubsan (push) Blocked by required conditions
CI / native_tests (push) Blocked by required conditions
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Blocked by required conditions
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Blocked by required conditions
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Blocked by required conditions
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Tests fs cleanup (master)
2025-11-21 03:17:59 +01:00
TW
ce9a4826b0
Merge pull request #9186 from ThomasWaldmann/fixes-master
misc small fixes (master)
2025-11-21 03:02:46 +01:00
Thomas Waldmann
1244e0d23a
conftest.py: clean up directly after tests 2025-11-21 02:54:08 +01:00
Thomas Waldmann
4aa63a7866
tests: add some ctx managers for better cleanup 2025-11-21 02:54:06 +01:00
TW
d6c334c4ec
Merge pull request #9184 from ThomasWaldmann/shtab2-master
more shell completion work
2025-11-21 02:52:29 +01:00
Thomas Waldmann
311a5c7e6b
fix rst syntax in changelog 2025-11-21 02:40:29 +01:00
Thomas Waldmann
211bb3225c
lrucache: remove unneeded move_to_end call, already at end 2025-11-21 02:01:46 +01:00
Thomas Waldmann
9b89f3ebd4
crypto: add low_level.pyi stub file 2025-11-21 02:01:43 +01:00
Thomas Waldmann
870f414690
buzhash/buzhash64: initialise all-zero memory more efficiently 2025-11-20 01:35:03 +01:00
Thomas Waldmann
631ef99e3f
chunkers.failing: fix docstring 2025-11-20 01:29:21 +01:00
Thomas Waldmann
bb38a63596
reader.pyi: fix types 2025-11-20 01:26:49 +01:00
Thomas Waldmann
4eb19d9e14
update CHANGES 2025-11-19 17:42:11 +01:00
Thomas Waldmann
895feaa71a
completion: blacken 2025-11-19 17:26:29 +01:00
Thomas Waldmann
5968382c9b
completion: support parse_file_size 2025-11-19 17:21:48 +01:00
Thomas Waldmann
12395967ea
completion: support timestamp 2025-11-19 17:21:47 +01:00
Thomas Waldmann
813585b428
completion: support relative_time_marker_validator 2025-11-19 17:21:46 +01:00
Thomas Waldmann
f787f4bfa5
completion: complete tags with already present ones in repo 2025-11-19 17:21:44 +01:00
Thomas Waldmann
91d0153f90
completion: module docstring 2025-11-19 17:21:43 +01:00
Thomas Waldmann
2b86db8343
completion: archive id descriptions for zsh 2025-11-19 17:21:41 +01:00
Thomas Waldmann
5b5c06b80f
completion: support archive name and id completion 2025-11-19 17:21:40 +01:00
Thomas Waldmann
271a3f2466
completion: support ChunkerParams 2025-11-19 03:07:24 +01:00
Thomas Waldmann
0a0e4e18fd
completion: support PathSpec 2025-11-19 02:59:34 +01:00
Thomas Waldmann
7bfc1bea2e
completion: remove _FN_NAME constants 2025-11-19 02:36:47 +01:00
Thomas Waldmann
9e1d71d517
completion: consolidate funcs into generic _attach_completion 2025-11-19 02:32:26 +01:00
Thomas Waldmann
562a08dda1
completion: support CompressionSpec 2025-11-19 02:22:07 +01:00
Thomas Waldmann
03b0cf0b9b
completion: add support for borg help 2025-11-19 01:46:35 +01:00
Thomas Waldmann
7e5651ad8b
completion: use partial_format 2025-11-18 22:15:17 +01:00
Thomas Waldmann
4dddc43b85
completion: add support for "borg transfer --upgrader" 2025-11-18 21:56:47 +01:00
Thomas Waldmann
3aa7f53b09
completion: support FilesCacheMode type options 2025-11-18 21:47:06 +01:00
Thomas Waldmann
e376d8910c
completion: support SortBySpec type options 2025-11-18 21:36:36 +01:00
Thomas Waldmann
8646c4e045
shtab: require >= 1.8.0
in 1.7.x, zsh completions were still broken, 1.8.0 fixed that.
2025-11-18 17:58:41 +01:00
TW
1b9779b4f3
Merge pull request #9162 from ThomasWaldmann/docs/archive-series-note-8955
Some checks failed
Lint / lint (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / security (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / native_tests (push) Has been cancelled
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Has been cancelled
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Has been cancelled
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Has been cancelled
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
docs: highlight archive series naming for fast incrementals (fixes #8955)
2025-11-18 02:11:46 +01:00
TW
fd88da0c32
Merge pull request #9179 from ThomasWaldmann/update-changes
update CHANGES
2025-11-18 01:43:27 +01:00
Thomas Waldmann
7548f523e6
update CHANGES 2025-11-17 20:28:50 +01:00
TW
45fbc2f0e3
Merge pull request #9174 from ThomasWaldmann/shtab-master
Some checks are pending
Lint / lint (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / asan_ubsan (push) Blocked by required conditions
CI / native_tests (push) Blocked by required conditions
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Blocked by required conditions
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Blocked by required conditions
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Blocked by required conditions
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
completion: generate completion scripts for supported shells, fixes #9172
2025-11-17 19:26:04 +01:00
Thomas Waldmann
15f59233b5
completion: borg can now generate completion scripts for supported shells, fixes #9172
Added `shtab` dependency for shell completion functionality:
- bash completion (works).
- zsh completion (known-broken due to iterative/shtab#183).
2025-11-17 18:47:00 +01:00
Thomas Waldmann
71ca0ac6a7
docs: add prominent note to borg create about archive series and files cache; recommend stable NAME per series for performance (#8955) 2025-11-10 02:37:55 +01:00
TW
1373b30ba8
Merge pull request #9161 from ThomasWaldmann/fix-freebsd-tests
Some checks failed
Lint / lint (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / security (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / native_tests (push) Has been cancelled
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Has been cancelled
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Has been cancelled
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Has been cancelled
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
netbsd/freebsd: work around test issues
2025-11-10 00:57:15 +01:00
Thomas Waldmann
1589489bda
netbsd: work around failure in test_basic_functionality, #8703
I could not find the root cause of this issue, but it is likely a minor
problem with ctime and doesn't affect borg usage much.

So I rather like to have CI on netbsd not failing because of this.
2025-11-09 19:48:10 +01:00
Thomas Waldmann
b929e0c5af
freebsd/netbsd: skip test_hard_link_deletion_and_replacement, #9147, #9153
The test fails on these platforms.

I could not find the root cause of this issue, but it is likely a minor
problem with ctime and doesn't affect borg usage much.

So I rather like to have CI on freebsd/netbsd not failing because of this.

Also: add is_netbsd and is_openbsd to platformflags.
2025-11-09 19:47:32 +01:00
TW
d423dd4acd
Merge pull request #9157 from ThomasWaldmann/ci-tox-master
Some checks are pending
Lint / lint (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / asan_ubsan (push) Blocked by required conditions
CI / native_tests (push) Blocked by required conditions
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Blocked by required conditions
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Blocked by required conditions
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Blocked by required conditions
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
CI: use  tox (master)
2025-11-09 15:50:54 +01:00
Thomas Waldmann
9f0b3c4ff3
CI: remove "|| true" 2025-11-09 15:12:23 +01:00
Thomas Waldmann
b0ddb15733
CI: rather use tox as test runner
so that pytest options are centrally managed in tox configuration.

let tox build venv and install requirements.

tox does this anyway, so we save some time if we
do not need the venv for other purposes also
(like e.g. building binaries).

Also:
- default XDISTN to "auto". XDISTN is still used by Vagrantfile.
- some other optimisations, like less package manager calls.
- use XDISTN=1 for haiku
- fix freebsd binary build condition
2025-11-08 00:07:19 +01:00
TW
11c880bd76
Merge pull request #9154 from ThomasWaldmann/unify-ci-master
Some checks failed
Lint / lint (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / security (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / native_tests (push) Has been cancelled
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Has been cancelled
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Has been cancelled
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Has been cancelled
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
Integrate CI (master)
2025-11-07 19:45:44 +01:00
Thomas Waldmann
a3e6f63e2a
CI: integrate all OSes into ci.yml 2025-11-07 18:59:15 +01:00
TW
eca12e101e
Merge pull request #9151 from ThomasWaldmann/granularity_sleep-master
add granularity_sleep, fixes #9150
2025-11-07 17:49:50 +01:00