Commit graph

9079 commits

Author SHA1 Message Date
Thomas Waldmann
7644b04df2
docs: remove outdated docs/man files about borg change-passphrase
this is borg key change-passphrase now.
2025-05-19 23:18:19 +02:00
TW
708c93a4b0
Merge pull request #8845 from ThomasWaldmann/fix-msys2-ci
Fix windows CI
2025-05-19 12:02:42 +02:00
Thomas Waldmann
3df7702519
tests: fix and enable windows CI, fixes #8728
thanks a lot to @sothix for helping with this!

removed pytest-forked, is not found anymore:
error: target not found: mingw-w64-ucrt-x86_64-python-pytest-forked

use a virtual env to avoid mixup of user with system packages.

remove old workaround for setuptools (SETUPTOOLS_USE_DISTUTILS: stdlib).

fix pip install

use --system-site-packages as a workaround for broken pip install python-cffi.

do not upgrade pip setuptools build wheel

use python -m pytest to use the one from the venv
2025-05-19 11:00:11 +02:00
Vaskebjoern
15e55bfd2e
docs: add S3/B2 urls to documentation for repository urls, fixes #8833 2025-05-19 10:41:07 +02:00
TW
b73af3642d
Merge pull request #8849 from ThomasWaldmann/fd-based-dir-is-tagged
dir_is_tagged/_is_cachedir: add fd-based operations
2025-05-18 22:38:12 +02:00
TW
eedede3776
Merge pull request #8847 from ThomasWaldmann/list-depth
list --depth=N: list files up to N depth in path hierarchy, fixes #8268
2025-05-18 19:32:07 +02:00
TW
ffb5ea1c60
Merge pull request #8848 from ThomasWaldmann/fuse-signal-no
fuse_main: return signal number
2025-05-18 19:31:05 +02:00
Thomas Waldmann
663b3ed0e8
dir_is_tagged/_is_cachedir: add fd-based operations
also add tests.
2025-05-18 19:29:47 +02:00
Thomas Waldmann
98cf13a564
fuse_main: return signal number 2025-05-18 15:25:20 +02:00
Thomas Waldmann
2f8485400a
list --depth=N: list files up to N depth in path hierarchy, fixes #8268
IOW: if there are > N slashes in the path, it is not listed.
2025-05-18 14:31:15 +02:00
TW
98c0f29876
Merge pull request #8846 from ThomasWaldmann/update-changes
update CHANGES
2025-05-18 13:56:44 +02:00
Thomas Waldmann
6e0a11cb96
update CHANGES 2025-05-18 09:57:29 +02:00
TW
a764abd7b0
Merge pull request #8803 from ThomasWaldmann/transfer-rechunk
transfer with re-chunking
2025-05-18 09:32:01 +02:00
Thomas Waldmann
51d188ad12
fix setup_repos, enable remote archiver testing 2025-05-18 08:12:37 +02:00
TW
7afb649262
Merge pull request #8844 from ThomasWaldmann/write-only
repository: add write-only permissions mode, fixes #1165
2025-05-18 07:25:01 +02:00
Thomas Waldmann
9c6e636759
transfer: implement --chunker-params, fixes #8706
when rechunking, it puts the new chunker params into the archive metadata.
2025-05-17 22:09:37 +02:00
Thomas Waldmann
44edf6b3c5
repository: add write-only permissions mode, fixes #1165
Also: moved name length check to Archive.__init__, so it doesn't
read all other archives main metadata when creating a new archive.

In write-only mode, the files cache can't be built from the repo
from the latest archive of same series, we are not allowed to read that!
2025-05-17 21:36:51 +02:00
Thomas Waldmann
fee5600481
refactor: create transfer_chunks function 2025-05-16 20:39:11 +02:00
TW
b053bd1c7a
Merge pull request #8839 from ThomasWaldmann/adapt-to-restricted-permissions
use cache/last-key-checked, so config/ doesn't need D permission
2025-05-16 19:43:43 +02:00
vaskebjoern
233e7a474a
compact: add --iec option, fixes #8831 2025-05-16 18:24:31 +02:00
Thomas Waldmann
ecdf399e23
use cache/last-key-checked, so config/ doesn't need D permission 2025-05-16 17:56:22 +02:00
TW
e0fd2af7bd
Merge pull request #8837 from ThomasWaldmann/store-permissions2
Store permissions
2025-05-16 13:17:03 +02:00
Thomas Waldmann
7cef820b7e
pull borgstore from master branch 2025-05-16 13:16:45 +02:00
Thomas Waldmann
552646cc9b
BORG_REPO_PERMISSIONS=all|no-delete|read-only
The posixfs borgstore backend implements permissions to make
testing with differently permissive stores easier.

The env var selects from pre-defined permission configurations
within borg and gives the chosen permissions config to borgstore.
2025-05-16 13:16:43 +02:00
TW
4d43e136a6
Merge pull request #8826 from ThomasWaldmann/repo-compress-tests
tests: add repo-compress --stats test
2025-05-11 10:21:04 +02:00
TW
4d1e4cd5c0
improve testing of transfer cmd 2025-05-11 10:20:06 +02:00
TW
5c304edf9c
Merge pull request #8829 from RonnyPfannschmidt/fix-6858-cpdev-set-name-supported-in-cython31
fix #6858: correct the signature of __set_name__ as cython 3.1 added support
2025-05-10 12:18:34 +02:00
Ronny Pfannschmidt
be1b90bbc3 remove Cython constraints 2025-05-10 08:05:19 +02:00
Ronny Pfannschmidt
8b313048bd fix #8828: correct the signature of __set_name__ as cython 3.1 added support
the code calling it is left in place for now to ensure function with older cython
2025-05-10 08:04:12 +02:00
TW
c78a3434b9
Merge pull request #8830 from RonnyPfannschmidt/codeql-update
update codeql to v3 due to deprecation
2025-05-10 02:15:03 +02:00
Ronny Pfannschmidt
4d2197b536 update codeql to v3 due to deprecation 2025-05-09 23:11:23 +02:00
Thomas Waldmann
d9f6f16b5c
tests: add repo-compress --stats test
very simple, mostly for coverage.
2025-05-09 22:19:34 +02:00
TW
82e06a345f
Merge pull request #8827 from ThomasWaldmann/require-cython-less-than-31-master
require Cython < 3.1 for now
2025-05-09 22:04:57 +02:00
Thomas Waldmann
d3080c84fe
require Cython < 3.1 for now
This is a workaround for:

https://github.com/cython/cython/issues/6858
2025-05-09 20:39:50 +02:00
TW
7d92389b1f
Merge pull request #8822 from lkwg82/patch-1
adds 1.4.x versions to SECURITY.md
2025-05-08 15:43:25 +02:00
Lars K.W. Gohlke
040ecfe9f9
adds 1.4.x versions to SECURITY.md 2025-05-08 13:35:17 +02:00
TW
b14be7fa92
Merge pull request #8821 from ThomasWaldmann/compact-fixes
borg compact fix / test
2025-05-08 11:17:53 +02:00
Thomas Waldmann
38268127c9
compact/check: fix bug not writing the complete index, fixes #8813
Add incremental flag to `write_chunkindex_to_repo_cache`.

borg create uses incremental cache indexes to save progress.
But other OPs need to write a full index and delete all other cached indexes.

Added debug logging for missing object IDs.
2025-05-08 01:54:52 +02:00
TW
5dc05b083c
Merge pull request #8819 from ThomasWaldmann/developer-docs
misc updates to developer docs
2025-05-07 17:43:46 +02:00
Thomas Waldmann
b6ee18fffc
docs: minor formatting changes in development docs 2025-05-07 17:02:29 +02:00
Thomas Waldmann
b68552aef2
docs: announce releases on Mastodon, bsky, X 2025-05-07 16:53:30 +02:00
Thomas Waldmann
32ce149caa
docs: refer to more current 1.4-maint 2025-05-07 16:48:55 +02:00
Thomas Waldmann
ae423cfd10
docs: must have the release tags in the local repo, fixes #8582 2025-05-07 16:45:53 +02:00
TW
1ed582a391
Merge pull request #8818 from ThomasWaldmann/repo-info-formatting-fix
repo-info: fix output formatting
2025-05-07 11:27:48 +02:00
TW
c16956a47b
Merge pull request #8817 from ThomasWaldmann/display-archive-ts-in-localtime
check/compact/analyze: show archive timestamp in local tz, fixes #8814
2025-05-07 11:12:43 +02:00
TW
e3cb7b8915
Merge pull request #8816 from ThomasWaldmann/repo-space-tests-and-fixes
repo-space tests and fixes
2025-05-07 10:45:39 +02:00
Thomas Waldmann
dd638ff22d
repo-info: fix output formatting
also: simplify code a little
2025-05-07 10:34:26 +02:00
Thomas Waldmann
2063da3b09
check/compact/analyze: show archive timestamp in local tz, fixes #8814 2025-05-07 10:02:35 +02:00
Thomas Waldmann
455c3e99ad
repo-space: enable ssh: repo testing, fix AttributeError, fixes #8815 2025-05-07 09:14:59 +02:00
Thomas Waldmann
9206e106e1
Add tests for repo-space command functionality
Introduce tests to verify the functionality of the `repo-space` command, including space reservation, freeing, display, and edge cases. These tests ensure proper handling of various scenarios and validation of the respective outputs.
2025-05-07 09:02:28 +02:00