Skip to content

Commit

Permalink
Merge pull request #5920 from ThomasWaldmann/rel1117
Browse files Browse the repository at this point in the history
release 1.1.17
  • Loading branch information
ThomasWaldmann authored Jul 12, 2021
2 parents 051b0bd + fdc0743 commit 8336b00
Show file tree
Hide file tree
Showing 36 changed files with 88 additions and 51 deletions.
11 changes: 6 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -299,17 +299,18 @@ def run_tests(boxname)
cd /vagrant/borg/borg
. ../borg-env/bin/activate
if which pyenv 2> /dev/null; then
# for testing, use the earliest point releases of the supported python versions:
pyenv global 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0 3.10-dev
pyenv local 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0 3.10-dev
# for testing, use the earliest point releases of the supported python versions.
# on some dists, 3.10-dev does not compile, so if pyenv fails due to this, try without 3.10.
pyenv global 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0 3.10-dev || pyenv global 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0
pyenv local 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0 3.10-dev || pyenv local 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0
fi
# otherwise: just use the system python
if which fakeroot 2> /dev/null; then
echo "Running tox WITH fakeroot -u"
fakeroot -u tox --skip-missing-interpreters -e py35,py36,py37,py38,py39
fakeroot -u tox --skip-missing-interpreters -e py35,py36,py37,py38,py39,py310
else
echo "Running tox WITHOUT fakeroot -u"
tox --skip-missing-interpreters -e py35,py36,py37,py38,py39
tox --skip-missing-interpreters -e py35,py36,py37,py38,py39,py310
fi
EOF
end
Expand Down
23 changes: 17 additions & 6 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ The best check that everything is ok is to run a dry-run extraction::
Changelog
=========

Version 1.1.17 (2021-07-xx)
Version 1.1.17 (2021-07-12)
---------------------------

Compatibility notes:
Expand All @@ -244,7 +244,7 @@ Compatibility notes:
In case you have scripts expecting rc == 2 for a signal exit, you need to
update them to check for >= 128 (as documented since long).
- 1.1.15 drops python 3.4 support, minimum requirement is 3.5 now.
- 1.1.17 install_requires now the "packaging" pypi package
- 1.1.17 install_requires the "packaging" pypi package now.

Fixes:

Expand All @@ -265,22 +265,25 @@ New features:
(sys+user) per borg command invocation.
- implement BORG_LIBC env variable to give the libc filename, #5870.
you can use this if a borg does not find your libc.
- check: add progress indicator for archive check
- check: add progress indicator for archive check.
- allow --files-cache=size (not recommended, make sure you know what you do)

Other changes:

- Python 3.10 now officially supported!
we test on py310-dev on github CI since a while and now also on the vagrant
machines, so it should work ok.
- github CI: test on py310 (again)
- get rid of distutils, use packaging and setuptools.
distutils is deprecated and gives warnings on py 3.10.
- setup.py: rename "clean" to "clean2" to avoid shadowing the "clean" command.
- remove libc filename fallback for the BSDs (there is no "usual" name)
- github CI: test on py310 (again)
- cleanup flake8 checks, fix some pep8 violations
- cleanup flake8 checks, fix some pep8 violations.
- docs building: replace deprecated function ".add_stylesheet()" for Sphinx 4 compatibility
- docs:

- add a hint on sleeping computer and ssh connections, #5301
- update the documentation on hacked backup client, #5480.
- update the documentation on hacked backup client, #5480
- improve docs/FAQ about append-only remote repos, #5497
- complement the documentation for pattern files and exclude files, #5520
- "filename with spaces" example added to exclude file, #5236
Expand All @@ -294,6 +297,14 @@ Other changes:
- pull mode: add some warnings, #5827
- mention tar --compare (compare archive to fs files), #5880
- fix typos, backport of #5597
- vagrant:

- add py3.7.11 for binary build, also add 3.10-dev.
- use latest Cython 0.29.23 for py310 compat fixes.
- more RAM for openindiana upgrade plan resolver, it just hangs (swaps?) if
there is too little RAM.
- fix install_pyenv to adapt to recent changes in pyenv (same as in master now).
- use generic/netbsd9 box, copied from master branch.

Version 1.1.16 (2021-03-23)
---------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-benchmark-crud.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-BENCHMARK-CRUD 1 "2021-03-22" "" "borg backup tool"
.TH BORG-BENCHMARK-CRUD 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-benchmark-crud \- Benchmark Create, Read, Update, Delete for archives.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-benchmark.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-BENCHMARK 1 "2021-03-22" "" "borg backup tool"
.TH BORG-BENCHMARK 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-benchmark \- benchmark command
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-break-lock.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-BREAK-LOCK 1 "2021-03-22" "" "borg backup tool"
.TH BORG-BREAK-LOCK 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-break-lock \- Break the repository lock (e.g. in case it was left by a dead borg.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-change-passphrase.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CHANGE-PASSPHRASE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-CHANGE-PASSPHRASE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-change-passphrase \- Change repository key file passphrase
.
Expand Down
12 changes: 11 additions & 1 deletion docs/man/borg-check.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CHECK 1 "2021-03-22" "" "borg backup tool"
.TH BORG-CHECK 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-check \- Check repository consistency
.
Expand Down Expand Up @@ -40,6 +40,11 @@ The check command verifies the consistency of a repository and the corresponding
check \-\-repair is a potentially dangerous function and might lead to data loss
(for kinds of corruption it is not capable of dealing with). BE VERY CAREFUL!
.sp
Pursuant to the previous warning it is also highly recommended to test the
reliability of the hardware running this software with stress testing software
such as memory testers. Unreliable hardware can also lead to data loss especially
when this command is run in repair mode.
.sp
First, the underlying repository data files are checked:
.INDENT 0.0
.IP \(bu 2
Expand Down Expand Up @@ -80,6 +85,11 @@ In repair mode, when all the archives were checked, orphaned chunks are deleted
from the repo. One cause of orphaned chunks are input file related errors (like
read errors) in the archive creation process.
.IP \(bu 2
In verify\-data mode, a complete cryptographic verification of the archive data
integrity is performed. This conflicts with \fB\-\-repository\-only\fP as this mode
only makes sense if the archive checks are enabled. The full details of this mode
are documented below.
.IP \(bu 2
If checking a remote repo via \fBssh:\fP, the archive check is executed on the
client machine because it requires decryption, and this is always done client\-side
as key access is needed.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-common.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-COMMON 1 "2021-03-22" "" "borg backup tool"
.TH BORG-COMMON 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-common \- Common options of Borg commands
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-compression.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-COMPRESSION 1 "2021-03-22" "" "borg backup tool"
.TH BORG-COMPRESSION 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-compression \- Details regarding compression
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-config.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CONFIG 1 "2021-03-22" "" "borg backup tool"
.TH BORG-CONFIG 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-config \- get, set, and delete values in a repository or cache config file
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-create.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CREATE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-CREATE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-create \- Create new archive
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-delete.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-DELETE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-DELETE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-delete \- Delete an existing repository or archives
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-diff.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-DIFF 1 "2021-03-22" "" "borg backup tool"
.TH BORG-DIFF 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-diff \- Diff contents of two archives
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-export-tar.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-EXPORT-TAR 1 "2021-03-22" "" "borg backup tool"
.TH BORG-EXPORT-TAR 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-export-tar \- Export archive contents as a tarball
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-extract.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-EXTRACT 1 "2021-03-22" "" "borg backup tool"
.TH BORG-EXTRACT 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-extract \- Extract archive contents
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-info.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-INFO 1 "2021-03-22" "" "borg backup tool"
.TH BORG-INFO 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-info \- Show archive details such as disk space used
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-init.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-INIT 1 "2021-03-22" "" "borg backup tool"
.TH BORG-INIT 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-init \- Initialize an empty repository
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-change-passphrase.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-CHANGE-PASSPHRASE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-KEY-CHANGE-PASSPHRASE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-key-change-passphrase \- Change repository key file passphrase
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-export.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-EXPORT 1 "2021-03-22" "" "borg backup tool"
.TH BORG-KEY-EXPORT 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-key-export \- Export the repository key for backup
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-import.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-IMPORT 1 "2021-03-22" "" "borg backup tool"
.TH BORG-KEY-IMPORT 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-key-import \- Import the repository key from backup
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-migrate-to-repokey.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-MIGRATE-TO-REPOKEY 1 "2021-03-22" "" "borg backup tool"
.TH BORG-KEY-MIGRATE-TO-REPOKEY 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-key-migrate-to-repokey \- Migrate passphrase -> repokey
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY 1 "2021-03-22" "" "borg backup tool"
.TH BORG-KEY 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-key \- Manage a keyfile or repokey of a repository
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-list.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-LIST 1 "2021-03-22" "" "borg backup tool"
.TH BORG-LIST 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-list \- List archive or repository contents
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-mount.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-MOUNT 1 "2021-03-22" "" "borg backup tool"
.TH BORG-MOUNT 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-mount \- Mount archive or an entire repository as a FUSE filesystem
.
Expand Down
10 changes: 5 additions & 5 deletions docs/man/borg-patterns.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-PATTERNS 1 "2021-03-22" "" "borg backup tool"
.TH BORG-PATTERNS 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-patterns \- Details regarding patterns
.
Expand Down Expand Up @@ -168,9 +168,9 @@ $ cat >exclude.txt <<EOF
/home/*/junk
*.tmp
fm:aa:something/*
re:^home/[^/]\e.tmp/
sh:home/*/.thumbnails
# Example with spaces, no need to escape as it is processed by borg
re:^/home/[^/]+\e.tmp/
sh:/home/*/.thumbnails
# Example with spaces, no need to escape as it is processed by borg
some file with spaces.txt
EOF
$ borg create \-\-exclude\-from exclude.txt backup /
Expand All @@ -190,7 +190,7 @@ with the prefix \-, an exclude\-norecurse rule starts with !, all followed by a
.INDENT 3.5
Via \fB\-\-pattern\fP or \fB\-\-patterns\-from\fP you can define BOTH inclusion and exclusion
of files using pattern prefixes \fB+\fP and \fB\-\fP\&. With \fB\-\-exclude\fP and
\fB\-\-exlude\-from\fP ONLY excludes are defined.
\fB\-\-exclude\-from\fP ONLY excludes are defined.
.UNINDENT
.UNINDENT
.sp
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-placeholders.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-PLACEHOLDERS 1 "2021-03-22" "" "borg backup tool"
.TH BORG-PLACEHOLDERS 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-placeholders \- Details regarding placeholders
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-prune.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-PRUNE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-PRUNE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-prune \- Prune repository archives according to specified rules
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-recreate.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-RECREATE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-RECREATE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-recreate \- Re-create archives
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-rename.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-RENAME 1 "2021-03-22" "" "borg backup tool"
.TH BORG-RENAME 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-rename \- Rename an existing archive
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-serve.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-SERVE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-SERVE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-serve \- Start in server mode. This command is usually not used manually.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-umount.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-UMOUNT 1 "2021-03-22" "" "borg backup tool"
.TH BORG-UMOUNT 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-umount \- un-mount the FUSE filesystem
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-upgrade.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-UPGRADE 1 "2021-03-22" "" "borg backup tool"
.TH BORG-UPGRADE 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-upgrade \- upgrade a repository from a previous version
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-with-lock.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-WITH-LOCK 1 "2021-03-22" "" "borg backup tool"
.TH BORG-WITH-LOCK 1 "2021-07-12" "" "borg backup tool"
.SH NAME
borg-with-lock \- run a user specified command with the repository lock held
.
Expand Down
Loading

0 comments on commit 8336b00

Please sign in to comment.