1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-29 11:16:43 +00:00
Commit graph

7992 commits

Author SHA1 Message Date
Thomas Waldmann
ddd93c5828
docs: remove --chunker-params hint to borg < 1.0 2023-07-04 23:41:17 +02:00
Thomas Waldmann
89cfd083ba
docs: minor fixes/update to notes 2023-07-04 23:36:41 +02:00
Thomas Waldmann
84b1ad6948
docs: remove info about borg 1.0 files per dir 2023-07-04 23:32:36 +02:00
Thomas Waldmann
5fb4cc3b4b
docs: no signature upload on pypi any more
but we upload it on github releases,
so people can check it.
2023-07-04 20:20:35 +02:00
Thomas Waldmann
15781efab3
docs: CI only on github actions now 2023-07-04 20:11:26 +02:00
TW
e695683095
Merge pull request #7699 from ThomasWaldmann/remove-coala-master
remove coala (outdated)
2023-07-02 20:19:36 +02:00
Thomas Waldmann
80188d3bdf
remove coala (outdated)
last coala release (0.11.0) is now over 6y old.

when using pip install coala, a ton of stuff gets installed (expected)
and a part of that downgrades some stuff we use to outdated, incompatible
versions.

when trying to run coala with python 3.11, it just crashes because the
last release was made for py35/py36 (as seen in their setup.py).

a lot of PRs and tickets pile up at the coala project on github,
but noone is maintaining it.
2023-07-02 17:25:51 +02:00
TW
a7d8b02e4e
Merge pull request #7697 from ThomasWaldmann/docs-master
docs updates (master)
2023-07-01 18:55:45 +02:00
Thomas Waldmann
e142776040
update CHANGES 2023-07-01 16:42:15 +02:00
Thomas Waldmann
53991f2e51
move upgrade / compat. notes to own section, see #7546 2023-07-01 16:28:17 +02:00
Thomas Waldmann
deed47824f
mount -olocal: how to show mount in finder's sidebar, fixes #5321 2023-07-01 16:07:31 +02:00
TW
cd678a032d
Merge pull request #7696 from ThomasWaldmann/macfuse-volname-master
mount: make up volname if not given (macOS), fixes #7690
2023-07-01 16:02:28 +02:00
TW
c3cc33fd27
Merge pull request #7695 from ThomasWaldmann/fix-4110-master
extract: fix false warning about pattern never matching, fixes #4110
2023-07-01 16:02:04 +02:00
Thomas Waldmann
bd9af62c07
mount: make up volname if not given (macOS), fixes #7690
macFUSE supports a volname mount option to give what
finder displays on desktop / in directory list.

if the user did not specify it, we make something up,
because otherwise it would be "macFUSE Volume 0 (Python)".
2023-07-01 15:35:03 +02:00
Thomas Waldmann
2aecdb91d4
extract: fix false warning about pattern never matching, fixes #4110 2023-07-01 15:31:00 +02:00
TW
c539b404f6
Merge pull request #7688 from TimWolla/patch-1
Improve the documentation for `--keep-within`
2023-07-01 14:54:19 +02:00
Tim Düsterhus
a6f452a050 Improve the documentation for --keep-within
Move the explanation below the general explanation of the `--keep-*` option
behavior rephrase the last sentence to make it clear that it works like the
other options that were explained in the previous paragraph.

Resolves #7687
2023-06-30 15:23:07 +02:00
TW
f43fcd3bdb
Merge pull request #7686 from ThomasWaldmann/fwd-ports
misc fwd ports
2023-06-30 00:20:01 +02:00
Thomas Waldmann
58d3dbcec0
keyfile: improve key sanity check, fixes #7561
check key file structure, make sure the binary key
is not way too short (or zero) length.

if key file looks strange, emit warnings.
2023-06-29 23:13:29 +02:00
Thomas Waldmann
ec1f2dfbf1
--files-cache=size: fix crash, fixes #7658 2023-06-29 23:09:24 +02:00
Thomas Waldmann
4326813c05
do not upload gpg signature to pypi, fixes #7649 2023-06-29 23:06:28 +02:00
Thomas Waldmann
81c3cb957e
list: fix --pattern examples, fixes #7611
- pattern needs to start with + - !
- first match wins
- the default is to list everything, thus a 2nd pattern
  is needed to exclude everything not matched by 1st pattern.
2023-06-29 23:04:21 +02:00
TW
b37c38afa9
Merge pull request #7685 from ThomasWaldmann/gha-reduce-master
github actions CI: misc improvements
2023-06-29 22:59:08 +02:00
Thomas Waldmann
06fa81aeb0
trivial change to trigger CI 2023-06-29 20:06:26 +02:00
Thomas Waldmann
cab8e5d013
github actions CI: win/mac both need linux succeed first, fixes #7684
also:
- XDISTN=6, 3 cores on macOS machines
- XDISTN=4, 2 cores on windows/linux machines
2023-06-29 19:59:39 +02:00
Thomas Waldmann
e9f766dbbf
gha: remove outdated borg2 branch 2023-06-28 15:27:26 +02:00
TW
349514446f
Merge pull request #7667 from ThomasWaldmann/skip-sparse-test-win32-master
test_sparse_file: skip test on win32
2023-06-23 00:15:44 +02:00
Thomas Waldmann
45cda981f9
test_sparse_file: skip test on win32
about 10-50% of the github windows CI runs fail due to
this - root cause unknown.

Example failure:

        # we first check if we could create a sparse input file:
        sparse_support = is_sparse(filename, total_size, hole_size)
        if sparse_support:
            # we could create a sparse input file, so creating a backup of it and
            # extracting it again (as sparse) should also work:
            self.cmd(f"--repo={self.repository_location}", "rcreate", RK_ENCRYPTION)
            self.cmd(f"--repo={self.repository_location}", "create", "test", "input")
            with changedir(self.output_path):
                self.cmd(f"--repo={self.repository_location}", "extract", "test", "--sparse")
            self.assert_dirs_equal("input", "output/input")
            filename = os.path.join(self.output_path, "input", "sparse")
            with open(filename, "rb") as fd:
                # check if file contents are as expected
>               self.assert_equal(fd.read(hole_size), b"\0" * hole_size)
E               AssertionError: b'\x0[8388602 chars]x00\xf0Y\xb5\xe3\xee\xf3\x1f\xe3L\xcf\xae\x92\[159253621 chars]\x00' != b'\x0[8388602 chars]x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0[159383505 chars]\x00'

src/borg/testsuite/archiver/extract_cmd.py:212: AssertionError
2023-06-22 23:10:31 +02:00
TW
c89eb98c18
Merge pull request #7665 from ThomasWaldmann/fix-benchmark
benchmark cpu: use sanitized path, fixes #7653
2023-06-22 21:56:31 +02:00
TW
67a32ee603
Merge pull request #7664 from ThomasWaldmann/test-for-backslashes
no backslashes
2023-06-22 21:41:37 +02:00
Thomas Waldmann
420eae6138
benchmark cpu: use sanitized path, fixes #7654 2023-06-22 21:22:18 +02:00
TW
44147fe5b3
Merge pull request #7663 from ThomasWaldmann/send-log-cb
remote logging/progress: add callback to send queued records, fixes #7662
2023-06-22 21:19:18 +02:00
Thomas Waldmann
4f49f9bae6
make_path_safe: remove test for backslashes, fixes #7651
looks like some tools use backslashes in linux/macOS paths.
2023-06-22 20:49:14 +02:00
Thomas Waldmann
3aec98ada9
remote logging/progress: use callback to send queued records, fixes #7662 2023-06-22 20:09:29 +02:00
Ted Lawson
a5c4d0d310
Xattr.py unittest to pytest conversion (#7657) 2023-06-20 16:08:44 +02:00
TW
96076a71d2
Merge pull request #7646 from ThomasWaldmann/rel200b6
Release 2.0.0b6
2023-06-12 10:35:23 +02:00
Thomas Waldmann
4dca508848
build_man 2023-06-11 23:10:23 +02:00
Thomas Waldmann
70602bda52
build_usage 2023-06-11 23:09:20 +02:00
Thomas Waldmann
fbf463496b
docs: fix some markup / linking issues 2023-06-11 23:03:21 +02:00
Thomas Waldmann
82f180b3c4
update CHANGES, set release date 2023-06-11 22:53:11 +02:00
Tarrailt
616d5e7330
Add --format option to borg diff, resolve issue #4634 (#7534)
diff: add --format option

also: refactoring/improvements of BaseFormatter
2023-06-11 22:41:36 +02:00
TW
8506c05ab6
Merge pull request #7642 from Deric-W/typehints
replace `LRUCache` internals with `OrderedDict`
2023-06-11 17:11:41 +02:00
Eric Wolf
ad3c890167
rephrase docstring and remove unused sentinel 2023-06-11 13:56:58 +02:00
TW
e1e9b4031d
Merge pull request #7643 from ThomasWaldmann/vagrant-updates
Vagrant updates
2023-06-10 23:02:46 +02:00
Eric Wolf
e683c80c75
replace LRUCache internals with OrderedDict
Replacing the internals should make the implementation faster
and simpler since the order tracking is done by the `OrderedDict`.

Furthermore, this commit adds type hints to `LRUCache` and
renames the `upd` method to `replace` to make its use more clear.
2023-06-10 20:57:32 +02:00
Thomas Waldmann
45e00f9df8
vagrant: darwin64 box: install openssl after xxhash
otherwise a openssl build error might manifest in complaints about xxhash not being installed.
2023-06-10 16:54:08 +02:00
Thomas Waldmann
47df6f5a5d
vagrant: use debian/bookworm64 box 2023-06-10 16:51:41 +02:00
TW
0aa165859e
Merge pull request #7637 from ThomasWaldmann/update-changes
update CHANGES
2023-06-10 14:54:21 +02:00
Thomas Waldmann
a347e01919
update CHANGES 2023-06-10 14:53:29 +02:00
TW
4f76f595a9
Merge pull request #7635 from eoli3n/master
Improve patterns help
2023-06-10 14:39:31 +02:00