1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 16:55:36 +00:00
Commit graph

7500 commits

Author SHA1 Message Date
TW
ca1f1281d5
Merge pull request #7262 from ThomasWaldmann/skip-safe-unlink-test-windows
support win32 for test_safe_unlink* tests
2023-01-13 22:41:54 +01:00
Thomas Waldmann
829d88e614
win32 ci: show individual tests, give skip reason if tests were skipped 2023-01-13 21:01:05 +01:00
Thomas Waldmann
38152c8e5d
safe_unlink tests: use os.link to support win32 also
also:
- add note about mklinkto
- skip tests based on "not are_hardlinks_supported()" if needed
2023-01-13 20:59:30 +01:00
TW
7fb37271f2
Merge pull request #7258 from RayyanAnsari/windows-ci-tests
Add tests to Windows CI
2023-01-13 18:43:21 +01:00
TW
0d78565382
Merge pull request #7263 from helmutg/cleanup
delete left over documentation for borg key change-algorithm
2023-01-13 18:09:41 +01:00
Rayyan Ansari
b19d2c1449
Add tests to Windows CI 2023-01-13 17:02:41 +00:00
Helmut Grohne
e210c6c053 delete left over documentation for borg key change-algorithm 2023-01-13 13:20:49 +01:00
TW
fb9717567e
Merge pull request #7251 from puetzk/test_size_on_disk_accurate-flush
Fix test_size_on_disk_accurate for large st_blksize, fixes #7250
2023-01-13 10:49:41 +01:00
TW
c8809ab09d
Merge pull request #7260 from jsoref/spelling
Spelling
2023-01-12 18:47:18 +01:00
Josh Soref
a205c4273b spelling: zstandard
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 11:24:05 -05:00
Josh Soref
0958d94791 spelling: vagrant
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 11:24:05 -05:00
Josh Soref
a3af1ffc32 spelling: trade-offs
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 11:24:04 -05:00
Josh Soref
f41cf1c25f spelling: requirements
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 09:36:03 -05:00
Josh Soref
c9848e9814 spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 09:36:03 -05:00
Josh Soref
a26c1d99d9 spelling: new
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 09:36:03 -05:00
Josh Soref
6e7f593b98 spelling: healthy
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 09:36:03 -05:00
Josh Soref
6266ba8891 spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 00:24:42 -05:00
Kevin Puetz
079d9256ee Fix test_size_on_disk_accurate for large st_blksize, fixes #7250
python's io.BufferedWriter sizes its buffer based on st_blksize.
If the write fits in this buffer, then it's possible the data from
idx.write() has not been flushed through to ,the underlying filesystem,
and getsize(fileno()) sees a too-short (or even empty) file.

Also, getsize is only documented as accepting path-like objects;
passing a fileno seems to work only because the implementation
blindly forwards everything through to os.stat without checking.

Passing unopened_tempfile avoids all three problems
- on windows, it doesn't rely on re-opening NamedTemporaryFile
  (the issue which led to cc0ad321dc)
- we're following the documented API of getsize(path-like)
- the file is closed (thus flushed) inside idx.write, before getsize()
2023-01-11 19:20:16 -06:00
TW
e74b42920c
Merge pull request #7257 from ThomasWaldmann/docs-libb2-master
remove BORG_LIBB2_PREFIX (not used any more)
2023-01-10 14:24:51 +01:00
Thomas Waldmann
43cbe6d8b6
remove BORG_LIBB2_PREFIX (not used any more)
the code now uses hashlib.blake2b from python stdlib.
2023-01-10 14:10:34 +01:00
TW
daf890ebfa
Merge pull request #7243 from ThomasWaldmann/macos-resourcefork-mtime-master
extract: fix mtime when ResourceFork xattr is set (macOS specific)
2023-01-06 22:25:42 +01:00
Thomas Waldmann
5d8801e72c
macOS: fix mtime timestamp extraction if ResourceFork xattr is present, fixes #7234
setting the timestamps after xattrs helps for correct mtime,
but atime is still broken in this case.
2023-01-06 21:58:35 +01:00
Thomas Waldmann
6a27c6b763
macOS: test correct timestamp extraction if ResourceFork xattr is present, see #7234 2023-01-06 21:58:33 +01:00
TW
9d4646ce72
Merge pull request #7241 from ThomasWaldmann/upgrade-cython-master
upgrade Cython to 0.29.33
2023-01-06 21:55:49 +01:00
Thomas Waldmann
99c175e0bf
upgrade Cython to 0.29.33 2023-01-06 00:29:16 +01:00
TW
efea85cbf6
Merge pull request #7240 from ThomasWaldmann/update-docs
update usage docs and man pages
2023-01-03 04:53:16 +01:00
Thomas Waldmann
ac1df899aa
build_man 2023-01-03 00:37:04 +01:00
Thomas Waldmann
b5ff043ac1
build_usage 2023-01-03 00:36:59 +01:00
Thomas Waldmann
fecf20e529
man pages: more "see also" 2023-01-03 00:36:57 +01:00
TW
3bc2182f12
Merge pull request #7236 from ThomasWaldmann/update-changes-master
update CHANGES
2023-01-02 13:16:51 +01:00
Franco Ayala
cd68f71d07
Fix query quota (#7237)
rinfo: added support for --iec

also: added a missing \n to the generated output
2022-12-31 21:11:23 +01:00
Thomas Waldmann
36f5e66df0
update CHANGES 2022-12-30 15:46:58 +01:00
TW
ed6dcbebb1
Merge pull request #7233 from systemcrash/spfix
Docs and comments consistency and readability improvement
2022-12-30 15:13:17 +01:00
Paul D
991b53ebea Misc fixes. 2022-12-29 22:26:55 +00:00
Paul D
949dc51156 Rewrite for quickstart 2022-12-29 22:26:55 +00:00
Paul D
8ada680c87 'Want' fixes
aka who are you to presume what I want?
2022-12-29 22:26:55 +00:00
Paul D
253d8e8d4e Docs grammar fixes
joined split infinitives, and relocated adverbs appropriately.
2022-12-29 22:26:54 +00:00
Paul D
a85b643866 Docs grammar fixes.
One cannot "to not x", but one can "not to x".
Avoiding split infinitives gives the added bonus that machine
translation yields better results.

setup (n/adj) vs set(v) up. We don't "I setup it" but "I set it up".

Likewise for login(n/adj) and log(v) in, backup(n/adj) and back(v) up.
2022-12-29 00:01:48 +00:00
TW
f5d6a8d051
Merge pull request #7231 from ThomasWaldmann/list-or-progress
--list xor --progress
2022-12-29 00:39:53 +01:00
TW
a50a7a608c
Merge pull request #7230 from ThomasWaldmann/fix-progress-docs
fix --progress display description, fixes #7180
2022-12-29 00:39:37 +01:00
Thomas Waldmann
c461fa8d0b
do not use markup in simple error messages 2022-12-28 17:23:41 +01:00
Thomas Waldmann
bdc2dbfc08
disallow --list with --progress, fixes #7219 2022-12-28 17:23:04 +01:00
Thomas Waldmann
f27e61b2b0
fix --progress display description, fixes #7180 2022-12-28 16:54:46 +01:00
TW
e49b60ae59
Merge pull request #7228 from ThomasWaldmann/update-requirements-master
update development.lock.txt
2022-12-27 19:22:28 +01:00
Thomas Waldmann
7f5af3c98f
update development.lock.txt
including a setuptools security fix, see #7227

also: cosmetic change in development.txt to have same order
2022-12-27 18:51:28 +01:00
Franco Ayala
ab465a75d4
Adding used storage quota to borg info (#7121) 2022-12-24 01:55:47 +01:00
TW
edb28691d5
Merge pull request #7171 from RayyanAnsari/archiver-tests-win
Fix archiver tests on Windows
2022-12-18 16:06:19 +01:00
Rayyan Ansari
cf61e7d58a testsuite: archiver: skip block device in test_transfer_upgrade
On MINGW, the S_IFBLK macro is incorrectly set as 0x3000 instead of 0x6000.
https://github.com/mingw-w64/mingw-w64/blob/v10.0.0/mingw-w64-headers/crt/sys/stat.h#L133
2022-12-18 14:05:24 +00:00
Rayyan Ansari
66a407ff9f Use \n for the {NL} format specifier
\n is automatically converted on write to the platform-dependent os.linesep.
Using os.linesep instead of \n means that on Windows, the line ending becomes "\r\r\n".
Also switches mentions of {LF} to {NL} in code and docs.
2022-12-18 14:05:24 +00:00
Rayyan Ansari
d32ae512a8 testsuite: archiver: change regex excludes in test_extract_include_exclude_regex_from_file
On Windows, the ":" character cannot be used in a filename.
Python does not error on this because the ":" character represents data streams.
See https://stackoverflow.com/a/54508979
2022-12-18 14:05:24 +00:00