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
...
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
...
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
...
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
...
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
...
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
Thomas Waldmann
199f708b4f
add granularity_sleep, fixes #9150
2025-11-07 17:17:26 +01:00
TW
4e22bd595d
Merge pull request #9149 from ThomasWaldmann/ci-bsd-master
...
CI: add *BSD and Haiku OS
2025-11-07 17:15:47 +01:00
Thomas Waldmann
7d43398a17
testsuite: improve haiku compatibility
...
haiku does not have os.mknod.
and it looks like it does not have hardlinks either.
2025-11-07 15:25:05 +01:00
Thomas Waldmann
63e582be6a
CI: add Haiku workflow in haiku.yml
2025-11-07 12:59:04 +01:00
Thomas Waldmann
6dee31c968
CI: add NetBSD workflow in netbsd.yml
2025-11-06 22:35:09 +01:00
Thomas Waldmann
13d6e774a0
CI: add OpenBSD workflow in openbsd.yml
2025-11-06 22:35:08 +01:00
Thomas Waldmann
5855ca4135
CI: add FreeBSD workflow in freebsd.yml
2025-11-06 22:34:59 +01:00
TW
c9484a9f3e
Merge pull request #9142 from ThomasWaldmann/py310-improvements-master
...
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 / posix_tests (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
refactor: update type hints to use Python 3.10+ syntax
2025-11-03 23:44:38 +01:00
TW
1b4a380454
Merge pull request #9062 from ThomasWaldmann/port-8998-master
...
diff: --sort-by=field[,field,...], fixes #8998
2025-11-03 23:42:29 +01:00
Thomas Waldmann
dec2eb745b
refactor: update type hints to use Python 3.10+ syntax
2025-11-03 23:28:08 +01:00
TW
9c8340597b
Merge pull request #9141 from ThomasWaldmann/py39-news-master
...
py39 news (master)
2025-11-03 22:52:49 +01:00
Thomas Waldmann
6157c4b968
refactor: use .remove(prefix|suffix) str methods (py39)
2025-11-03 22:35:37 +01:00
Thomas Waldmann
8f40baa34b
refactor: use |= operator for dictionary updates (py39)
2025-11-03 22:18:26 +01:00
TW
3bad2de41f
Merge pull request #9139 from ThomasWaldmann/dynamic-code-analysis-master
...
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 / posix_tests (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
CI: do dynamic code analysis, #6819
2025-11-03 21:19:48 +01:00
Thomas Waldmann
68590e35f0
tests: use context manager when opening files in patterns_test
2025-11-03 20:54:09 +01:00
Thomas Waldmann
add19da678
CI: do dynamic code analysis, #6819
...
Use:
- AddressSanitizer ASan
- UndefinedBehaviorSanitizer UBSan
2025-11-03 20:42:13 +01:00
Thomas Waldmann
5c44dad125
diff --sort-by: enhanced sorting, fixes #8998
...
use borg diff --sort-by=spec1,spec2,spec2 for enhanced sorting.
remove legacy --sort behaviour (sort by path), this was deprecated
since 1.4.2.
Co-authored-by: Daniel Rudolf <github.com@daniel-rudolf.de>
This is a port of #9005 to master branch.
2025-11-03 19:25:02 +01:00
Thomas Waldmann
51ddfaf9c1
preprocess_args: fix option name matching
...
previously, it also matched on --sort-by when it only should have matched on --sort.
2025-11-03 17:51:05 +01:00
TW
d15e8ca6c5
Merge pull request #9138 from ThomasWaldmann/update-changes
...
update CHANGES
2025-11-03 17:42:30 +01:00
Thomas Waldmann
352cf7bdcc
update CHANGES
2025-11-03 17:33:19 +01:00