Commit graph

7619 commits

Author SHA1 Message Date
TW
b2d92d3091
Merge pull request #9065 from ThomasWaldmann/build-binaries-on-gh-1.4
Some checks failed
CI / lint (push) Waiting to run
CI / pytest (macos-14, 3.11, py311-none) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.10, py310-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.11, py311-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.9, py39-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.12, py312-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.13, py313-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.14, py314-fuse3) (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Build binaries / Build (macOS macos-12 / ) (push) Has been cancelled
Build binaries / Build (macOS macos-14 / ) (push) Has been cancelled
ci: add GitHub Actions workflow for building binaries on macOS
2025-10-14 00:16:14 +02:00
Thomas Waldmann
116c2eee23
ci: add GitHub Actions workflow for building binaries on macOS 2025-10-14 00:12:49 +02:00
TW
f9b23ca5ab
Merge pull request #9061 from ThomasWaldmann/document-extract-wildcard-1.4
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (macos-14, 3.11, py311-none) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.10, py310-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.11, py311-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.9, py39-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.12, py312-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.13, py313-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.14, py314-fuse3) (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
extract: document how to use wildcards in PATHs
2025-10-13 19:59:18 +02:00
Atemu
908c506e3f
extract: document how to use wildcards in PATHs
Fixes https://github.com/borgbackup/borg/issues/8589
2025-10-13 19:54:49 +02:00
TW
924d94be75
Merge pull request #9054 from ThomasWaldmann/fix-7144-1.4
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (macos-14, 3.11, py311-none) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.10, py310-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.11, py311-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.9, py39-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.12, py312-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.13, py313-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.14, py314-fuse3) (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
docs: improve borg help patterns, fixes #7144
2025-10-12 15:24:42 +02:00
TW
81b3b767be
Merge pull request #9057 from ThomasWaldmann/mount-show-rc-1.4
mount --show-rc: display main process rc, fixes #8308
2025-10-12 15:19:11 +02:00
TW
cb19d62057
Merge pull request #9055 from ThomasWaldmann/non-tty-progress-1.4
improved tty-less progress reporting (1.4-maint)
2025-10-12 15:18:09 +02:00
Thomas Waldmann
41bd6dd35b
docs: improve borg help patterns, fixes #7144 2025-10-12 14:21:37 +02:00
TW
6cd3b162a8
Merge pull request #9058 from ThomasWaldmann/patterns-style-1.4 2025-10-12 14:02:29 +02:00
Thomas Waldmann
f4a6ea370b
patterns: clarify scope of default pattern style, fixes #9004 2025-10-11 20:07:26 +02:00
Thomas Waldmann
702de47197
mount --show-rc: display main process rc, fixes #8308
when borg mount is used without -f/--foreground (so that the FUSE
borg process was started daemonized in the background), it did not
display the rc of the main process, even when --show-rc was used.

now it does display the rc of the main process.

note that this is rather a consistency fix than being super useful,
because the main "action" happens in the background daemon process,
not in the main process.
2025-10-11 18:55:54 +02:00
Thomas Waldmann
3e2f560a61
improved tty-less progress reporting (1.4-maint)
Previously when running borg in a systemd service (and similar when piping to
a file and co.), these problems occurred:

- The carriage return both made it so that journald interpreted the output as
  binary, therefore not printing the text, while also not buffering
  correctly, so that log output was only available every once in a while
  in the form [40k blob data]. This can partially be worked around by
  using `journalctl -a` to view the logs, which at least prints the text,
  though only sporadically.

- The path was getting truncated to a short length, since the default
  get_terminal_size returns a column width of 80, which isn't relevant
  when printing to e.g. journald.

This commit fixes this by introducing a new code path for when stream is
not a tty, which always prints the full paths and ends lines with a linefeed.

This is based on unfinished PR #8939 by @infinisil, thanks for your suggestion!
2025-10-11 14:17:02 +02:00
TW
98b831ba8d
Merge pull request #9049 from ThomasWaldmann/keyfile-same-repo-path-1.4
Some checks failed
CI / lint (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / pytest (macos-14, 3.11, py311-none) (push) Has been cancelled
CI / pytest (ubuntu-22.04, 3.10, py310-fuse3) (push) Has been cancelled
CI / pytest (ubuntu-22.04, 3.11, py311-fuse2) (push) Has been cancelled
CI / pytest (ubuntu-22.04, 3.9, py39-fuse2) (push) Has been cancelled
CI / pytest (ubuntu-24.04, 3.12, py312-fuse3) (push) Has been cancelled
CI / pytest (ubuntu-24.04, 3.13, py313-fuse3) (push) Has been cancelled
CI / pytest (ubuntu-24.04, 3.14, py314-fuse3) (push) Has been cancelled
docs: What happens when a new keyfile repo is created at the same path?
2025-10-10 20:25:10 +02:00
TW
5a1f21fee2
Merge pull request #9052 from ThomasWaldmann/borg-mount-debugging-1.4
docs: how to debug borg mount, fixes #5461
2025-10-10 20:19:16 +02:00
Thomas Waldmann
92418883dc
docs: how to debug borg mount, fixes #5461 2025-10-10 14:57:25 +02:00
Thomas Waldmann
80818c1588
docs: What happens when a new keyfile repo is created at the same path?, fixes #6230
Also add a test.
2025-10-10 14:12:48 +02:00
TW
b5ced17534
Merge pull request #9048 from ThomasWaldmann/fix-3318-1.4
Some checks are pending
CodeQL / Analyze (push) Waiting to run
docs: borg serve: recommend using a simple shell, fixes #8318
2025-10-10 13:54:36 +02:00
Thomas Waldmann
5bce73301d
docs: borg serve: recommend using a simple shell, fixes #8318 2025-10-10 13:48:26 +02:00
TW
bc42d80fcc
Merge pull request #9047 from ThomasWaldmann/update-changes-1.4
Some checks are pending
CI / lint (push) Waiting to run
CI / pytest (macos-14, 3.11, py311-none) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.10, py310-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.11, py311-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-22.04, 3.9, py39-fuse2) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.12, py312-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.13, py313-fuse3) (push) Blocked by required conditions
CI / pytest (ubuntu-24.04, 3.14, py314-fuse3) (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
update CHANGES
2025-10-10 03:31:41 +02:00
Thomas Waldmann
67e846568b
update CHANGES 2025-10-09 20:42:27 +02:00
TW
dfd3b0e6ee
Merge pull request #9046 from ThomasWaldmann/backport-9042-setuptools-min-1.4
backport(1.4): build: require setuptools>=78.1.1
2025-10-09 20:05:38 +02:00
TW
e7d8fba1df
Merge pull request #9044 from ThomasWaldmann/py314-1.4
python 3.14 release, use recent cython, allow latest msgpack
2025-10-09 20:05:14 +02:00
Thomas Waldmann
0069ce1f2d
backport(1.4): build: require setuptools>=78.1.1 to address GHSA-5rjg-fvgr-3xxf (backport of #9045) 2025-10-09 17:56:53 +02:00
Thomas Waldmann
bbaac19c94
Cython 3.1.4 2025-10-09 17:39:12 +02:00
Thomas Waldmann
d35ec93968
allow msgpack 1.1.2
1.1.2 provides wheels for py 3.14.
2025-10-09 17:38:10 +02:00
Thomas Waldmann
4915c26795
test on Python 3.14 (w/o -dev) 2025-10-09 17:36:03 +02:00
TW
edb758e8f7
Merge pull request #9023 from ThomasWaldmann/fix-readonly-tests-1.4
read_only CM: skip test if cmd_immutable is unsuccessful, fixes #9021
2025-09-22 15:12:29 +02:00
Thomas Waldmann
4edd0e6e9d
read_only CM: skip test if cmd_immutable is unsuccessful, fixes #9021 2025-09-22 11:17:16 +02:00
TW
aa39d63718
Merge pull request #9020 from PhrozenByte/docs-build-src-version-1.4
Update install docs to include `SETUPTOOLS_SCM_PRETEND_VERSION` (v1.4 backport)
2025-09-21 17:26:40 +02:00
Daniel Rudolf
465937f5a3
Unify master and 1.4-maint install docs 2025-09-21 15:54:48 +02:00
Daniel Rudolf
d9dae4220f
Update install docs to include SETUPTOOLS_SCM_PRETEND_VERSION 2025-09-21 15:53:04 +02:00
TW
9053596cb1
Merge pull request #9019 from PhrozenByte/docs-arch-dev-deps-1.4
Add Arch Linux to installing from source docs (v1.4 backport)
2025-09-21 15:52:51 +02:00
Daniel Rudolf
1066154106
Add Arch Linux to installing from source docs
Note that Arch Linux usually has no separate `-dev` packages, but ships development headers with the normal package.
2025-09-21 15:39:41 +02:00
TW
07a4f2ec5a
Merge pull request #9005 from ThomasWaldmann/diff-sort-field-1.4
diff: --sort-by=field[,field,...], fixes #8998
2025-09-19 14:29:38 +02:00
Thomas Waldmann
7f9dd37536
diff --sort-by: enhanced sorting, fixes #8998
use borg diff --sort-by=spec1,spec2,spec2 for enhanced sorting.

keep legacy --sort behaviour (sort by path) for compatibility,
but deprecate it.

Co-authored-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2025-09-18 23:32:23 +02:00
Thomas Waldmann
f837e6a27a
preprocess_args: fix option name matching
previously, it also matched on --sort-by when it only should have matched on --sort.
2025-09-18 23:32:10 +02:00
TW
b91fb89466
Merge pull request #9002 from ThomasWaldmann/chunker-fuzzing-test-1.4
fuzzing test for default chunker
2025-09-03 01:33:40 +02:00
Thomas Waldmann
9485564fcf
fuzzing test for default chunker 2025-09-02 21:10:27 +02:00
TW
f8d9f8c371
Merge pull request #8990 from ThomasWaldmann/typos-grammar-1.4
Typos / grammar (1.4-maint)
2025-08-17 18:32:53 +02:00
Thomas Waldmann
9973296c09
update frontend.rst
there were some fixes to error messages in the code.
2025-08-17 17:24:01 +02:00
TW
7f22f6ce95
Merge pull request #8985 from ThomasWaldmann/vagrant-debian-testing-1.4
Vagrant: debian testing/trixie box (1.4-maint)
2025-08-17 16:50:28 +02:00
Thomas Waldmann
3f9ad883cb
manual fixes
sometimes the AI got it wrong.
also some other fixes.
2025-08-17 16:05:51 +02:00
Thomas Waldmann
2a25764273
binary readme: fix typos and grammar 2025-08-12 17:04:46 +02:00
Thomas Waldmann
87af3a4b47
paperkey.html: fix typos, grammar, html structure
The original markup included a paragraph element wrapping a block-level pre element, which is invalid per HTML’s content model (a p can only contain phrasing content; pre is flow content).

The fix separated text and pre blocks into valid sibling elements, ensuring no pre is nested inside a p.
2025-08-12 16:56:00 +02:00
Thomas Waldmann
48ad1a8fa8
README: fix typos and grammar 2025-08-12 11:21:50 +02:00
Thomas Waldmann
1bb32057d2
github workflows: fix typos and grammar 2025-08-12 11:15:11 +02:00
Thomas Waldmann
1b68676b8e
github templates: fix typos and grammar 2025-08-11 22:21:49 +02:00
Thomas Waldmann
eab8be76a0
_*.c: fix typos and grammar 2025-08-11 21:15:14 +02:00
Thomas Waldmann
c956e1f50e
changes.rst: fix typos and grammar 2025-08-11 18:01:24 +02:00
Thomas Waldmann
71888265f9
epilogs: fix typos and grammar 2025-08-11 17:51:26 +02:00