diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 455c8535b..1e55fc065 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,56 +1,54 @@
-## Have you checked borgbackup docs, FAQ, and open GitHub issues?
+## Have you checked the BorgBackup docs, FAQ, and open GitHub issues?
No
-## Is this a BUG / ISSUE report or a QUESTION?
+## Is this a bug/issue report or a question?
-Invalid
+Bug/Issue/Question
-## System information. For client/server mode post info for both machines.
+## System information. For client/server mode, post info for both machines.
-#### Your borg version (borg -V).
+#### Your Borg version (borg -V).
#### Operating system (distribution) and version.
-#### Hardware / network configuration, and filesystems used.
+#### Hardware/network configuration and filesystems used.
-#### How much data is handled by borg?
+#### How much data is handled by Borg?
-#### Full borg commandline that lead to the problem (leave away excludes and passwords)
+#### Full Borg command line that led to the problem (leave out excludes and passwords).
## Describe the problem you're observing.
#### Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
-#### Include any warning/errors/backtraces from the system logs
+#### Include any warnings/errors/backtraces from the system logs
diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE
index f01ff53c6..d1413b5ea 100644
--- a/.github/PULL_REQUEST_TEMPLATE
+++ b/.github/PULL_REQUEST_TEMPLATE
@@ -1,8 +1,8 @@
-Thank you for contributing code to Borg, your help is appreciated!
+Thank you for contributing code to Borg; your help is appreciated!
-Please, before you submit a pull request, make sure it complies with the
-guidelines given in our documentation:
+Before you submit a pull request, please make sure it complies with the
+guidelines in our documentation:
https://borgbackup.readthedocs.io/en/latest/development.html#contributions
-**Please remove all above text before submitting your pull request.**
+**Please remove the text above before submitting your pull request.**
diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml
index 6d473e0af..da37981fe 100644
--- a/.github/workflows/black.yaml
+++ b/.github/workflows/black.yaml
@@ -1,5 +1,5 @@
# https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
-# see also what we use locally, requirements.d/codestyle.txt - should be the same version here.
+# See also what we use locally in requirements.d/codestyle.txt — this should be the same version here.
name: Lint
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9fd6680e7..5f2649cca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -97,7 +97,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
- # just fetching 1 commit is not enough for setuptools-scm, so we fetch all
+ # Just fetching one commit is not enough for setuptools-scm, so we fetch all.
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
@@ -206,7 +206,7 @@ jobs:
include:
- os: macos-14
python-version: '3.11'
- toxenv: py311-none # note: no fuse testing, due to #6099, see also #6196.
+ toxenv: py311-none # Note: no FUSE testing due to #6099; see also #6196.
env:
# Configure pkg-config to use OpenSSL from Homebrew
@@ -219,7 +219,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
- # just fetching 1 commit is not enough for setuptools-scm, so we fetch all
+ # Just fetching one commit is not enough for setuptools-scm, so we fetch all
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
@@ -243,21 +243,21 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.d/development.txt
- - name: Install borgbackup
+ - name: Install BorgBackup
env:
- # we already have that in the global env, but something is broken and overwrites that.
- # so, set it here, again.
+ # We already have this in the global environment, but something overrides it.
+ # So set it here again.
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
run: |
pip install -ve .
- - name: run tox env
+ - name: Run pytest via tox
env:
- # we already have that in the global env, but something is broken and overwrites that.
- # so, set it here, again.
+ # We already have this in the global environment, but something overrides it.
+ # So set it here again.
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
XDISTN: "6"
run: |
- # do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
+ # Do not use fakeroot; run as root. Avoids the dreaded sporadic EISDIR failures; see #2482.
#sudo -E bash -c "tox -e py"
tox --skip-missing-interpreters
- name: Upload coverage to Codecov
@@ -271,7 +271,7 @@ jobs:
windows:
- if: false # can be used to temporary disable build
+ if: false # can be used to temporarily disable the build
runs-on: windows-latest
timeout-minutes: 120
needs: linux
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 2a7745259..b760d85fd 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -31,7 +31,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
- # just fetching 1 commit is not enough for setuptools-scm, so we fetch all
+ # Just fetching one commit is not enough for setuptools-scm, so we fetch all.
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
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/README.rst b/README.rst
index a100c1c58..ee3859aa5 100644
--- a/README.rst
+++ b/README.rst
@@ -3,7 +3,7 @@ This is borg2!
Please note that this is the README for borg2 / master branch.
-For the stable version's docs, please see there:
+For the stable version's docs, please see here:
https://borgbackup.readthedocs.io/en/stable/
@@ -14,7 +14,7 @@ next-beta upgrade code, so you will have to delete and re-create repos).
Thus, **DO NOT USE BORG2 FOR YOUR PRODUCTION BACKUPS!** Please help with
testing it, but set it up *additionally* to your production backups.
-TODO: the screencasts need a remake using borg2, see there:
+TODO: the screencasts need a remake using borg2, see here:
https://github.com/borgbackup/borg/issues/6303
@@ -35,7 +35,7 @@ See the `installation manual`_ or, if you have already
downloaded Borg, ``docs/installation.rst`` to get started with Borg.
There is also an `offline documentation`_ available, in multiple formats.
-.. _installation manual: https://borgbackup.readthedocs.org/en/stable/installation.html
+.. _installation manual: https://borgbackup.readthedocs.io/en/master/installation.html
.. _offline documentation: https://readthedocs.org/projects/borgbackup/downloads
Main features
@@ -78,7 +78,7 @@ Main features
authenticity.
**Obfuscation**
- Optionally, borg can actively obfuscate e.g. the size of files / chunks to
+ Optionally, Borg can actively obfuscate, e.g., the size of files/chunks to
make fingerprinting attacks more difficult.
**Compression**
@@ -91,13 +91,13 @@ Main features
* lzma (low speed, high compression)
**Off-site backups**
- Borg can store data on any remote host accessible over SSH. If Borg is
- installed on the remote host, big performance gains can be achieved
- compared to using a network filesystem (sshfs, nfs, ...).
+ Borg can store data on any remote host accessible over SSH. If Borg is
+ installed on the remote host, significant performance gains can be achieved
+ compared to using a network file system (sshfs, NFS, ...).
-**Backups mountable as filesystems**
- Backup archives are mountable as userspace filesystems for easy interactive
- backup examination and restores (e.g. by using a regular file manager).
+**Backups mountable as file systems**
+ Backup archives are mountable as user-space file systems for easy interactive
+ backup examination and restores (e.g., by using a regular file manager).
**Easy installation on multiple platforms**
We offer single-file binaries that do not require installing anything -
@@ -108,7 +108,7 @@ Main features
* FreeBSD
* OpenBSD and NetBSD (no xattrs/ACLs support or binaries yet)
* Cygwin (experimental, no binaries yet)
- * Linux Subsystem of Windows 10 (experimental)
+ * Windows Subsystem for Linux (WSL) on Windows 10/11 (experimental)
**Free and Open Source Software**
* security and functionality can be audited independently
@@ -130,7 +130,7 @@ Create a new backup archive::
$ borg create Monday1 ~/Documents
-Now doing another backup, just to show off the great deduplication::
+Now do another backup, just to show off the great deduplication::
$ borg create -v --stats Monday2 ~/Documents
Repository: /path/to/repo
@@ -144,31 +144,31 @@ Now doing another backup, just to show off the great deduplication::
Deduplicated size: 520 B
-Helping, Donations and Bounties, becoming a Patron
+Helping, donations and bounties, becoming a Patron
--------------------------------------------------
Your help is always welcome!
Spread the word, give feedback, help with documentation, testing or development.
-You can also give monetary support to the project, see there for details:
+You can also give monetary support to the project, see here for details:
https://www.borgbackup.org/support/fund.html
Links
-----
-* `Main Web Site `_
+* `Main website `_
* `Releases `_,
`PyPI packages `_ and
- `ChangeLog `_
-* `Offline Documentation `_
+ `Changelog `_
+* `Offline documentation `_
* `GitHub `_ and
- `Issue Tracker `_.
-* `Web-Chat (IRC) `_ and
- `Mailing List `_
-* `License `_
-* `Security contact `_
+ `Issue tracker `_.
+* `Web chat (IRC) `_ and
+ `Mailing list `_
+* `License `_
+* `Security contact `_
Compatibility notes
-------------------
@@ -178,7 +178,7 @@ CHANGES (like when going from 0.x.y to 1.0.0 or from 1.x.y to 2.0.0).
NOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.
-THIS IS SOFTWARE IN DEVELOPMENT, DECIDE YOURSELF WHETHER IT FITS YOUR NEEDS.
+THIS IS SOFTWARE IN DEVELOPMENT, DECIDE FOR YOURSELF WHETHER IT FITS YOUR NEEDS.
Security issues should be reported to the `Security contact`_ (or
see ``docs/support.rst`` in the source distribution).
@@ -187,9 +187,9 @@ see ``docs/support.rst`` in the source distribution).
|doc| |build| |coverage| |bestpractices|
-.. |doc| image:: https://readthedocs.org/projects/borgbackup/badge/?version=stable
+.. |doc| image:: https://readthedocs.org/projects/borgbackup/badge/?version=master
:alt: Documentation
- :target: https://borgbackup.readthedocs.org/en/stable/
+ :target: https://borgbackup.readthedocs.io/en/master/
.. |build| image:: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=master
:alt: Build Status (master)
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 @@