TW
d61f5eba63
Merge pull request #7214 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2022-12-17 18:13:31 +01:00
Thomas Waldmann
9c8ac57399
update CHANGES
2022-12-17 18:04:03 +01:00
TW
2aae879c49
Merge pull request #7210 from ThomasWaldmann/list-directories-dry-run-1.2
...
create: --list --dry-run output for directories, fixes #7209
2022-12-15 17:50:46 +01:00
Thomas Waldmann
dca6792850
create: --list --dry-run output for directories, fixes #7209
...
Without the status being set no output was generated in
dry-run mode, confusing users about whether borg would back
up directories (in non-dry-run mode).
- == item not backed up just because of dry-run mode
x == item excluded
2022-12-15 17:26:36 +01:00
TW
6d5c4a48b3
Merge pull request #7201 from ThomasWaldmann/fix-macos-ci-1.2
...
fix tox4 issue on macOS CI (1.2-maint)
2022-12-10 20:52:29 +01:00
Thomas Waldmann
e66d8c399b
fix tox4 passenv issue, fixes #7199
...
also: have a setting to disable fail-fast, in case something breaks again.
2022-12-10 19:55:28 +01:00
TW
79b6c985a1
Merge pull request #7169 from ThomasWaldmann/update-twine-upload-1.2
...
twine: use repo name instead of url
2022-11-27 01:25:39 +01:00
Thomas Waldmann
3984a7e3da
twine: use repo name instead of url
2022-11-27 01:24:25 +01:00
TW
d4cd911d46
Merge pull request #7150 from ThomasWaldmann/fix-nfiles-1.2
...
Fix nfiles 1.2
2022-11-20 20:30:25 +01:00
TW
889c8778a1
Merge pull request #7149 from ThomasWaldmann/py311-1.2
...
update python 3.9 and 3.11
2022-11-20 18:48:25 +01:00
Thomas Waldmann
f6419ee28b
archive.save(): always use metadata from stats, fixes #7072
...
e.g. nfiles, size, etc.
fixes:
- checkpoint archives did not have this metadata yet
- borg import-tar did not have this metadata yet
2022-11-20 18:33:53 +01:00
Thomas Waldmann
822a23da92
github CI: use python 3.11 (not -dev)
2022-11-20 17:58:43 +01:00
Thomas Waldmann
d623b47da9
vagrant: use python 3.9.15 for tests/binary build
2022-11-20 17:57:16 +01:00
TW
c233a964f2
Merge pull request #7147 from ThomasWaldmann/fix-repository-tests-1.2
...
Fix repository tests 1.2
2022-11-19 17:06:07 +01:00
Rayyan Ansari
d0b09dfc95
testsuite: repository: skip some tests for RemoteRepository
2022-11-19 14:30:41 +01:00
Rayyan Ansari
82f6adf8e0
file_integrity.py: make sure file_fd is always closed on exit
2022-11-19 14:30:16 +01:00
Rayyan Ansari
9cff9d96fa
testsuite: repository: close fd before deleting segment
...
See last commit.
2022-11-19 14:28:14 +01:00
Rayyan Ansari
05505de807
repository: cleanup(): close segment before unlinking
...
On Windows, trying to delete a file that is already open raises an exception.
Docs:
https://docs.python.org/3/library/os.html#os.remove
2022-11-19 14:25:01 +01:00
Rayyan Ansari
6a97e936ac
repository: use os.replace instead of os.rename
...
On Windows, os.rename raises an exception if the destination file already exists, unlike os.replace which replaces the destination file.
Docs:
https://docs.python.org/3/library/os.html#os.rename
https://docs.python.org/3/library/os.html#os.replace
2022-11-19 14:22:35 +01:00
TW
97261dbb22
Merge pull request #7135 from ThomasWaldmann/remove-py37-compat-code-1.2
...
remove python < 3.7 compatibility code
2022-11-07 09:04:37 +01:00
Thomas Waldmann
f1a355f3d9
remove python < 3.7 compatibility code
...
not supported any more in master and 1.2-maint branches.
2022-11-06 18:25:03 +01:00
TW
fff56edd8a
Merge pull request #7130 from ThomasWaldmann/fix-6070-1.2
...
improve/clarify strange test code, fixes #6070
2022-11-05 02:15:25 +01:00
TW
2ae41fd9e6
Merge pull request #7128 from ThomasWaldmann/fix-root-paths-1.2
...
fix args.paths related argparsing, fixes #6994
2022-11-05 01:12:45 +01:00
Thomas Waldmann
25d6649bcd
improve/clarify strange test code, fixes #6070
2022-11-05 00:51:44 +01:00
Thomas Waldmann
d57ed9dd98
fix args.paths related argparsing, fixes #6994
...
argparse: the default action is "store" and that overwrote an already
existing list in args.paths (e.g. from --pattern="R someroot") when it
started to process the positional PATH args.
with "extend" it now extends the existing args.paths with the list of
positional PATH arguments (which can be 0..N elements long, nargs="*").
note: "extend" is new since python 3.8, thus this can only be backported
to 1.2-maint, but not to 1.1-maint.
2022-11-05 00:30:46 +01:00
TW
01b921dea4
Merge pull request #7124 from ThomasWaldmann/hashindex-test-win-1.2
...
Fix test_size_on_disk_accurate on Windows
2022-11-04 21:12:58 +01:00
Thomas Waldmann
8ddfd94f09
Fix test_size_on_disk_accurate on Windows
...
Pass the python file object / fd instead of the file path.
On Windows, a tempfile cannot be opened again, unlike on Unix systems.
See https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile
2022-11-04 20:28:09 +01:00
TW
3d1f11b2e2
Merge pull request #7106 from RayyanAnsari/msys2-ci-backport
...
Use MSYS2 for Windows CI [backport]
2022-10-28 19:11:39 +02:00
Rayyan Ansari
e8dd5c449e
Add new Windows build scripts and CI with GitHub and MSYS2 [backport]
...
Fixes #7105
2022-10-27 16:56:08 +01:00
Rayyan Ansari
4b27ab2fbd
Remove old Windows scripts and Appveyor CI [backport]
2022-10-27 16:33:02 +01:00
nyuszika7h
84f4c12752
tar_filter: recognize .tar.zst as zstd (backport) ( #7095 )
...
tar_filter: recognize .tar.zst as zstd
Backported from #7093
2022-10-22 13:41:11 +02:00
TW
0989cb4040
Merge pull request #7082 from ThomasWaldmann/fix-chunker-params-comparison
...
Fix chunker params comparison
2022-10-11 20:29:32 +02:00
Thomas Waldmann
3200190cdb
diff: more precise warning msgs for different chunker params
...
if we know both archives' chunker params, use "are different" not "might be".
also do not recommend to enforce it using --same-chunker-params in this case.
2022-10-11 19:44:11 +02:00
Thomas Waldmann
651bef450d
recreate: normalize chunker params before comparing them, see #7079
...
borg < 1.2 did not have the chunker name as first element in the tuple,
but it always was buzhash, because there was no other chunker.
2022-10-10 22:41:39 +02:00
Thomas Waldmann
a6207370a9
diff: normalize chunker params before comparing them, fixes #7079
...
borg < 1.2 did not have the chunker name as first element in the tuple,
but it always was buzhash, because there was no other chunker.
2022-10-10 22:27:12 +02:00
TW
773f3bff77
Merge pull request #7057 from ThomasWaldmann/fix-recreate-fixed-chunker-1.2
...
get_chunker: fix missing sparse=False argument, fixes #7056
2022-09-27 22:36:03 +02:00
Thomas Waldmann
875c94a20d
get_chunker: fix missing sparse=False argument, fixes #7056
2022-09-27 21:45:51 +02:00
Thomas Waldmann
2f6197df0c
add test for recreate with "fixed" chunker
2022-09-27 21:45:51 +02:00
Emmanuel Tanimowo
f49133da04
update automating backups script ( #7039 )
...
update "automating backups" script: remove last backslash, use --glob-archives
2022-09-21 00:54:38 +02:00
TW
44b4791e98
Merge pull request #7035 from ThomasWaldmann/fix-7034-1.2
...
check: fix uninitialised variable if repo is completely empty, fixes #7034
2022-09-17 20:51:48 +02:00
Thomas Waldmann
4f4be2631a
check: fix uninitialised variable if repo is completely empty, fixes #7034
2022-09-17 20:29:34 +02:00
TW
9fe7339a39
Merge pull request #7024 from ThomasWaldmann/compat-setuptoolsscm4-1.2
...
do not use version_tuple placeholder in setuptools_scm template
2022-09-17 13:26:55 +02:00
Thomas Waldmann
3404346419
do not use version_tuple placeholder in setuptools_scm template
...
that would require setuptools_scm>=5.0.0 but some dists do not have that yet.
also, we do not use the version_tuple from _version.py, so it is not required
anyway.
2022-09-13 21:25:35 +02:00
TW
1b3cbe2461
Merge pull request #6990 from ThomasWaldmann/more-fine-grained-extended-stat-1.2
...
xattrs / extended stat: improve exception handling (1.2-maint)
2022-09-05 16:06:10 +02:00
Thomas Waldmann
3bd3600875
cosmetic: add missing blank to xattr test skip reason
2022-08-24 14:19:53 +02:00
Thomas Waldmann
a758fda089
xattrs: improve error handling, fixes #6988
...
looks like we can not rely on listxattr only returning
valid, acceptable names for getxattr.
so getxattr can still fail with EINVAL.
also:
- do not raise an exception if getting a single
xattr fails, rather emit a warning and continue
processing the remaining xattrs (and also the whole
file). we already had that for EPERM (and similar
for ENOATTR), just do it for all errors.
- _check, when it raises OSError, gives us a nice
exception object, use it.
- more helpful error msgs, try not to lose error information
2022-08-24 12:03:51 +02:00
Thomas Waldmann
b5d43506d3
extended stat: more fine grained exception handling
...
see #6988 : it was unclear where exactly the error came from (flags, xattrs or ACLs getting?).
2022-08-23 21:56:31 +02:00
TW
9bfe210948
Merge pull request #6980 from ThomasWaldmann/rel122
...
release 1.2.2
2022-08-20 21:04:12 +02:00
Thomas Waldmann
101a06234f
netbsd vagrant box: py310, remove some outdated fixes
...
seems like that stuff got fixed in 9.3.
2022-08-20 16:52:31 +02:00
Thomas Waldmann
e87c54a0a1
update CHANGES
2022-08-20 15:38:10 +02:00