1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00
Commit graph

7405 commits

Author SHA1 Message Date
Thomas Waldmann
af93136ca7
build_man 2022-11-26 22:23:46 +01:00
Thomas Waldmann
4d2eb06ed3
build_usage 2022-11-26 22:23:17 +01:00
Thomas Waldmann
3ab46c5f46
update release date of 2.0.0b4 2022-11-26 22:16:53 +01:00
TW
a36102e52b
Merge pull request #7165 from ThomasWaldmann/update-changes2
update CHANGES
2022-11-26 21:20:38 +01:00
TW
aef439eb1a
Merge pull request #7164 from ThomasWaldmann/vagrant-updates
Vagrant updates
2022-11-26 21:20:23 +01:00
Thomas Waldmann
a2f7435a3b
vagrant: use less cpus/concurrency 2022-11-26 19:43:36 +01:00
Thomas Waldmann
724762510d
use python 3.11 for the binary build
use python 3.10.1 for tests.
2022-11-26 19:42:42 +01:00
Thomas Waldmann
cc4bee6220
use pyinstaller 5.6.2, fixes #7160
support python 3.11 now!
2022-11-26 19:38:58 +01:00
Thomas Waldmann
82aaef12b0
update CHANGES 2022-11-26 19:35:30 +01:00
TW
7439f89a78
Merge pull request #7157 from ThomasWaldmann/fix-7156
fix crash in borg transfer, fixes #7156
2022-11-26 12:43:26 +01:00
Thomas Waldmann
83576ae94c
fix crash in borg transfer, fixes #7156 2022-11-25 13:32:47 +01:00
TW
a2205439a0
Merge pull request #7155 from ThomasWaldmann/cygwin-fixes
Cygwin fixes
2022-11-22 18:49:23 +01:00
Thomas Waldmann
ae0017d174
skip test_create_read_special_symlink on cygwin
test is broken on cygwin and hangs infinitely.
2022-11-22 18:16:18 +01:00
Thomas Waldmann
15c51ee3c6
fix test_recreate_basic on cygwin
looks like that chmod should only get done IF we are root (and on linux?).

taking away write permissions on windows/cygwin (and when running as normal
user) makes create_regular_file fail when it tries to create dir2/file3.
2022-11-22 18:16:15 +01:00
Thomas Waldmann
f088682bc9
ignore testsuite test for slow msgpack on cygwin
we don't want to have a failing test just because a
not compiled msgpack was used to run the tests.
2022-11-22 18:16:12 +01:00
TW
57c9f6193a
Merge pull request #7141 from RayyanAnsari/fix-repository-tests
Fix repository tests on Windows
2022-11-16 18:43:48 +01:00
Rayyan Ansari
4445fe3bdb testsuite: repository: skip some tests for RemoteRepository 2022-11-15 19:14:33 +00:00
Rayyan Ansari
c209daec63 file_integrity.py: make sure file_fd is always closed on exit 2022-11-15 18:46:08 +00:00
Rayyan Ansari
f3f6e3f448 testsuite: repository: close fd before deleting segment
See last commit.
2022-11-15 17:55:18 +00:00
Rayyan Ansari
2a8cacf517 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-11 18:21:11 +00:00
Rayyan Ansari
62341673c1 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-10 17:56:45 +00:00
TW
5090f809ec
Merge pull request #7136 from ThomasWaldmann/fix-hashing-time-test
fix failing hashing_time test
2022-11-07 12:47:04 +01:00
Thomas Waldmann
85b0dc873a
fix failing hashing_time test
fast CPUs failed the test due to rounding down to 0.00s.
2022-11-07 10:51:04 +01:00
TW
31c53f6b78
Merge pull request #7134 from ThomasWaldmann/remove-py37-compat-code-master
remove python < 3.7 compatibility code
2022-11-07 09:04:54 +01:00
Thomas Waldmann
f5f38a1fbd
remove python < 3.7 compatibility code
not supported any more in master and 1.2-maint branches.
2022-11-06 18:22:56 +01:00
TW
473a74d9da
Merge pull request #7133 from ThomasWaldmann/black-same-version
use same black version on gh actions as locally
2022-11-06 17:39:38 +01:00
Thomas Waldmann
fa9381a476
use same black version on gh actions as locally 2022-11-06 17:34:59 +01:00
TW
5713908ce1
Merge pull request #7129 from ThomasWaldmann/fix-6070-master
improve/clarify strange test code, fixes #6070
2022-11-05 02:15:39 +01:00
Thomas Waldmann
5a4f07629c improve/clarify strange test code, fixes #6070 2022-11-05 00:46:40 +01:00
TW
b9ca421e27
Merge pull request #7127 from ThomasWaldmann/fix-root-paths-master
fix args.paths related argparsing, fixes #6994
2022-11-05 00:27:09 +01:00
Thomas Waldmann
17cc72ec28 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-04 23:29:58 +01:00
TW
c3ef6b3a72
Merge pull request #7125 from ThomasWaldmann/hashindex-test-win-master
Fix test_size_on_disk_accurate on Windows
2022-11-04 21:13:23 +01:00
Thomas Waldmann
05997e2867 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:32:53 +01:00
TW
edf12186fc
Merge pull request #7123 from RayyanAnsari/hashindex-test-win
Fix test_size_on_disk_accurate on Windows
2022-11-04 20:15:59 +01:00
Rayyan Ansari
cc0ad321dc Fix test_size_on_disk_accurate on Windows
Pass the file descriptor 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 18:28:51 +00:00
TW
7aeae7cf7a
Merge pull request #7103 from RayyanAnsari/msys2-ci
Use MSYS2 for Windows CI
2022-10-27 15:06:34 +02:00
Rayyan Ansari
2b98a423ed
Add new Windows build scripts and CI with GitHub and MSYS2
Fixes #7097
2022-10-27 13:42:41 +01:00
Rayyan Ansari
83980e304e
Remove old Windows scripts and Appveyor CI 2022-10-27 13:34:32 +01:00
TW
1d387522e4
Merge pull request #7104 from ThomasWaldmann/py311-master
vagrant / github CI: use python 3.11.0 / 3.10.8
2022-10-27 08:16:44 +02:00
Thomas Waldmann
78094453b6 vagrant: use python 3.10.8 2022-10-27 07:24:43 +02:00
Thomas Waldmann
b19618506a vagrant / github CI: use python 3.11.0 2022-10-27 02:15:05 +02:00
Franco Ayala
eaccd9d578
Fix test_chunking_time (#7101)
test_chunking_time: use a bigger file to avoid test fail due to rounding to 0.0
2022-10-26 22:17:05 +02:00
nyuszika7h
54ec166219
tar_filter: recognize .tar.zst as zstd (#7093)
tar_filter: recognize .tar.zst as zstd
2022-10-22 14:46:12 +02:00
Franco Ayala
2ed7f317d3
Adding performance statistics to borg create (#6991)
- file status A/M/E counters
- chunking time
- hashing time
- rx_bytes / tx_bytes

Note: the sleep() in the test is needed due to timestamp granularity on linux being much more coarse than expected (uses the system timer, 100Hz or 250Hz).
2022-10-19 21:40:02 +02:00
TW
b8a0e0d6bd
Merge pull request #7087 from ThomasWaldmann/update-changes
update CHANGES
2022-10-17 00:12:55 +02:00
Thomas Waldmann
4b446dc146 update CHANGES 2022-10-12 22:49:58 +02:00
TW
a74bcb786d
Merge pull request #7081 from ThomasWaldmann/fix-transfer-chunker-params
transfer/upgrade: fix borg < 1.2 chunker_params, fixes #7079
2022-10-11 20:37:56 +02:00
Thomas Waldmann
c98f8e44b9 transfer/upgrade: fix borg < 1.2 chunker_params, fixes #7079
add the missing chunker_name as first element of the tuple.
2022-10-10 21:16:44 +02:00
TW
6e95e5464f
Merge pull request #7078 from ThomasWaldmann/fix-item-_dict
transfer/upgrade: do not access Item._dict, fixes #7077
2022-10-10 19:45:03 +02:00
Thomas Waldmann
3fa7837a8b transfer/upgrade: do not access Item._dict, fixes #7077
after the cython code refactor in #7063, accessing the internal _dict is
not possible any more.

but looks like we do not even need that.
2022-10-08 23:23:09 +02:00