Skip to content

Commit f8d9f8c

Browse files
Merge pull request #8990 from ThomasWaldmann/typos-grammar-1.4
Typos / grammar (1.4-maint)
2 parents 7f22f6c + 9973296 commit f8d9f8c

File tree

119 files changed

+1084
-1099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+1084
-1099
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,55 @@
11
<!--
22
Thank you for reporting an issue.
33
4-
*IMPORTANT* - *before* creating a new issue please look around:
5-
- Borgbackup documentation: http://borgbackup.readthedocs.io/en/stable/index.html
4+
*IMPORTANT* before creating a new issue, please look around:
5+
- BorgBackup documentation: https://borgbackup.readthedocs.io/en/stable/index.html
66
- FAQ: https://borgbackup.readthedocs.io/en/stable/faq.html
77
and
8-
- open issues in Github tracker: https://github.com/borgbackup/borg/issues
9-
8+
- Open issues in the GitHub tracker: https://github.com/borgbackup/borg/issues
9+
1010
If you cannot find a similar problem, then create a new issue.
1111
1212
Please fill in as much of the template as possible.
1313
-->
1414

15-
## Have you checked borgbackup docs, FAQ, and open Github issues?
15+
## Have you checked the BorgBackup docs, FAQ, and open GitHub issues?
1616

1717
No
1818

19-
## Is this a BUG / ISSUE report or a QUESTION?
19+
## Is this a bug/issue report or a question?
2020

21-
Invalid
21+
Bug/Issue/Question
2222

23-
## System information. For client/server mode post info for both machines.
23+
## System information. For client/server mode, post info for both machines.
2424

2525
#### Your borg version (borg -V).
2626

2727
#### Operating system (distribution) and version.
2828

29-
#### Hardware / network configuration, and filesystems used.
29+
#### Hardware/network configuration and filesystems used.
3030

3131
#### How much data is handled by borg?
3232

33-
#### Full borg commandline that lead to the problem (leave away excludes and passwords)
33+
#### Full borg command line that led to the problem (leave out excludes and passwords).
3434

3535

3636
## Describe the problem you're observing.
3737

3838
#### Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
3939

40-
#### Include any warning/errors/backtraces from the system logs
40+
#### Include any warnings/errors/backtraces from the system logs
4141

4242
<!--
4343
4444
If this complaint relates to borg performance, please include CRUD benchmark
4545
results and any steps you took to troubleshoot.
46-
How to run benchmark: http://borgbackup.readthedocs.io/en/stable/usage/benchmark.html
46+
How to run the benchmark: https://borgbackup.readthedocs.io/en/stable/usage/benchmark.html
4747
48-
*IMPORTANT* - Please mark logs and text output from terminal commands
49-
or else Github will not display them correctly.
48+
*IMPORTANT* – Please mark logs and terminal command output, otherwise GitHub will not display them correctly.
5049
An example is provided below.
5150
5251
Example:
5352
```
54-
this is an example how log text should be marked (wrap it with ```)
53+
this is an example of how log text should be marked (wrap it with ```)
5554
```
5655
-->

.github/PULL_REQUEST_TEMPLATE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Thank you for contributing code to Borg, your help is appreciated!
1+
Thank you for contributing code to Borg; your help is appreciated!
22

3-
Please, before you submit a pull request, make sure it complies with the
4-
guidelines given in our documentation:
3+
Before you submit a pull request, please make sure it complies with the
4+
guidelines in our documentation:
55

6-
https://borgbackup.readthedocs.io/en/latest/development.html#contributions
6+
https://borgbackup.readthedocs.io/en/stable/development.html#contributions
77

8-
**Please remove all above text before submitting your pull request.**
8+
**Please remove the text above before submitting your pull request.**

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# badge: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=master
1+
# badge: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=1.4-maint
22

33
name: CI
44

@@ -67,7 +67,7 @@ jobs:
6767
toxenv: py314-fuse3
6868
- os: macos-14
6969
python-version: '3.11'
70-
toxenv: py311-none # note: no fuse testing, due to #6099, see also #6196.
70+
toxenv: py311-none # Note: no FUSE testing due to #6099; see also #6196.
7171

7272
env:
7373
# Configure pkg-config to use OpenSSL from Homebrew
@@ -80,7 +80,7 @@ jobs:
8080
steps:
8181
- uses: actions/checkout@v4
8282
with:
83-
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
83+
# Just fetching one commit is not enough for setuptools-scm, so we fetch all
8484
fetch-depth: 0
8585
- name: Set up Python ${{ matrix.python-version }}
8686
uses: actions/setup-python@v5
@@ -112,20 +112,20 @@ jobs:
112112
run: |
113113
python -m pip install --upgrade pip setuptools wheel
114114
pip install -r requirements.d/development.txt
115-
- name: Install borgbackup
115+
- name: Install BorgBackup
116116
env:
117-
# we already have that in the global env, but something is broken and overwrites that.
118-
# so, set it here, again.
117+
# We already have this in the global environment, but something overrides it.
118+
# So set it here again.
119119
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
120120
run: |
121121
pip install -ve .
122-
- name: run pytest via tox
122+
- name: Run pytest via tox
123123
env:
124-
# we already have that in the global env, but something is broken and overwrites that.
125-
# so, set it here, again.
124+
# We already have this in the global environment, but something overrides it.
125+
# So set it here again.
126126
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
127127
run: |
128-
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
128+
# Do not use fakeroot; run as root. Avoids the dreaded sporadic EISDIR failures; see #2482.
129129
#sudo -E bash -c "tox -e py"
130130
tox --skip-missing-interpreters
131131
- name: Upload coverage to Codecov

Brewfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ brew 'xxhash'
55
brew 'openssl@3.0'
66

77
# osxfuse (aka macFUSE) is only required for "borg mount",
8-
# but won't work on github actions' workers.
8+
# but won't work on GitHub Actions' workers.
99
# it requires installing a kernel extension, so some users
1010
# may want it and some won't.
1111

MANIFEST.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# stuff we need to include into the sdist is handled automatically by
2-
# setuptools_scm - it includes all git-committed files.
3-
# but we want to exclude some committed files/dirs not needed in the sdist:
1+
# Files to include into the sdist are handled automatically by
2+
# setuptools_scm it includes all Git-committed files.
3+
# But we want to exclude some committed files/dirs not needed in the sdist:
44
exclude .editorconfig .gitattributes .gitignore .mailmap Vagrantfile
55
prune .github
66
include src/borg/platform/darwin.c src/borg/platform/freebsd.c src/borg/platform/linux.c src/borg/platform/posix.c

README.rst

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See the `installation manual`_ or, if you have already
1818
downloaded Borg, ``docs/installation.rst`` to get started with Borg.
1919
There is also an `offline documentation`_ available, in multiple formats.
2020

21-
.. _installation manual: https://borgbackup.readthedocs.org/en/stable/installation.html
21+
.. _installation manual: https://borgbackup.readthedocs.io/en/stable/installation.html
2222
.. _offline documentation: https://readthedocs.org/projects/borgbackup/downloads
2323

2424
Main features
@@ -57,10 +57,10 @@ Main features
5757

5858
**Data encryption**
5959
All data can be protected using 256-bit AES encryption, data integrity and
60-
authenticity is verified using HMAC-SHA256. Data is encrypted clientside.
60+
authenticity is verified using HMAC-SHA256. Data is encrypted client-side.
6161

6262
**Obfuscation**
63-
Optionally, borg can actively obfuscate e.g. the size of files / chunks to
63+
Optionally, Borg can actively obfuscate, e.g., the size of files/chunks to
6464
make fingerprinting attacks more difficult.
6565

6666
**Compression**
@@ -73,24 +73,24 @@ Main features
7373
* lzma (low speed, high compression)
7474

7575
**Off-site backups**
76-
Borg can store data on any remote host accessible over SSH. If Borg is
77-
installed on the remote host, big performance gains can be achieved
78-
compared to using a network filesystem (sshfs, nfs, ...).
76+
Borg can store data on any remote host accessible over SSH. If Borg is
77+
installed on the remote host, significant performance gains can be achieved
78+
compared to using a network file system (sshfs, NFS, ...).
7979

80-
**Backups mountable as filesystems**
81-
Backup archives are mountable as userspace filesystems for easy interactive
82-
backup examination and restores (e.g. by using a regular file manager).
80+
**Backups mountable as file systems**
81+
Backup archives are mountable as user-space file systems for easy interactive
82+
backup examination and restores (e.g., by using a regular file manager).
8383

8484
**Easy installation on multiple platforms**
8585
We offer single-file binaries that do not require installing anything -
8686
you can just run them on these platforms:
8787

8888
* Linux
89-
* Mac OS X
89+
* macOS
9090
* FreeBSD
9191
* OpenBSD and NetBSD (no xattrs/ACLs support or binaries yet)
9292
* Cygwin (experimental, no binaries yet)
93-
* Linux Subsystem of Windows 10 (experimental)
93+
* Windows Subsystem for Linux (WSL) on Windows 10/11 (experimental)
9494

9595
**Free and Open Source Software**
9696
* security and functionality can be audited independently
@@ -128,9 +128,9 @@ Now doing another backup, just to show off the great deduplication::
128128
-----------------------------------------------------------------------------
129129

130130

131-
For a graphical frontend refer to our complementary project `BorgWeb <https://borgweb.readthedocs.io/>`_.
131+
For a graphical frontend, refer to our complementary project `BorgWeb <https://borgweb.readthedocs.io/>`_.
132132

133-
Helping, Donations and Bounties, becoming a Patron
133+
Helping, donations and bounties, becoming a Patron
134134
--------------------------------------------------
135135

136136
Your help is always welcome!
@@ -144,17 +144,17 @@ https://www.borgbackup.org/support/fund.html
144144
Links
145145
-----
146146

147-
* `Main Web Site <https://borgbackup.readthedocs.org/>`_
147+
* `Main website <https://borgbackup.readthedocs.io/>`_
148148
* `Releases <https://github.com/borgbackup/borg/releases>`_,
149149
`PyPI packages <https://pypi.python.org/pypi/borgbackup>`_ and
150-
`ChangeLog <https://github.com/borgbackup/borg/blob/master/docs/changes.rst>`_
151-
* `Offline Documentation <https://readthedocs.org/projects/borgbackup/downloads>`_
150+
`Changelog <https://github.com/borgbackup/borg/blob/master/docs/changes.rst>`_
151+
* `Offline documentation <https://readthedocs.org/projects/borgbackup/downloads>`_
152152
* `GitHub <https://github.com/borgbackup/borg>`_ and
153-
`Issue Tracker <https://github.com/borgbackup/borg/issues>`_.
154-
* `Web-Chat (IRC) <https://web.libera.chat/#borgbackup>`_ and
155-
`Mailing List <https://mail.python.org/mailman/listinfo/borgbackup>`_
156-
* `License <https://borgbackup.readthedocs.org/en/stable/authors.html#license>`_
157-
* `Security contact <https://borgbackup.readthedocs.io/en/latest/support.html#security-contact>`_
153+
`Issue tracker <https://github.com/borgbackup/borg/issues>`_.
154+
* `Web chat (IRC) <https://web.libera.chat/#borgbackup>`_ and
155+
`Mailing list <https://mail.python.org/mailman/listinfo/borgbackup>`_
156+
* `License <https://borgbackup.readthedocs.io/en/stable/authors.html#license>`_
157+
* `Security contact <https://borgbackup.readthedocs.io/en/stable/support.html#security-contact>`_
158158

159159
Compatibility notes
160160
-------------------
@@ -175,15 +175,15 @@ see ``docs/support.rst`` in the source distribution).
175175

176176
.. |doc| image:: https://readthedocs.org/projects/borgbackup/badge/?version=stable
177177
:alt: Documentation
178-
:target: https://borgbackup.readthedocs.org/en/stable/
178+
:target: https://borgbackup.readthedocs.io/en/stable/
179179

180-
.. |build| image:: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=master
181-
:alt: Build Status (master)
180+
.. |build| image:: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=1.4-maint
181+
:alt: Build Status (1.4-maint)
182182
:target: https://github.com/borgbackup/borg/actions
183183

184-
.. |coverage| image:: https://codecov.io/github/borgbackup/borg/coverage.svg?branch=master
184+
.. |coverage| image:: https://codecov.io/github/borgbackup/borg/coverage.svg?branch=1.4-maint
185185
:alt: Test Coverage
186-
:target: https://codecov.io/github/borgbackup/borg?branch=master
186+
:target: https://codecov.io/github/borgbackup/borg?branch=1.4-maint
187187

188188
.. |screencast_basic| image:: https://asciinema.org/a/133292.png
189189
:alt: BorgBackup Basic Usage

README_WINDOWS.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
Borg Native on Windows
1+
Borg native on Windows
22
======================
33

4-
Running borg natively on windows is in a early alpha stage. Expect many things to fail.
5-
Do not use the native windows build on any data which you do not want to lose!
4+
Running Borg natively on Windows is in an early alpha stage. Expect many things to fail.
5+
Do not use the native Windows build on any data that you do not want to lose!
66

77
Build Requirements
88
------------------
99

1010
- VC 14.0 Compiler
11-
- OpenSSL Library v1.1.1c, 64bit (available at https://github.com/python/cpython-bin-deps)
12-
Please use the `win-download-openssl.ps1` script to download and extract the library to
11+
- OpenSSL Library v1.1.1c, 64-bit (available at https://github.com/python/cpython-bin-deps)
12+
Use the `win-download-openssl.ps1` script to download and extract the library to
1313
the correct location. See also the OpenSSL section below.
14-
- Patience and a lot of coffee / beer
14+
- Patience and a lot of coffee/beer
1515

1616
What's working
1717
--------------
1818

1919
.. note::
2020
The following examples assume that the `BORG_REPO` and `BORG_PASSPHRASE` environment variables are set
21-
if the repo or passphrase is not explicitly given.
21+
when the repository or passphrase is not explicitly provided.
2222

2323
- Borg does not crash if called with ``borg``
24-
- ``borg init --encryption repokey-blake2 ./demoRepo`` runs without an error/warning.
25-
Note that absolute paths only work if the protocol is explicitly set to file://
24+
- ``borg init --encryption repokey-blake2 ./demoRepo`` runs without errors or warnings.
25+
Note that absolute paths only work if the protocol is explicitly set to ``file://``
2626
- ``borg create ::backup-{now} D:\DemoData`` works as expected.
2727
- ``borg list`` works as expected.
28-
- ``borg extract --strip-components 1 ::backup-XXXX`` works.
29-
If absolute paths are extracted, it's important to pass ``--strip-components 1`` as
28+
- ``borg extract --strip-components 1 ::backup-XXXX`` works.
29+
If absolute paths are extracted, it is important to pass ``--strip-components 1``,
3030
otherwise the data is restored to the original location!
3131

3232
What's NOT working
3333
------------------
3434

35-
- Extracting a backup which was created on windows machine on a non windows machine will fail.
36-
- And many things more.
35+
- Extracting a backup created on a Windows machine on a non-Windows machine will fail.
36+
- Many other things.
3737

3838

3939
OpenSSL, Windows and Python
4040
---------------------------
4141
Windows does not ship OpenSSL by default, so we need to get the library from somewhere else.
42-
However, a default python installation does include `libcrypto` which is required by borg.
43-
The only things which are missing to build borg are the header and `*.lib` files.
44-
Luckily the python developers provide all required files in a separate repository.
42+
However, a default Python installation does include `libcrypto`, which is required by Borg.
43+
The only things missing to build Borg are the header and `*.lib` files.
44+
Luckily, the Python developers provide all required files in a separate repository.
4545
The `win-download-openssl.ps1` script can be used to download the package from
4646
https://github.com/python/cpython-bin-deps and extract the files to the correct location.
47-
For Anaconda, the required libraries can be installed with `conda install -c anaconda openssl`.
47+
For Anaconda, the required libraries can be installed with ``conda install -c anaconda openssl``.
4848

Vagrantfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ $wmem = $xdistn * 256 # give the VM additional memory for workers [MB]
1010
def packages_debianoid(user)
1111
return <<-EOF
1212
export DEBIAN_FRONTEND=noninteractive
13-
# this is to avoid grub asking about which device it should install to:
13+
# This is to avoid GRUB asking which device it should install to:
1414
echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
1515
apt-get -y -qq update
1616
apt-get -y -qq dist-upgrade
17-
# for building borgbackup and dependencies:
17+
# For building BorgBackup and dependencies:
1818
apt install -y libssl-dev libacl1-dev liblz4-dev libzstd-dev libxxhash-dev pkg-config
1919
apt install -y libfuse-dev fuse || true
2020
apt install -y libfuse3-dev fuse3 || true
2121
apt install -y locales || true
22-
# we need to give the prefix to support debian buster (no libxxhash.pc for pkg-config there):
22+
# We need to give the prefix to support Debian Buster (no libxxhash.pc for pkg-config there):
2323
echo 'export BORG_LIBXXHASH_PREFIX=/usr' >> ~vagrant/.bash_profile
2424
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
2525
usermod -a -G fuse #{user}
@@ -38,7 +38,7 @@ def packages_freebsd
3838
hostname freebsd
3939
# install all the (security and other) updates, base system
4040
freebsd-update --not-running-from-cron fetch install
41-
# for building borgbackup and dependencies:
41+
# For building BorgBackup and dependencies:
4242
pkg install -y liblz4 zstd pkgconf
4343
pkg install -y fusefs-libs || true
4444
pkg install -y fusefs-libs3 || true

0 commit comments

Comments
 (0)