Thomas Waldmann
a09085c4e2
upgrade --check-archives-tam: check archives tam status
...
This is a read-only variation of --archives-tam:
- it only checks / displays the current status
- it does not add / fix the archive TAMs
2024-03-24 14:53:28 +01:00
TW
3ec6c60b54
Merge pull request #8151 from ThomasWaldmann/gh-actions-update2-1.2
...
brew: also install xxhash
2024-03-16 09:28:46 +01:00
Thomas Waldmann
fd7807a5f5
brew: also install xxhash
2024-03-15 23:49:37 +01:00
TW
b397df2951
Merge pull request #8150 from ThomasWaldmann/gh-actions-update-1.2
...
github CI: misc updates (1.2-maint)
2024-03-15 23:46:33 +01:00
Thomas Waldmann
03998bcc37
github CI: misc updates
...
- move most Linux tests to ubuntu 22.04
- macOS: run on macos-14 (on Apple Silicon!)
- macOS: use OpenSSL 3.0 from brew
- macOS: run with Python 3.11
- trigger CI run for changed .toml files
- use up-to-date github actions
- remove libb2 references - since borg 1.2, we use blake2 indirectly via python stdlib
2024-03-15 19:02:51 +01:00
TW
4a88ced7a5
Merge pull request #8137 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2024-03-02 21:28:17 +01:00
Thomas Waldmann
8d0b01bf9e
update CHANGES
2024-03-02 19:06:59 +01:00
TW
a1649f3af3
Merge pull request #8134 from ThomasWaldmann/msgpack-cython-updates-1.2
...
msgpack and cython updates (1.2-maint)
2024-03-02 16:35:36 +01:00
Thomas Waldmann
a6b66fcbcc
use the latest Cython 0.29.x
...
this is likely unrelated to #8133 considering the
cython issue seems to only apply to cython 3.0.x.
2024-03-02 14:12:41 +01:00
Thomas Waldmann
faa0705dda
allow msgpack 1.0.8, fixes #8133
2024-03-02 13:34:35 +01:00
TW
fe8d11ce12
Merge pull request #8116 from ThomasWaldmann/benchmark-crud-options-1.2
...
benchmark: inherit options --rsh --remote-path, fixes #8099
2024-02-22 21:30:27 +01:00
Thomas Waldmann
c34d68d12f
benchmark: inherit options --rsh --remote-path, fixes #8099
2024-02-22 12:07:37 +01:00
TW
094ebb6c39
Merge pull request #8079 from ThomasWaldmann/index-check-value-errors-1.2
...
check: fix return code for index entry value discrepancies
2024-02-08 23:50:17 +01:00
TW
1413b34464
Merge pull request #8078 from ThomasWaldmann/increase-gh-actions-timeout-1.2
...
gh actions: increase timeout
2024-02-08 23:32:13 +01:00
Thomas Waldmann
2317d4d197
check: fix return code for index entry value discrepancies
...
Also: use ERROR loglevel for these (not WARNING).
A different amount of index entries was already logged as error
and led to "error_found = True" in repository.check.
Different values in the rebuilt index vs. the on-disk index were
only logged on warning level, but did not lead to error_found = True.
Guess there is no reason why these should not be errors and lead to
error_found = True, so this was fixed in this commit.
Minor related change: change report_error function args, so it can be
called like logger.error - including giving a format AND args.
2024-02-08 22:03:53 +01:00
Thomas Waldmann
8637520199
gh actions: increase timeout
...
especially the macos workers are sometimes extremely slow.
2024-02-08 21:59:44 +01:00
TW
988d8a1c82
Merge pull request #8031 from kmille/1.2-maint
...
improve docs for borg with-lock, 1.2-maint backport
2024-01-07 19:09:53 +01:00
kmille
9c860bafaf
improve docs for borg with-lock
...
discussion in #8022
port of #8024
2024-01-07 18:27:34 +01:00
kmille
3551f03af4
catch FileNotFoundError in borg with-lock, fixes #8022 ( #8025 )
...
borg with-lock: catch exception, print error msg, fixes #8022
2024-01-07 00:02:43 +01:00
TW
a714f77c4a
Merge pull request #7972 from debuglevel/patch-2
...
docs: fix typo in notes.rst
2023-12-22 09:18:29 +01:00
Marc Kohaupt
cf0a97a31f
typo: notes.rst
2023-12-22 08:35:40 +01:00
TW
114cc1361b
Merge pull request #7961 from ThomasWaldmann/update-changes-1.2
...
change log: more infos about #6687 fix
2023-12-02 17:52:18 +01:00
Thomas Waldmann
ffbd59c193
change log: more infos about #6687 fix
2023-12-02 17:10:44 +01:00
TW
c675a00aa5
Merge pull request #7958 from ThomasWaldmann/rel127
...
release 1.2.7
2023-12-02 14:00:35 +01:00
Thomas Waldmann
4c131059bc
build_man
2023-12-02 01:02:03 +01:00
Thomas Waldmann
46c1e01d29
build_usage
2023-12-02 01:01:46 +01:00
Thomas Waldmann
8b70bb36c6
update CHANGES
2023-12-02 00:59:58 +01:00
TW
e50d26757c
Merge pull request #7956 from ThomasWaldmann/py313-unistdh-1.2
...
include unistd.h in _chunker.c
2023-12-02 00:44:59 +01:00
TW
d3e412c7c6
Merge pull request #7957 from ThomasWaldmann/docs-rebuild-refcounts-1.2
...
docs: Add "check.rebuild_refcounts" message
2023-12-02 00:23:25 +01:00
Sophie Herold
897f88dfaa
docs: Add "check.rebuild_refcounts" message
2023-12-02 00:01:12 +01:00
Felix Schwarz
13c6d1b710
include unistd.h in _chunker.c
...
With Python 3.13, Python.h no longer includes the <unistd.h> standard header file:
https://docs.python.org/3.13/whatsnew/3.13.html#id8
2023-12-01 23:58:24 +01:00
TW
b2929b4cee
Merge pull request #7952 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2023-11-29 16:48:38 +01:00
Kevin Yin
bcc8f74b56
Remove period that could be interpreted as part of the command ( #7946 )
...
CVE upgrade steps: remove period that could be interpreted as part of the command
2023-11-27 18:12:26 +01:00
Thomas Waldmann
4bdd404949
update CHANGES
2023-11-27 18:08:00 +01:00
TW
70eed5e9fc
Merge pull request #7939 from ThomasWaldmann/lockroster-remove-fix-1.2
...
LockRoster.modify fix (1.2-maint)
2023-11-18 17:35:22 +01:00
Thomas Waldmann
ec17b00411
LockRoster.modify: no KeyError if element was already gone, fixes #7937
...
The intention of LockRoster.modify(key, REMOVE) is to remove self.id.
Using set.discard will just ignore it if self.id is not present there anymore.
Previously, using set.remove triggered a KeyError that has been frequently
seen in tracebacks of teardowns involving Repository.__del__ and Repository.__exit__.
I added a REMOVE2 op to serve one caller that needs to get the KeyError if
self.id was not present.
Thanks to @herrmanntom for the workaround!
2023-11-16 15:59:28 +01:00
zDEFz
2cefe8f53d
Add backup by SERIAL method ( #7934 )
...
docs: create disk/partition sector backup by disk serial number
2023-11-13 22:03:09 +01:00
TW
2341ba62d3
Merge pull request #7926 from ThomasWaldmann/update-requirements-1.2
...
update requirements.d/development.lock.txt
2023-11-09 02:19:51 +01:00
Thomas Waldmann
f08386f699
update requirements.d/development.lock.txt
2023-11-09 00:46:12 +01:00
TW
4e349cf3fa
Merge pull request #7915 from ThomasWaldmann/fix-subcommand-env-1.2
...
create --*-from-command: run subcommands with a clean environment
2023-11-07 03:42:25 +01:00
Thomas Waldmann
e006a6f368
create --*-from-command: run subcommands with a clean environment, fixes #7916
...
When borg invokes a system command, it needs to prepare the environment
for that. This is especially important when using a pyinstaller-made
borg fat binary that works with a modified env var LD_LIBRARY_PATH -
system commands may crash with that.
borg already had calls to prepare_subprocess_env at some places (e.g.
when invoking ssh for the remote repo connection), but they were
missing for:
borg create --content-from-command ...
borg create --paths-from-command ...
2023-11-06 17:41:52 +01:00
TW
11af475308
Merge pull request #7913 from ThomasWaldmann/docs-upgrade-chkpt-tam-1.2
...
CVE-2023-36811 upgrade docs: consider checkpoint archives, fixes #7802
2023-11-06 14:30:36 +01:00
Thomas Waldmann
9c886330d3
CVE-2023-36811 upgrade docs: consider checkpoint archives, fixes #7802
...
The traceback seen there came from borg not showing a .checkpoint archive
that didn't have a valid TAM and thus the user not see it / fix it:
https://github.com/borgbackup/borg/issues/7802#issuecomment-1793860606
2023-11-06 13:31:02 +01:00
TW
21d67b8295
Merge pull request #7904 from ThomasWaldmann/fix-shadow-index2-1.2
...
shadow index: add more comments
2023-11-05 01:24:47 +01:00
Thomas Waldmann
2a2b750b9d
shadow index: add more comments
2023-11-05 01:22:07 +01:00
TW
a13504c6d5
Merge pull request #7903 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2023-11-04 18:05:03 +01:00
Thomas Waldmann
d9a0deb227
update CHANGES
2023-11-03 18:43:22 +01:00
TW
686714c366
Merge pull request #7896 from ThomasWaldmann/fix-shadow-index-1.2
...
fix shadow index update for double-put (1.2-maint)
2023-11-03 14:42:57 +01:00
TW
55ee4e2d28
Merge pull request #7897 from ThomasWaldmann/check-fixes-shadow-index-1.2
...
check --repair fixes shadow_index (1.2-maint)
2023-11-03 14:42:39 +01:00
TW
cf5c61644b
Merge pull request #7901 from ThomasWaldmann/update-docs-1.2
...
Update docs (1.2-maint)
2023-11-03 14:35:02 +01:00