TW
257628b7d8
Merge pull request #5365 from ThomasWaldmann/upgrade-xxhash
...
upgrade bundled xxhash to 0.8.0, fixes #5362
2020-09-29 13:19:18 +02:00
TW
3a96381fc5
Merge pull request #5364 from ThomasWaldmann/vagrant-fixes-master
...
vagrant: install gcc-7 on openindiana
2020-09-29 12:25:04 +02:00
Thomas Waldmann
24e89dd1aa
upgrade bundled xxhash to 0.8.0, fixes #5362
2020-09-29 12:11:38 +02:00
Thomas Waldmann
0d311082a1
vagrant: install gcc-7 on openindiana
...
otherwise it does not find the C compiler.
also: add a note that we want to have python-37 package (in a comment,
because it is already preinstalled in our base VM image).
2020-09-29 11:26:53 +02:00
TW
83a157266a
Merge pull request #5357 from ThomasWaldmann/docs-prune-add-double-force
...
docs: mention double --force in prune docs
2020-09-28 00:41:23 +02:00
Thomas Waldmann
90aef3bfcc
docs: mention double --force in prune docs
2020-09-27 23:57:30 +02:00
Thomas Waldmann
8d1ae6f0f7
Revert "add double force"
...
This reverts commit 6fac203d86
.
Fix was applied to an autogenerated file,
it needs to be applied to the builtin help of the borg code.
2020-09-27 23:46:45 +02:00
TW
2f70bfb868
Merge pull request #5356 from oxiedi/update-shell-completions
...
Update shell completions
2020-09-27 21:34:27 +02:00
oxiedi
a887ed16c7
Update shell completions
2020-09-27 22:59:38 +05:00
TW
b66cad427e
Merge pull request #5341 from oxiedi/fix-zsh-completion-issues
...
Fix a few issues in zsh completion
2020-09-26 20:09:42 +02:00
TW
d050b70130
Merge pull request #5345 from ThomasWaldmann/drop-py35
...
drop python 3.5, fixes #5344
2020-09-26 00:37:38 +02:00
Aleksey Korol
aef5e89126
Add ssh-agent pull backup method to doc ( #5288 )
...
deployment docs: add ssh-agent pull backup method
Co-authored-by: Король Алексей <a.korol@npp-crts.ru> (main work)
Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2020-09-25 14:20:29 +02:00
Thomas Waldmann
1a8f5d27ab
drop python 3.5, fixes #5344
...
py35 is EOL.
2020-09-25 02:13:43 +02:00
oxiedi
78487082ca
Fix a few issues in zsh completion
...
Namely:
- add tags to all untagged contexts;
- don't leak $debug_commands;
- plus some cosmetic changes.
2020-09-24 00:07:17 +05:00
TW
05b965dbfd
Merge pull request #5302 from m3nu/issue/5185/macos-folder-bin
...
Build directory-based binary for macOS to avoid Gatekeeper delays.
2020-09-23 13:25:32 +02:00
TW
47446f2043
Merge pull request #5330 from ThomasWaldmann/better-error-msg-large-archive
...
prettier error message when archive gets too big, fixes #5307
2020-09-22 12:22:29 +02:00
TW
f928747ff7
Merge pull request #5329 from ThomasWaldmann/fix-recover-segment-master
...
check --repair: fix potential data loss (master)
2020-09-08 21:28:02 +02:00
Thomas Waldmann
0839ac3034
prettier error message when archive gets too big, fixes #5307
2020-09-08 21:00:27 +02:00
Thomas Waldmann
bf8706b741
fixup: invert nesting of context managers
...
cleaner teardown of contexts:
close mmap, close src_fd (reading), close dst_fd (and rename)
maybe it was not a real problem to rename a still open-for-reading / mmapped file,
but in any case it is cleaner like now.
2020-09-08 18:26:03 +02:00
Thomas Waldmann
b198160257
check --repair: fix potential data loss, fixes #5325
...
We already have used SaveFile context manager since long at other places.
By using it, the original segment file stays in place until recovery of it
is completed (writing/syncing into *.tmp).
On successful completion, .tmp is renamed over original + dir syncing.
If aborted by some exception, including Ctrl-C, the original file is unmodified.
2020-09-08 18:25:36 +02:00
Manu
b023610c8c
Build directory-based binary for macOS to avoid Gatekeeper delays.
2020-09-08 12:31:47 +08:00
TW
e70e49f47e
Merge pull request #5323 from nod0n/patch-1
...
fix typo
2020-09-03 18:04:38 +02:00
nod0n
c8efc4a944
fix typo
2020-09-03 17:12:54 +02:00
TW
1860a33101
Merge pull request #5309 from dysnix/docs-prune-add-double-force
...
Update prune docs to mention double force
2020-08-25 21:11:45 +02:00
Alex Vorona
6fac203d86
add double force
2020-08-25 21:27:18 +03:00
TW
d2a4b84dd3
Merge pull request #5304 from m3nu/issue/5185/add-brew-core
...
Update Homebrew install instructions. See #5185
2020-08-18 20:48:18 +02:00
Manu
e632f2659e
Update Homebrew install instructions. See #5185
2020-08-18 23:55:37 +08:00
TW
38c2380281
Merge pull request #5298 from ThomasWaldmann/2020
...
it's 2020
2020-08-13 22:08:33 +02:00
Thomas Waldmann
45780d87b1
it's 2020
2020-08-13 22:07:02 +02:00
TW
e15f754451
Merge pull request #5280 from viq/patch-1
...
[Docs] Notes about borg cache workaround
2020-08-03 23:19:24 +02:00
viq
e00ffabd10
Better description of how cache and rebuilds of it work
...
and how the workaround applies to that
2020-08-03 22:35:23 +02:00
SanskritFritz
8b30a76ae2
Support repositories in fish tab completion ( #5256 )
...
support repositories and ssh hosts in fish tab completion
2020-07-31 16:17:30 +02:00
TW
9d96d78d19
Merge pull request #5266 from fantasya-pbem/docs/5165_recreate-list-item-flags_master
...
docs: point to borg create --list item flags in recreate usage, fixes #5165
2020-07-30 12:12:17 +02:00
Thalian
78396bfc23
docs: point to borg create --list item flags in recreate usage, fixes #5165
2020-07-30 07:39:33 +02:00
TW
23528954c5
Merge pull request #5276 from pgerber/false
...
Stop relying on `false` exiting with status code 1
2020-07-29 14:50:28 +02:00
Peter Gerber
97f84a6cb2
Stop relying on false
exiting with status code 1
...
According to the manpage, it's only guaranteed to return with
an exit code indicating an error. However, the manpage is silent
on the exact code returned.
Likely fixes #5273 .
2020-07-29 06:12:08 +00:00
TW
85e6c0afd8
Merge pull request #5263 from ThomasWaldmann/persist-shadow-index
...
persist shadow_index in between borg runs, fixes #4830
2020-07-28 22:52:58 +02:00
Thomas Waldmann
7bfa766192
persist shadow_index in between borg runs, fixes #4830
...
in borg 1.1, compact_segments() was always run directly after some repo writing
operation (in same borg process). but now, only "borg compact" is used to compact
segments and it is a separate borg invocation (new process), so we need to persist
the shadow_index so we do not lose that information.
2020-07-28 21:15:56 +02:00
Thomas Waldmann
9bf030ef2c
add a test for hints persistence and behaviour, see #4830
2020-07-28 21:15:31 +02:00
TW
5ebde5cebc
Merge pull request #5272 from ThomasWaldmann/fix-locking-openindiana
...
fix locking on openindiana, fixes #5271
2020-07-26 18:17:54 +02:00
Thomas Waldmann
220d890f32
fix locking on openindiana, fixes #5271
...
OI rmdir gives errno 17 EEXIST when trying to remove a non-empty dir,
not ENOTEMPTY like other OSes.
Also: fix one error handler to also use a tuple-member check instead of "or".
2020-07-26 15:25:26 +02:00
TW
fcc71ffab0
Merge pull request #5255 from oxiedi/better-zsh-completion
...
Rewrite zsh completion.
2020-07-26 10:39:54 +02:00
oxiedi
9afad44894
don't complete $BORG_RECREATE_I_KNOW_WHAT_I_AM_DOING
2020-07-26 07:43:20 +05:00
TW
87ee4f1d80
Merge pull request #5267 from fantasya-pbem/docs/5180_stdin-and-caching_master
...
docs: add a note to create from stdin regarding files cache, fixes #5180
2020-07-25 21:04:17 +02:00
Thalian
528e507d21
docs: add a note to create from stdin regarding files cache, fixes #5180
2020-07-25 20:10:29 +02:00
TW
fc51522638
Merge pull request #5258 from fantasya-pbem/master
...
docs: add security faq explaining AES-CTR crypto issues, fixes #5254
2020-07-25 12:23:07 +02:00
Thalian
668a136794
docs: add security faq explaining AES-CTR crypto issues, fixes #5254
2020-07-25 12:12:32 +02:00
oxiedi
2b869256a2
Rewrite Zsh completion.
...
The new completion provides:
- completion for almost all optional and positional arguments;
- completion for Borg environment variables (parameters).
2020-07-24 22:52:50 +05:00
TW
303c11f245
rephrase some warnings, fixes #5164 ( #5241 )
...
rephrase some warnings, fixes #5164
borg check --repair and borg recreate are now present in the code since rather long, so they are not experimental any more.
borg recreate might be used wrongly (e.g. accidentally excluding everything / not matching anything when recreating an archive). added some warning words in the docs, but it will not ask for confirmation any more.
borg check: there might be kinds of corruption borg check --repair can not fix and it might make things even worse while trying to fix. so this will still ask for confirmation, just with different wording.
2020-07-10 19:26:18 +02:00
TW
9b8ba5f6f7
Merge pull request #4954 from alfredo08154711/issue-lockmigr
...
Fixed lock migration, issue #4953
2020-07-10 00:44:04 +02:00