Skip to content

Commit

Permalink
Merge pull request #7711 from ThomasWaldmann/doc-updates-master
Browse files Browse the repository at this point in the history
doc updates (master)
  • Loading branch information
ThomasWaldmann committed Jul 6, 2023
2 parents 29d73f4 + 8db8fd6 commit e63775a
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 22 deletions.
14 changes: 7 additions & 7 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,9 @@ follow their `guide about avoiding ruining git blame`_:
Continuous Integration
----------------------

All pull requests go through `GitHub Actions`_, which runs the tests on Linux
and Mac OS X as well as the flake8 style checker. Windows builds run on AppVeyor_,
while additional Unix-like platforms are tested on Golem_.
All pull requests go through `GitHub Actions`_, which runs the tests on misc.
Python versions and on misc. platforms as well as some additional checks.

.. _AppVeyor: https://ci.appveyor.com/project/borgbackup/borg/
.. _Golem: https://golem.enkore.de/view/Borg/
.. _GitHub Actions: https://github.com/borgbackup/borg/actions

Output and Logging
Expand Down Expand Up @@ -352,6 +349,8 @@ Checklist:
scripts/upload-pypi X.Y.Z test
scripts/upload-pypi X.Y.Z

Note: the signature is not uploaded to PyPi any more, but we upload it to
github releases.
- Put binaries into dist/borg-OSNAME and sign them:

::
Expand All @@ -370,9 +369,10 @@ Checklist:

- Create a GitHub release, include:

* pypi dist package and signature
* Standalone binaries (see above for how to create them).

+ For OS X, document the OS X Fuse version in the README of the binaries.
OS X FUSE uses a kernel extension that needs to be compatible with the
+ For macOS, document the macFUSE version in the README of the binaries.
macFUSE uses a kernel extension that needs to be compatible with the
code contained in the binary.
* A link to ``CHANGES.rst``.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ the installed ``openssl`` formula, point pkg-config to the correct path::

PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" pip install borgbackup[llfuse]

For OS X Catalina and later, be aware that you must authorize full disk access.
Be aware that for all recent macOS releases you must authorize full disk access.
It is no longer sufficient to run borg backups as root. If you have not yet
granted full disk access, and you run Borg backup from cron, you will see
messages such as::
Expand Down
5 changes: 2 additions & 3 deletions docs/internals/data-structures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,7 @@ The *tam* key is part of the :ref:`tertiary authentication mechanism <tam_descri
the manifest, since an ID check is not possible.

*config* is a general-purpose location for additional metadata. All versions
of Borg preserve its contents (it may have been a better place for *item_keys*,
which is not preserved by unaware Borg versions, releases predating 1.0.4).
of Borg preserve its contents.

Feature flags
+++++++++++++
Expand Down Expand Up @@ -793,7 +792,7 @@ For small hash tables, we start with a growth factor of 2, which comes down to

E.g. backing up a total count of 1 Mi (IEC binary prefix i.e. 2^20) files with a total size of 1TiB.

a) with ``create --chunker-params buzhash,10,23,16,4095`` (custom, like borg < 1.0):
a) with ``create --chunker-params buzhash,10,23,16,4095`` (custom):

mem_usage = 2.8GiB

Expand Down
3 changes: 1 addition & 2 deletions docs/usage/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ Examples
$ fusermount -u sshfs-mount

# Make a big effort in fine granular deduplication (big chunk management
# overhead, needs a lot of RAM and disk space, see formula in internals
# docs - same parameters as borg < 1.0):
# overhead, needs a lot of RAM and disk space, see formula in internals docs):
$ borg create --chunker-params buzhash,10,23,16,4095 small /smallstuff

# Backup a raw device (must not be active/in use/mounted at that time)
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/general/file-metadata.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ On some platforms additional features are supported:
+=========================+==========+===========+============+
| Linux | Yes | Yes | Yes [1]_ |
+-------------------------+----------+-----------+------------+
| Mac OS X | Yes | Yes | Yes (all) |
| macOS | Yes | Yes | Yes (all) |
+-------------------------+----------+-----------+------------+
| FreeBSD | Yes | Yes | Yes (all) |
+-------------------------+----------+-----------+------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/general/file-systems.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ and readable after one of the failures mentioned above occurred, run
- At least three directory levels with short names
- Typically, file sizes up to a few hundred MB.
Large repositories may require large files (>2 GB).
- Up to 1000 files per directory (10000 for repositories initialized with Borg 1.0)
- Up to 1000 files per directory.
- rename(2) / MoveFile(Ex) should work as specified, i.e. on the same file system
it should be a move (not a copy) operation, and in case of a directory
it should fail if the destination exists and is not an empty directory,
Expand Down
8 changes: 3 additions & 5 deletions docs/usage/notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,7 @@ Separate compaction
~~~~~~~~~~~~~~~~~~~

Borg does not auto-compact the segment files in the repository at commit time
(at the end of each repository-writing command) any more.

This is new since borg 1.2.0 and requires borg >= 1.2.0 on client and server.
(at the end of each repository-writing command) any more (since borg 1.2.0).

This causes a similar behaviour of the repository as if it was in append-only
mode (see below) most of the time (until ``borg compact`` is invoked or an
Expand Down Expand Up @@ -236,7 +234,7 @@ in ``.ssh/authorized_keys``:
command="borg serve --append-only ..." ssh-rsa <key used for not-always-trustable backup clients>
command="borg serve ..." ssh-rsa <key used for backup management>

Running ``borg init`` via a ``borg serve --append-only`` server will *not* create
Running ``borg rcreate`` via a ``borg serve --append-only`` server will *not* create
an append-only repository. Running ``borg rcreate --append-only`` creates an append-only
repository regardless of server settings.

Expand Down Expand Up @@ -276,7 +274,7 @@ with file 6::

That's all to do in the repository.

If you want to access this rollbacked repository from a client that already has
If you want to access this rolled back repository from a client that already has
a cache for this repository, the cache will reflect a newer repository state
than what you actually have in the repository now, after the rollback.

Expand Down
2 changes: 1 addition & 1 deletion src/borg/testsuite/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_utils(self):
self.assert_equal(acl_use_local_uid_gid(b"group:root:rw-:0"), b"group:0:rw-")


@unittest.skipUnless(sys.platform.startswith("darwin"), "OS X only test")
@unittest.skipUnless(sys.platform.startswith("darwin"), "macOS only test")
@unittest.skipIf(fakeroot_detected(), "not compatible with fakeroot")
class PlatformDarwinTestCase(BaseTestCase):
def setUp(self):
Expand Down
2 changes: 1 addition & 1 deletion src/borg/xattr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""A basic extended attributes (xattr) implementation for Linux, FreeBSD and MacOS X."""
"""A basic extended attributes (xattr) implementation for Linux, FreeBSD and macOS."""

import errno
import os
Expand Down

0 comments on commit e63775a

Please sign in to comment.