Commit graph

7698 commits

Author SHA1 Message Date
TW
b386060f1a
Merge pull request #9191 from ThomasWaldmann/backport-9139-to-1.4-maint
Some checks failed
CI / lint (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Windows CI / msys2-ucrt64 (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / posix_tests (push) Has been cancelled
[1.4-maint] Backport: CI dynamic code analysis (#9139)
2025-11-21 20:38:33 +01:00
Thomas Waldmann
ea6450bf6f
tests: use context manager when opening files in patterns_test 2025-11-21 19:13:56 +01:00
Thomas Waldmann
5b92b86e13
CI: do dynamic code analysis, #6819
Use:
- AddressSanitizer ASan
- UndefinedBehaviorSanitizer UBSan

(cherry picked from commit add19da678)
2025-11-21 19:13:54 +01:00
TW
2a263ece85
Merge pull request #9190 from ThomasWaldmann/backport/pr-9151-to-1.4-maint
Backport: add granularity_sleep, fixes #9150 (from #9151) to 1.4-maint
2025-11-21 18:45:43 +01:00
Thomas Waldmann
e06935f275
add granularity_sleep, fixes #9150 2025-11-21 18:28:50 +01:00
TW
2b1fa7ad97
Merge pull request #9189 from ThomasWaldmann/backport-9188-to-1.4-maint
[1.4-maint] Backport PR #9188: docs: some fixes/update to the FAQ
2025-11-21 17:51:24 +01:00
Thomas Waldmann
3e7ecd6133
docs: some fixes/update to the FAQ
(cherry picked from commit 3642c7903b)
2025-11-21 17:45:42 +01:00
TW
9ff4f5dc98
Merge pull request #9137 from ThomasWaldmann/attestation-1.4
Some checks failed
CI / lint (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Windows CI / msys2-ucrt64 (push) Has been cancelled
CI / posix_tests (push) Has been cancelled
ci: add tag-based workflows and provenance attestation for GitHub-built binaries
2025-11-02 22:22:07 +01:00
Thomas Waldmann
a25856a33d
ci: add tag-based workflows and provenance attestation for GitHub-built binaries
backport of #9135 and #9136.
2025-11-02 22:06:08 +01:00
TW
7acb023d31
Merge pull request #9122 from ThomasWaldmann/drop-py39-1.4
Some checks failed
CI / lint (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Windows CI / msys2-ucrt64 (push) Has been cancelled
CI / pytest (push) Has been cancelled
drop Python 3.9 (EOL'ed by python.org) (1.4-maint)
2025-11-01 14:34:00 +01:00
Thomas Waldmann
cb0157ca55
drop Python 3.9 (EOL'ed by python.org) 2025-11-01 13:09:28 +01:00
TW
48a2887f9b
Merge pull request #9121 from ThomasWaldmann/release-process-updates-1.4
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
Release process updates (1.4-maint)
2025-11-01 12:39:54 +01:00
Thomas Waldmann
8388b074f8
update binary readme 2025-11-01 11:35:54 +01:00
Thomas Waldmann
6493743ffc
docs: release binaries are built on GitHub now
bad:
- no *BSD testing and FreeBSD binary building on gh
- binaries not signed by me, because they are built on gh

good:
- for linux intel/amd64 and arm64, built on ubuntu
- for macOS intel and arm64, built on a relatively recent macOS
- I can get rid of that ancient macOS VM I used for building.
- the source code distribution (sdist) is still made locally on
  my machine and thus signed with my signature (*.asc).
2025-11-01 11:35:51 +01:00
Thomas Waldmann
0036fe3a92
upload-pypi: use borg-specific repository names
so it finds the right api token in .pypirc
2025-10-31 19:46:03 +01:00
TW
4c5eb36b86
Merge pull request #9119 from ThomasWaldmann/rel142
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
Release 1.4.2
2025-10-31 19:32:47 +01:00
Thomas Waldmann
8e1a4248c0
build_usage build_man 2025-10-31 19:12:42 +01:00
Thomas Waldmann
92486d82e9
update CHANGES 2025-10-31 19:02:42 +01:00
Thomas Waldmann
6e19159385
run test_extract_restores_append_flag also on freebsd 2025-10-31 18:49:10 +01:00
TW
90457eba26
Merge pull request #9117 from ThomasWaldmann/vagrant-updates-1.4
Vagrant updates (1.4-maint)
2025-10-31 17:59:06 +01:00
Thomas Waldmann
7ba091b8a4
vagrant: use python 3.11.14 for the binary build 2025-10-31 16:34:17 +01:00
Thomas Waldmann
93cc4faa1a
coverage: disable no-ctracer warning
On a BSD vagrant box, it spams us with these warnings...

It also works without the c-tracer, just slower.
2025-10-31 16:34:16 +01:00
Thomas Waldmann
05b63a41fe
vagrant: fix openindiana box
- working nameserver
- run pkg update and reboot, otherwise it does not let us
  install gcc-13 and git.
2025-10-31 16:33:33 +01:00
Thomas Waldmann
a706fbdde2
vagrant: add a OpenBSD 7.7 box
The base box has an invalid hostname and no comp package installed,
so we need to fix that.
2025-10-31 15:35:30 +01:00
TW
91a360496f
Merge pull request #9116 from ThomasWaldmann/fix/freebsd-flags-9090
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
extract: fs flags: use get/set to influence only specific flags, #9090, FreeBSD only
2025-10-31 01:57:45 +01:00
Thomas Waldmann
8a895f55ae
extract: fs flags: use get/set to influence only specific flags, #9090, FreeBSD only. 2025-10-31 00:41:52 +01:00
TW
631046c63c
Merge pull request #9115 from ThomasWaldmann/fix/macos-flags-9090
extract: fs flags: use get/set to influence only specific flags, #9039, macOS only
2025-10-30 23:30:49 +01:00
Thomas Waldmann
83571aa00d
extract: fs flags: use get/set to influence only specific flags, #9039, macOS only.
preserve UF_COMPRESSED and SF_DATALESS when restoring flags,
get-modify-set in macOS set_flags, keeping system-managed read-only flags.
2025-10-30 23:09:33 +01:00
TW
3082c59e9a
Merge pull request #9114 from ThomasWaldmann/doc/compact-threshold-max-9112
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
doc: compact threshold — document how to get maximum compaction (#9112)
2025-10-30 11:16:00 +01:00
Thomas Waldmann
177f7d5b9a
docs(compact): explain how to get maximum compaction with --threshold 0 and trade-offs (#9112, discussion #8716) 2025-10-30 11:08:17 +01:00
TW
83d9d28fa4
Merge pull request #9103 from PhrozenByte/docs-repokey-change-passphrase
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
Docs: Rewrite `borg init --encryption` docs
2025-10-29 19:24:45 +01:00
Daniel Rudolf
3edf5b3475
Docs: Improve borg init encryption table formatting 2025-10-29 17:48:14 +01:00
Thomas Waldmann
9226d9c6a9
reformat init_epilog to 80chars wide 2025-10-29 13:26:31 +01:00
Thomas Waldmann
b22cc77453
better clarity, generalisation, precision, less typos 2025-10-29 13:10:45 +01:00
Thomas Waldmann
3c2daef474
fix typos and grammar
Junie AI + TW
2025-10-29 11:19:49 +01:00
Thomas Waldmann
4eb6773c2d
fix rst_plain_text_references 2025-10-29 10:52:56 +01:00
TW
eb63682df6
Merge pull request #9111 from borgbackup/msgpack-check-env-var-1.4
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
BORG_MSGPACK_VERSION_CHECK=no to disable the version check, fixes #9109
2025-10-29 01:36:09 +01:00
Thomas Waldmann
2d63dc9a4f
BORG_MSGPACK_VERSION_CHECK=no to disable the version check, fixes #9109 2025-10-28 23:20:53 +01:00
TW
b712d55de9
Merge pull request #9096 from ThomasWaldmann/fix-9095-1.4
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Windows CI / msys2-ucrt64 (push) Waiting to run
json: include archive keys in JSON lines when requested via --format, fixes #9095
2025-10-27 22:19:58 +01:00
Thomas Waldmann
0c27bd3047
json: include archive keys in JSON lines when requested via --format, fixes #9095
Add a test to ensure correct behavior.
2025-10-27 22:04:01 +01:00
TW
0f85500314
Merge pull request #9106 from ThomasWaldmann/update-changes-1.4
update CHANGES (1.4-maint)
2025-10-27 22:03:02 +01:00
Thomas Waldmann
88ec307895
update CHANGES
some new entries.
also fixed typos/grammar.
2025-10-27 21:54:10 +01:00
TW
7a69499c0b
Merge pull request #9003 from ThomasWaldmann/fix-8898
fix inconsistencies in original size computation, fixes #8898 (1.4-maint)
2025-10-27 21:50:49 +01:00
Thomas Waldmann
ce27418791
create/info: fix discrepancies in archive stats, fixes #8898, #9003
do not account archive metadata, only file contents.
2025-10-27 21:36:37 +01:00
Thomas Waldmann
ff35e07997
tests: add tests for stats consistency, #8898 #9003
add tests ensuring:
- borg info and create report same "This archive" deduplicated size
- borg info and create report same "All archives" deduplicated size
- before/after borg recreate it reports same "This archive" deduplicated size

note that some stats differences are expected, because the repo-level
deduplication ("All archives") is computed in a different way than "This archive".
2025-10-27 21:35:08 +01:00
Daniel Rudolf
d42453fde4
Docs: Rewrite borg init docs 2025-10-26 23:13:59 +01:00
TW
cec8d87a5e
Merge pull request #9089 from ThomasWaldmann/fix-set_flags-1.4
Some checks failed
CI / lint (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Windows CI / msys2-ucrt64 (push) Has been cancelled
CI / pytest (push) Has been cancelled
extract: misc. fixes for restoring linux fs flags
2025-10-25 03:34:35 +02:00
Thomas Waldmann
56dda84162
set_flags: remove compression flag
This flag needs to be set BEFORE writing to the file.
But "borg extract" sets the flags last (to support IMMUTABLE),
thus the compression flag would not work as expected.
2025-10-17 02:41:53 +02:00
Thomas Waldmann
9c600a9571
set_flags: better give up than corrupt
Thanks to Earnestly for the feedback on IRC.
2025-10-17 00:27:56 +02:00
Thomas Waldmann
9214197a2c
set_flags: use get/set to only influence specific flags, fixes #9039
Linux platform only.
2025-10-16 21:59:28 +02:00