TW
908adb5f54
Merge pull request #5695 from ThomasWaldmann/improve-borg-check-logging-1.1
...
check: debug log segment filename
2021-02-15 22:00:46 +01:00
TW
641418d06d
Merge pull request #5693 from ThomasWaldmann/repo-fixes-1.1
...
Repo changes backport to 1.1-maint
2021-02-15 21:41:44 +01:00
TW
4a181f74a4
Merge pull request #5694 from ThomasWaldmann/misc-fixes-1.1
...
backport comment about archives.list() defaults
2021-02-15 21:40:27 +01:00
Thomas Waldmann
578b30e59d
check: debug log segment filename
2021-02-15 21:33:36 +01:00
Thomas Waldmann
f357c1b946
backport comment about archives.list() defaults
...
backport of comment from a77db94b01
2021-02-15 21:15:41 +01:00
Thomas Waldmann
36503c4e37
revert incorrect fix for put updating shadow_index, fixes #5661
...
A) the compaction code needs the shadow index only for this case:
segment A: PUT x, segment B: DEL x, with A < B (DEL shadows the PUT).
B) for the following case, we have no shadowing DEL (or rather: it does not matter,
because there is a PUT right after the DEL) and x is in the repo index,
thus the shadow_index is not needed for the special case in the compaction code:
segment A: PUT x, segment B: DEL x PUT x
see also PR #5636 .
reverts f079a83fed
and clarifies the code by more comments.
we keep the code deduplication of 5f32b5666a
and just add a update_shadow_index param to make it not look like there was
something accidentally forgotten, which was the whole reason for the reverted
"fix".
2021-02-15 20:50:08 +01:00
Thomas Waldmann
df11a67f96
fix updating shadow_index also in put
...
The shadow_index should be in same state after both of these sequences
(let's assume that A is not in repo yet for simplicity, but it does not matter):
a) explicit delete: put(A), delete(A), put(A), resulting in: PUT A, DEL A, PUT A repo contents
b) implicit delete: put(A), put(A), resulting in: PUT A, DEL A, PUT A repo contents
2021-02-15 20:49:34 +01:00
Thomas Waldmann
a8cf5582b0
deduplicate code of put and delete, no functional change
2021-02-15 20:49:21 +01:00
Thomas Waldmann
e9c1c408b5
remove empty shadowed_segments lists, fixes #5275
...
also:
- add test for removed empty shadowed_segments list
- add some comments
- add repo_dump test debug tool
note: this is the backport of #5614 to 1.1-maint - it needed some adaptions to fit into 1.1-maint:
1.1-maint always compacts when committing and does not persist shadow_index, so the tests are a bit different
2021-02-15 20:48:29 +01:00
TW
2428d9285d
Merge pull request #5690 from ThomasWaldmann/avoid-grub-install-issue-1.1
...
avoid grub-install asking interactively for device
2021-02-14 22:12:41 +01:00
Thomas Waldmann
69605435c3
avoid grub-install asking interactively for device
2021-02-14 22:10:01 +01:00
TW
b01819b3eb
Merge pull request #5689 from ThomasWaldmann/update-freebsd
...
upgrade FreeBSD VM to 11.4, pyinstaller to v4.2, fixes #5688
2021-02-14 21:09:26 +01:00
Thomas Waldmann
2108cadb73
upgrade FreeBSD VM to 11.4, pyinstaller to v4.2, fixes #5688
...
FreeBSD 10.x is not supported any more, the pkg sources are not
available any more, so our VM needed an upgrade.
so, we'll build borg 1.1.x binaries on FBSD 11.4 in future.
additionally, pyinstaller had some regression that is fixed by v4.2.
in v4.2-maint branch i added the FBSD bootloaders, which were missing
as usual.
2021-02-14 18:58:01 +01:00
TW
7158b72a1e
Merge pull request #5685 from m3nu/pr/macos-docs-5677
...
Update macOS install instructions (Backport to 1.1-maint)
2021-02-13 16:57:10 +01:00
Manu
15b9cfb50f
Update macOS install instructions
...
Backport of #5677
2021-02-12 08:34:19 +08:00
TW
9ecdf19b33
Merge pull request #5655 from SanskritFritz/1.1-maint
...
Tab completion support for additional archives for 'borg delete'
2021-01-31 22:05:59 +01:00
SanskritFritz
457d4e44bc
Efficiency fixes thanks to @oxiedi
2021-01-30 13:17:10 +01:00
TW
c20c9eb83a
Merge pull request #5664 from ThomasWaldmann/dump-hints-1.1
...
implement borg debug dump-hints
2021-01-29 17:14:02 +01:00
Thomas Waldmann
a30317161a
implement borg debug dump-hints
2021-01-29 17:00:29 +01:00
SanskritFritz
12a7458c5d
Tab completion support for additional archives for 'borg delete'
...
Bash and Fish tab completions now too support more than just one
archive provided for 'borg delete'.
2021-01-26 22:51:21 +01:00
TW
2da85bad4e
Merge pull request #5651 from rpolley/Update-docs-for-dev-environment-installation-instructions-#5643-1.1-maint-port
...
Update docs for dev environment installation instructions #5643 1.1-maint port
2021-01-26 00:16:27 +01:00
TW
797a30c26a
Merge pull request #5652 from rpolley/fix-grammar-in-faq-#5642-1.1-maint-port
...
fix grammar in faq 1.1-maint port
2021-01-26 00:15:16 +01:00
Ryan Polley
e16b0ceeb7
fix grammar in faq
2021-01-25 15:58:26 -06:00
Ryan Polley
f31a38e049
recomend running tests only on installed versions for setup
2021-01-25 15:52:48 -06:00
Ryan Polley
c49355ed39
add link back to git-installation
2021-01-25 15:48:44 -06:00
TW
9b3766674c
Merge pull request #5590 from ThomasWaldmann/rel1115
...
release 1.1.15
2020-12-25 10:20:45 +01:00
Thomas Waldmann
6916d1b3bc
use strerror(e.errno) to get verbose error msg
...
otherwise it is just like: [Errno NN] Exxxxx
2020-12-25 02:20:28 +01:00
Thomas Waldmann
586351e6fb
fix tests for new xattr exception handler, see #5583
2020-12-25 00:16:54 +01:00
Thomas Waldmann
d53ecb3ded
build_man
2020-12-24 22:35:58 +01:00
Thomas Waldmann
4e0a56d59a
build_usage
2020-12-24 22:35:33 +01:00
Thomas Waldmann
e5d6c9bd68
update CHANGES, set release date
2020-12-24 22:07:19 +01:00
TW
ebd59ab3b9
Merge pull request #5587 from oxiedi/update-shell-completions_1.1-maint
...
update shell completions
2020-12-24 19:21:41 +01:00
oxiedi
139807282d
update shell completions
2020-12-24 16:06:00 +05:00
TW
5f2c3cf48a
Merge pull request #5586 from ThomasWaldmann/docs-hardlinks
...
docs about hardlinks usage
2020-12-24 02:46:35 +01:00
Thomas Waldmann
62b07fdfe1
docs: add another case of attempted hardlink usage
2020-12-24 02:41:26 +01:00
Thomas Waldmann
d836429f6d
docs: fix description of borg upgrade hardlink usage, fixes #5518
2020-12-24 02:36:09 +01:00
TW
7db3cc0c17
Merge pull request #5583 from ThomasWaldmann/extract-xattr-eperm-1.1
...
extract: catch EPERM when setting xattrs, fixes #5092
2020-12-24 02:27:35 +01:00
TW
5cc9d03194
Merge pull request #5582 from ThomasWaldmann/cask-1.1
...
use brew install --cask ..., fixes #5557
2020-12-24 02:16:38 +01:00
Thomas Waldmann
db876a802c
use brew install --cask ..., fixes #5557
...
brew cask install ... is deprecated.
2020-12-24 02:15:57 +01:00
TW
f64cd67bef
Merge pull request #5580 from ThomasWaldmann/update-changes-1.1
...
update CHANGES
2020-12-23 00:03:50 +01:00
TW
3b51471bd4
Merge pull request #5584 from ypid/feature/https-everywhere-1.1-maint
...
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
2020-12-23 00:01:49 +01:00
Thomas Waldmann
120de386fa
refactor/dedup xattr exception handler
2020-12-22 23:02:48 +01:00
Thomas Waldmann
8875eb9d48
extract: add generic exception handler when setting xattrs, fixes #5092
...
emit a warning message giving the path, xattr key and error message.
also: continue trying to restore other xattrs and bsdflags afterwards
(it did not continue with this before this fix).
2020-12-22 22:39:27 +01:00
Robin Schneider
018c33025c
Comply with editorconfig insert_final_newline in paperkey.html
2020-12-22 22:35:11 +01:00
Robin Schneider
570a2318b9
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
...
Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter
```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```
A few changes were reset/fixed manually before the commit.
2020-12-22 22:35:10 +01:00
TW
f6a4fad327
Merge pull request #5581 from Gu1nness/5579-travis-usage
...
Remove .travis leftovers in 1.1-maint
2020-12-22 02:22:35 +01:00
Guinness
601788c3ae
Remove .travis leftovers in 1.1-maint
...
Fixes #5579
2020-12-21 12:12:35 +01:00
Thomas Waldmann
2174f85af5
update CHANGES
2020-12-20 01:27:54 +01:00
TW
0504642ec6
Merge pull request #5577 from ThomasWaldmann/fix-yield-fixture-deprecation
...
use pytest.fixture instead of yield_fixture, fixes #5575
2020-12-20 00:23:34 +01:00
Thomas Waldmann
e9c5e3e25c
use pytest.fixture instead of yield_fixture, fixes #5575
...
/vagrant/borg/borg/.tox/py36-none/lib/python3.6/site-packages/borg/testsuite/remote.py:73:
PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
Docs: https://docs.pytest.org/en/stable/warnings.html
2020-12-20 00:07:17 +01:00