From 3120f9cd1c9abbaf4abd4d7a2f8185da3637aa54 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 24 Aug 2025 00:21:57 +0200 Subject: [PATCH] fixed typos and grammar (AI) this was done by Junie AI. --- AUTHORS | 4 +- Brewfile | 4 +- MANIFEST.in | 4 +- SECURITY.md | 4 +- Vagrantfile | 2 +- docs/3rd_party/README | 6 +- docs/Makefile | 2 +- docs/_templates/globaltoc.html | 2 +- docs/_templates/layout.html | 12 ++-- docs/book.rst | 4 +- docs/changes.rst | 30 ++++---- docs/changes_0.x.rst | 20 +++--- docs/changes_1.x.rst | 2 +- docs/conf.py | 10 +-- docs/deployment/automated-local.rst | 54 +++++++------- docs/deployment/central-backup-server.rst | 44 ++++++------ docs/deployment/hosting-repositories.rst | 16 ++--- docs/deployment/image-backup.rst | 22 +++--- docs/deployment/non-root-user.rst | 36 +++++----- docs/deployment/pull-backup.rst | 38 +++++----- docs/development.rst | 10 +-- docs/faq.rst | 50 ++++++------- docs/index.rst | 2 +- docs/installation.rst | 8 +-- docs/internals.rst | 8 +-- docs/internals/data-structures.rst | 16 ++--- docs/internals/frontends.rst | 4 +- docs/internals/security.rst | 6 +- docs/introduction.rst | 6 +- docs/man_intro.rst | 4 +- docs/misc/benchmark-crud.txt | 4 +- docs/misc/create_chunker-params.txt | 34 ++++----- docs/misc/internals-picture.txt | 2 +- docs/misc/prune-example.txt | 18 ++--- docs/quickstart.rst | 12 ++-- docs/quickstart_example.rst.inc | 16 ++--- docs/usage.rst | 6 +- docs/usage/common-options.rst.inc | 4 +- docs/usage/compact.rst | 2 +- docs/usage/create.rst | 16 ++--- docs/usage/debug.rst | 6 +- docs/usage/delete.rst | 12 ++-- docs/usage/general.rst | 12 ++-- docs/usage/general/date-time.rst.inc | 10 +-- docs/usage/general/environment.rst.inc | 22 +++--- docs/usage/general/file-metadata.rst.inc | 24 +++---- docs/usage/general/file-systems.rst.inc | 24 +++---- docs/usage/general/logging.rst.inc | 37 +++++----- .../general/positional-arguments.rst.inc | 2 +- .../general/repository-locations.rst.inc | 12 ++-- docs/usage/general/repository-urls.rst.inc | 38 +++++----- docs/usage/general/resources.rst.inc | 72 +++++++++---------- docs/usage/general/return-codes.rst.inc | 10 +-- docs/usage/mount.rst | 2 +- docs/usage/notes.rst | 44 ++++++------ docs/usage/prune.rst | 24 +++---- docs/usage/recreate.rst | 10 +-- docs/usage/repo-compress.rst | 4 +- docs/usage/repo-create.rst | 10 +-- docs/usage/serve.rst | 20 +++--- docs/usage/tar.rst | 16 ++--- docs/usage/transfer.rst | 18 ++--- pyproject.toml | 10 +-- scripts/borg.exe.spec | 10 +-- scripts/errorlist.py | 2 +- scripts/glibc_check.py | 10 +-- .../make-testdata/test_transfer_upgrade.sh | 6 +- scripts/shell_completions/bash/borg | 6 +- scripts/shell_completions/fish/borg.fish | 12 ++-- scripts/shell_completions/zsh/_borg | 4 +- setup.py | 12 ++-- src/borg/__init__.py | 6 +- src/borg/__main__.py | 12 ++-- src/borg/archive.py | 4 +- src/borg/archiver/__init__.py | 6 +- src/borg/archiver/_common.py | 20 +++--- src/borg/archiver/analyze_cmd.py | 24 +++---- src/borg/archiver/benchmark_cmd.py | 14 ++-- src/borg/archiver/check_cmd.py | 40 +++++------ src/borg/archiver/compact_cmd.py | 34 ++++----- src/borg/archiver/create_cmd.py | 32 ++++----- src/borg/archiver/debug_cmd.py | 34 ++++----- src/borg/archiver/delete_cmd.py | 16 +++-- src/borg/archiver/diff_cmd.py | 10 +-- src/borg/archiver/extract_cmd.py | 49 ++++++------- src/borg/archiver/help_cmd.py | 22 +++--- src/borg/archiver/info_cmd.py | 4 +- src/borg/archiver/key_cmds.py | 30 ++++---- src/borg/archiver/list_cmd.py | 12 ++-- src/borg/archiver/lock_cmds.py | 26 +++---- src/borg/archiver/mount_cmds.py | 58 +++++++-------- src/borg/archiver/prune_cmd.py | 10 +-- src/borg/archiver/recreate_cmd.py | 16 ++--- src/borg/archiver/rename_cmd.py | 8 ++- src/borg/archiver/repo_compress_cmd.py | 6 +- src/borg/archiver/repo_create_cmd.py | 46 ++++++------ src/borg/archiver/repo_delete_cmd.py | 16 +++-- src/borg/archiver/repo_info_cmd.py | 4 +- src/borg/archiver/repo_list_cmd.py | 4 +- src/borg/archiver/repo_space_cmd.py | 27 ++++--- src/borg/archiver/serve_cmd.py | 52 +++++++------- src/borg/archiver/tag_cmd.py | 12 ++-- src/borg/archiver/tar_cmds.py | 7 +- src/borg/archiver/transfer_cmd.py | 34 ++++----- src/borg/archiver/undelete_cmd.py | 23 +++--- src/borg/archiver/version_cmd.py | 20 +++--- src/borg/cache.py | 22 +++--- src/borg/checksums.pyx | 4 +- src/borg/chunkers/__init__.py | 2 +- src/borg/chunkers/failing.py | 8 +-- src/borg/chunkers/fixed.py | 4 +- src/borg/chunkers/reader.pyx | 15 ++-- src/borg/compress.pyx | 2 +- src/borg/constants.py | 30 ++++---- src/borg/crypto/file_integrity.py | 8 +-- src/borg/crypto/key.py | 2 +- src/borg/crypto/keymanager.py | 2 +- src/borg/crypto/low_level.pyx | 8 +-- src/borg/fslocking.py | 8 +-- src/borg/fuse.py | 4 +- src/borg/fuse_impl.py | 4 +- src/borg/hashindex.pyx | 16 ++--- src/borg/helpers/__init__.py | 23 +++--- src/borg/helpers/checks.py | 2 +- src/borg/helpers/datastruct.py | 40 +++++------ src/borg/helpers/errors.py | 8 +-- src/borg/helpers/fs.py | 26 +++---- src/borg/helpers/lrucache.py | 8 +-- src/borg/helpers/misc.py | 20 +++--- src/borg/helpers/msgpack.py | 37 +++++----- src/borg/helpers/nanorst.py | 8 +-- src/borg/helpers/parseformat.py | 10 +-- src/borg/helpers/passphrase.py | 12 ++-- src/borg/helpers/process.py | 38 +++++----- src/borg/helpers/progress.py | 18 ++--- src/borg/helpers/shellpattern.py | 22 +++--- src/borg/helpers/time.py | 23 +++--- src/borg/helpers/yes_no.py | 36 +++++----- src/borg/item.pyx | 22 +++--- src/borg/legacyremote.py | 8 +-- src/borg/legacyrepository.py | 14 ++-- src/borg/logger.py | 72 +++++++++---------- src/borg/manifest.py | 2 +- src/borg/patterns.py | 6 +- src/borg/platform/__init__.py | 6 +- src/borg/platform/base.py | 56 +++++++-------- src/borg/platform/darwin.pyx | 3 +- src/borg/platform/freebsd.pyx | 20 +++--- src/borg/platform/linux.pyx | 4 +- src/borg/platform/posix.pyx | 13 ++-- src/borg/platform/syncfilerange.pyx | 2 +- src/borg/platform/windows.pyx | 4 +- src/borg/platform/xattr.py | 16 ++--- src/borg/platformflags.py | 4 +- src/borg/repoobj.py | 4 +- src/borg/repository.py | 10 +-- src/borg/selftest.py | 27 ++++--- src/borg/storelocking.py | 29 ++++---- src/borg/testsuite/__init__.py | 4 +- src/borg/testsuite/archive_test.py | 14 ++-- src/borg/testsuite/archiver/__init__.py | 28 ++++---- .../testsuite/archiver/argparsing_test.py | 2 +- src/borg/testsuite/archiver/check_cmd_test.py | 2 +- .../testsuite/archiver/corruption_test.py | 2 +- .../testsuite/archiver/create_cmd_test.py | 16 ++--- .../testsuite/archiver/debug_cmds_test.py | 2 +- src/borg/testsuite/archiver/disk_full_test.py | 20 +++--- .../testsuite/archiver/extract_cmd_test.py | 18 ++--- src/borg/testsuite/archiver/info_cmd_test.py | 2 +- src/borg/testsuite/archiver/key_cmds_test.py | 2 +- src/borg/testsuite/archiver/lock_cmds_test.py | 6 +- src/borg/testsuite/archiver/prune_cmd_test.py | 14 ++-- .../archiver/repo_compress_cmd_test.py | 4 +- .../archiver/repo_delete_cmd_test.py | 2 +- .../testsuite/archiver/repo_list_cmd_test.py | 2 +- .../testsuite/archiver/repo_space_cmd_test.py | 12 ++-- .../archiver/restricted_permissions_test.py | 6 +- src/borg/testsuite/archiver/serve_cmd_test.py | 10 +-- src/borg/testsuite/archiver/tar_cmds_test.py | 4 +- .../testsuite/archiver/transfer_cmd_test.py | 2 +- .../testsuite/archiver/undelete_cmd_test.py | 4 +- src/borg/testsuite/benchmark_test.py | 4 +- src/borg/testsuite/chunkers/__init__.py | 12 ++-- .../testsuite/chunkers/buzhash64_self_test.py | 4 +- src/borg/testsuite/chunkers/buzhash64_test.py | 4 +- .../testsuite/chunkers/buzhash_self_test.py | 4 +- src/borg/testsuite/chunkers/buzhash_test.py | 6 +- .../testsuite/chunkers/fixed_self_test.py | 8 +-- src/borg/testsuite/chunkers/fixed_test.py | 2 +- src/borg/testsuite/chunkers/reader_test.py | 2 +- src/borg/testsuite/compress_test.py | 4 +- src/borg/testsuite/fslocking_test.py | 8 +-- src/borg/testsuite/hashindex_test.py | 6 +- src/borg/testsuite/helpers/__init__test.py | 4 +- src/borg/testsuite/helpers/datastruct_test.py | 16 ++--- src/borg/testsuite/helpers/fs_test.py | 4 +- src/borg/testsuite/helpers/misc_test.py | 8 +-- src/borg/testsuite/helpers/msgpack_test.py | 12 ++-- .../testsuite/helpers/parseformat_test.py | 26 +++---- src/borg/testsuite/helpers/process_test.py | 2 +- .../testsuite/helpers/shellpattern_test.py | 14 ++-- src/borg/testsuite/helpers/time_test.py | 14 ++-- src/borg/testsuite/item_test.py | 14 ++-- src/borg/testsuite/legacyrepository_test.py | 12 ++-- src/borg/testsuite/logger_test.py | 2 +- src/borg/testsuite/platform/darwin_test.py | 2 +- src/borg/testsuite/platform/linux_test.py | 6 +- src/borg/testsuite/platform/platform_test.py | 8 +-- src/borg/testsuite/remote_test.py | 18 ++--- src/borg/testsuite/repoobj_test.py | 40 +++++------ src/borg/testsuite/repository_test.py | 10 +-- src/borg/testsuite/shell_completions_test.py | 24 +++---- src/borg/testsuite/storelocking_test.py | 8 +-- src/borg/testsuite/version_test.py | 10 +-- src/borg/testsuite/xattr_test.py | 12 ++-- src/borg/upgrade.py | 2 +- src/borg/version.py | 4 +- src/borg/xattr.py | 14 ++-- 218 files changed, 1552 insertions(+), 1551 deletions(-) diff --git a/AUTHORS b/AUTHORS index 5378b3b6c..a4094a2d2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,5 @@ -E-mail addresses listed here are not intended for support, please see -the `support section`_ instead. +Email addresses listed here are not intended for support. +Please see the `support section`_ instead. .. _support section: https://borgbackup.readthedocs.io/en/stable/support.html diff --git a/Brewfile b/Brewfile index c04f5f9b4..ef0b6e1df 100644 --- a/Brewfile +++ b/Brewfile @@ -5,8 +5,8 @@ brew 'xxhash' brew 'openssl@3.0' # osxfuse (aka macFUSE) is only required for "borg mount", -# but won't work on github actions' workers. -# it requires installing a kernel extension, so some users +# but won't work on GitHub Actions' workers. +# It requires installing a kernel extension, so some users # may want it and some won't. #cask 'osxfuse' diff --git a/MANIFEST.in b/MANIFEST.in index caf027ad9..4dff279ed 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ -# stuff we need to include into the sdist is handled automatically by +# The files we need to include in the sdist are handled automatically by # setuptools_scm - it includes all git-committed files. -# but we want to exclude some committed files/dirs not needed in the sdist: +# But we want to exclude some committed files/directories not needed in the sdist: exclude .editorconfig .gitattributes .gitignore .mailmap Vagrantfile prune .github include src/borg/platform/darwin.c src/borg/platform/freebsd.c src/borg/platform/linux.c src/borg/platform/posix.c diff --git a/SECURITY.md b/SECURITY.md index b8ef82755..08a78b932 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Supported Versions -These borg releases are currently supported with security updates. +These Borg releases are currently supported with security updates. | Version | Supported | |---------|--------------------| @@ -14,6 +14,6 @@ These borg releases are currently supported with security updates. ## Reporting a Vulnerability -See there: +See here: https://borgbackup.readthedocs.io/en/latest/support.html#security-contact diff --git a/Vagrantfile b/Vagrantfile index 4000b8792..300ea9315 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,7 +1,7 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -# Automated creation of testing environments / binaries on misc. platforms +# Automated creation of testing environments/binaries on miscellaneous platforms $cpus = Integer(ENV.fetch('VMCPUS', '8')) # create VMs with that many cpus $xdistn = Integer(ENV.fetch('XDISTN', '8')) # dispatch tests to that many pytest workers diff --git a/docs/3rd_party/README b/docs/3rd_party/README index 1f7b9b6ad..de89008f3 100644 --- a/docs/3rd_party/README +++ b/docs/3rd_party/README @@ -1,5 +1,5 @@ -Here we store 3rd party documentation, licenses, etc. +Here we store third-party documentation, licenses, etc. -Please note that all files inside the "borg" package directory (except the -stuff excluded in setup.py) will be INSTALLED, so don't keep docs or licenses +Please note that all files inside the "borg" package directory (except those +excluded in setup.py) will be installed, so do not keep docs or licenses there. diff --git a/docs/Makefile b/docs/Makefile index 09be16fcb..283f9be71 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -21,7 +21,7 @@ help: @echo " singlehtml to make a single large HTML file" @echo " pickle to make pickle files" @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" + @echo " htmlhelp to make HTML files and an HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " devhelp to make HTML files and a Devhelp project" @echo " epub to make an epub" diff --git a/docs/_templates/globaltoc.html b/docs/_templates/globaltoc.html index d10f5f77f..663dfa563 100644 --- a/docs/_templates/globaltoc.html +++ b/docs/_templates/globaltoc.html @@ -1,6 +1,6 @@