Commit Graph

8177 Commits

Author SHA1 Message Date
bigtedde a3bfc4d390 rdelete_cmd converted 2023-07-09 10:43:51 -04:00
bigtedde 216f13831e rcompress_cmd converted 2023-07-08 17:43:30 -04:00
bigtedde a4fc546c8a prune_cmd converted 2023-07-08 17:28:32 -04:00
TW 4dfce1cca4
Merge pull request #7719 from bket/fix_test
Fix failing test on OpenBSD
2023-07-08 02:20:07 +02:00
bigtedde 7e14361700 patterns converted 2023-07-07 17:50:44 -04:00
bigtedde 0a104a3435 mount_cmds converted 2023-07-07 17:48:29 -04:00
bigtedde 91dd71e3b1 lock_cmds converted 2023-07-07 16:49:01 -04:00
bigtedde 08ab71669a list_cmd converted 2023-07-07 16:40:39 -04:00
bigtedde 3cccf19671 key_cmds converted 2023-07-07 15:53:49 -04:00
bigtedde 725149cb8b info_cmd converted, edited generate tests comment 2023-07-07 15:26:50 -04:00
bigtedde b5901eb0a6 merge upstream changes 2023-07-07 15:16:11 -04:00
bigtedde a438176b85 help_cmd converted 2023-07-07 10:08:25 -05:00
Björn Ketelaars 1074089d37 Fix failing test on OpenBSD
A borgbackup-2.0.0b6 test fails on OpenBSD with the message below.

```
=================================== FAILURES ===================================
_____________________________ test_get_runtime_dir _____________________________

path = '/run/user/55/borg', mode = 511, pretty_deadly = True

    def ensure_dir(path, mode=stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO, pretty_deadly=True):
        """
        Ensures that the dir exists with the right permissions.
        1) Make sure the directory exists in a race-free operation
        2) If mode is not None and the directory has been created, give the right
        permissions to the leaf directory. The current umask value is masked out first.
        3) If pretty_deadly is True, catch exceptions, reraise them with a pretty
        message.
        Returns if the directory has been created and has the right permissions,
        An exception otherwise. If a deadly exception happened it is reraised.
        """
        try:
>           os.makedirs(path, mode=mode, exist_ok=True)

build/lib.openbsd-7.3-amd64-cpython-310/borg/helpers/fs.py:37:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
```

If `$XDG_RUNTIME_DIR` is not set `platformdirs.user_runtime_dir()`
returns one of 3 different paths
(https://github.com/platformdirs/platformdirs/pull/201). Proposed fix is
to check if `get_runtime_dir()` returns one of these paths.
2023-07-07 15:38:13 +02:00
TW 7914e38160
Merge pull request #7712 from ThomasWaldmann/manifest-item_keys
manifest: move item_keys into config dict, fixes #7710
2023-07-07 00:58:27 +02:00
TW cfbfe2423f
Merge pull request #7676 from RayyanAnsari/paths-win
Properly normalise paths on Windows
2023-07-07 00:42:03 +02:00
TW e63775a316
Merge pull request #7711 from ThomasWaldmann/doc-updates-master
doc updates (master)
2023-07-07 00:30:16 +02:00
TW 29d73f4f41
Merge pull request #7715 from FelixSchwarz/py312-utcfromtimestamp
replace "datetime.utcfromtimestamp" to avoid deprecation warnings with Python 3.12
2023-07-06 23:47:03 +02:00
Felix Schwarz ae0b3d2fff replace "datetime.utcfromtimestamp" with custom helper to avoid deprecation warnings when using Python 3.12 2023-07-06 21:46:19 +02:00
Daniel Rudolf a661da13ee
Docs: Improve explanation of `borg check --max-duration`'s side effects 2023-07-06 00:42:57 +02:00
Daniel Rudolf 9d59146de4
Docs: Remove technical description from `borg check` docs 2023-07-06 00:19:48 +02:00
Daniel Rudolf 9edbf4e931
Docs: Rewrite `borg check` docs
Fixes #7578
2023-07-06 00:17:55 +02:00
bigtedde 5bc1bbd3a3 extract_cmd converted 2023-07-04 19:35:48 -05:00
bigtedde 95d48c054a disk_full converted 2023-07-04 18:38:10 -05:00
Thomas Waldmann 51e68c24e4
manifest: move item_keys into config dict, fixes #7710
also: manifest.version == 2 now
2023-07-05 01:11:24 +02:00
bigtedde dfaea063a5 diff_cmd converted 2023-07-04 17:15:15 -05:00
Thomas Waldmann 8db8fd601b
docs: OS X -> macOS 2023-07-04 23:59:44 +02:00
Thomas Waldmann be731334c3
docs: update macOS hint about full disk access 2023-07-04 23:55:06 +02:00
bigtedde 99bf56cfcd delete_cmd converted 2023-07-04 16:53:06 -05:00
Thomas Waldmann 96c3c90230
docs: remove hint about item_keys in manifest 2023-07-04 23:46:53 +02:00
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
bigtedde d18525ae49 debug_cmds added 2023-07-04 16:35:09 -05:00
Thomas Waldmann 84b1ad6948
docs: remove info about borg 1.0 files per dir 2023-07-04 23:32:36 +02:00
bigtedde 2cf784d5c6 combined all tests into one single Archiver folder PR 2023-07-04 15:35:51 -05:00
Rayyan Ansari 7e0cdd7c5e testsuite: Enable test_archived_paths on Windows 2023-07-04 19:44:22 +01:00
Rayyan Ansari 54b654e3b1 fs: Properly normalise paths on Windows
Use forward slashes and integrate the drive letter into the path.
2023-07-04 19:44:22 +01: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