Thomas Waldmann
42fb25d4a7
docs: use same phrasing in misc. help texts
2022-02-07 21:40:15 +01:00
bobthebadguy
45df345d29
Clarify usage of patternfile roots ( #6242 )
2022-02-07 20:53:25 +01:00
TW
713efb5704
Merge pull request #6260 from hexagonrecursion/patch-1
...
Add hexagon-recursion to AUTHORS (master)
2022-02-07 20:17:39 +01:00
Andrey Bienkowski
3b5aab9e3d
Add hexagon-recursion to AUTHORS
2022-02-07 07:29:55 +00:00
TW
8c95dd46e3
Merge pull request #6257 from ThomasWaldmann/upgrade-docs
...
docs: add borg 1.2 upgrade notes, fixes #6217
2022-02-06 23:17:21 +01:00
Thomas Waldmann
634b1e5a1a
docs: add borg 1.2 upgrade notes
2022-02-06 21:22:37 +01:00
TW
5fec0b8cb2
Merge pull request #6255 from ThomasWaldmann/docs-fixes-master
...
docs: indentation fixes (master)
2022-02-06 15:30:49 +01:00
Thomas Waldmann
f0809cfeba
docs: rst markup: remove accidental indentation in patterns help
2022-02-06 00:47:33 +01:00
Thomas Waldmann
3f02d3cd3d
docs: rst markup: remove accidental indentation, fixes #6248
2022-02-06 00:44:51 +01:00
TW
d4eb9bbd35
Merge pull request #6243 from hexagonrecursion/test-keyfile
...
Test: borg init refuses to overwrite keyfile
2022-02-06 00:04:51 +01:00
TW
e336e74659
Merge pull request #6249 from borgbackup/rel120rc1
...
release 1.2.0 rc1
2022-02-05 23:05:44 +01:00
Andrey Bienkowski
e21343d2a8
Fix ArchiverTestCaseBinary.test_init_refuse_to_overwrite_keyfile
2022-02-05 22:32:09 +03:00
Andrey Bienkowski
29201a0eb5
Test: borg init refuses to overwrite keyfile
...
https://github.com/borgbackup/borg/pull/6046 neglected to
add a regression test
2022-02-05 22:32:09 +03:00
Thomas Waldmann
d6bfb1147c
appveyor: use py38
2022-02-05 18:04:47 +01:00
Thomas Waldmann
ef8aac2e4c
build_man
2022-02-05 17:52:25 +01:00
Thomas Waldmann
b430c8d15a
build_usage
2022-02-05 17:52:25 +01:00
Thomas Waldmann
55591b882e
setup_docs: put import-tar into same file as export-tar
2022-02-05 17:52:25 +01:00
Thomas Waldmann
fa26d5f7c4
update CHANGES
2022-02-05 17:45:35 +01:00
TW
cde1f491aa
Merge pull request #6246 from ThomasWaldmann/excl-broken-setuptools-master
...
setuptools 60.7.0 is incompatible with pyinstaller
2022-02-05 15:42:32 +01:00
Thomas Waldmann
209a9e786c
setuptools 60.7.0 is incompatible with pyinstaller
...
... even after fixes there.
2022-02-05 15:25:13 +01:00
TW
4fa9f1faa4
Merge pull request #6188 from hexagonrecursion/nonce
...
docs: impact of deleting path/to/repo/nonce
2022-02-05 13:31:07 +01:00
Andrey Bienkowski
6bc1f48e4e
Apply review suggestions
2022-02-05 09:07:13 +03:00
Andrey Bienkowski
d6c16d77cb
Review suggestion: mention local nonce path
...
> do we maybe also want to mention the specific path where the local
> nonce is kept?
2022-02-05 09:07:13 +03:00
Andrey Bienkowski
fab5024cb7
Doc: warn about tampered server nonce
...
https://github.com/borgbackup/borg/pull/6188#discussion_r794752672
> Well, guess one could also use max(list of trusted nonce values).
>
> The real issue is if you have lost all or some of the trusted
> (client side) nonce values and you also have reason to not trust the
> server side nonce, because someone might attack you on the server.
2022-02-05 09:07:13 +03:00
Andrey Bienkowski
62fe1cab30
Doc: impact of deleting path/to/repo/nonce
...
Fixes: https://github.com/borgbackup/borg/issues/5858
2022-02-05 09:07:04 +03:00
Andrey Bienkowski
4931eadd91
Refactor: extract get_security_dir()
2022-02-05 09:06:53 +03:00
Andrey Bienkowski
e663c9aa10
Strengthen the test: we can read data w/o nonces
2022-02-05 09:06:25 +03:00
Andrey Bienkowski
37dde58154
Add tests for path/to/repo/nonce deletion
...
I am about to add documentation for this feature. Per the "If you liked
it, you should have put a CI test on it" rule I am adding tests to
detect if the feature regresses (causing a discrepancy between the docs
and the real behavior).
2022-02-05 09:06:17 +03:00
TW
2197e94a31
Merge pull request #6241 from ThomasWaldmann/argparse-highlander-master
...
argument parsing: accept some options only once, fixes #6026
2022-02-04 22:33:16 +01:00
TW
b8ad7cd07a
Merge pull request #6235 from ThomasWaldmann/requirements-locked-master
...
add locked requirements (master)
2022-02-04 22:32:17 +01:00
Thomas Waldmann
c70788cef9
argument parsing: accept some options only once, fixes #6026
2022-02-04 22:08:09 +01:00
Thomas Waldmann
8363169031
vagrant: use requirements.d/development.lock.txt
2022-02-04 21:03:28 +01:00
Thomas Waldmann
02227f30ac
add requirements.d/development.lock.txt
2022-02-04 20:57:51 +01:00
TW
1a6437d8ca
Merge pull request #6046 from Killamus/fix_overwrite_keys
...
Disallow overwriting of existing keyfiles on init
2022-02-04 20:15:53 +01:00
Thomas Waldmann
7edba854b2
use create=True when creating new keys, fixes #6036
2022-02-04 19:33:45 +01:00
Thomas Waldmann
d299b8bc9c
KeyfileKeyBase: add create=False param to save method
...
If we create a new repo (and a new keyfile key, create=True),
there must not already exist a keyfile at the path/filename
where we want to write the new one.
In other use cases (e.g. if we overwrite a keyfile due
to the user changing their passphrase, create=False),
of course overwriting at the same path/fname is desired.
2022-02-04 19:33:45 +01:00
Andrey Bienkowski
9f311abd79
Doc: borg key export: add examples ( #6227 )
...
docs: borg key export: add examples
see: https://github.com/borgbackup/borg/issues/6204#issuecomment-1027150308
2022-02-04 18:37:33 +01:00
TW
f96e443975
Merge pull request #6223 from ThomasWaldmann/fix-codeql-master
...
do not use broken setuptools version
2022-02-02 05:45:29 +01:00
TW
495c6bb977
Merge pull request #6220 from ThomasWaldmann/fix-intermediate-commits
...
fix intermediate commits, shall be at end of segment
2022-02-02 05:30:34 +01:00
Thomas Waldmann
456bf4ce35
exclude buggy current setuptools release
...
see there: https://github.com/pypa/setuptools/issues/3063
2022-02-02 05:24:53 +01:00
Thomas Waldmann
925daf30b7
fix intermediate commits, shall be at end of segment
...
compact_segments produced separate 17b files for intermediate commits, although they were intended to be end-of-segment-file commits.
this is because when the intermediate commit is triggered, we are already at an offset beyond the limit.
thus needed to add the no_new flag to indicate that we do not want a new segment file just for the commit IF it is an intermediate commit.
2022-02-01 19:45:29 +01:00
TW
2b81943030
Merge pull request #6218 from ThomasWaldmann/better-errors-master
...
if ensure_dir() fails, give more informative error message, fixes #5952
2022-02-01 04:25:15 +01:00
Thomas Waldmann
79964d1a2b
if ensure_dir() fails, give more informative error message, fixes #5952
...
previously, it just said PermissionDenied with giving the filename/path.
2022-02-01 04:02:09 +01:00
TW
444ef02262
Merge pull request #6216 from ThomasWaldmann/cleanup-location-master
...
repo::archive location placeholder expansion fixes (master)
2022-01-31 22:54:20 +01:00
Thomas Waldmann
c4116b26c8
Location: fix bad naming: rename .orig -> .processed
...
- .raw is the unprocessed location (as given by user / env).
- .processed is the processed location (after placeholder replacement).
2022-01-31 21:55:12 +01:00
Thomas Waldmann
ad122e554a
repo::archive location placeholder expansion fixes, fixes #5826 , fixes #5998
...
- use expanded location for log output
- support placeholder expansion for BORG_REPO env var
- use Location.raw for the unprocessed, not expanded location string
2022-01-31 21:33:41 +01:00
TW
207db933e5
Merge pull request #6214 from ThomasWaldmann/docs-patterns-stable-master
...
docs updates about features not experimental any more
2022-01-31 21:22:07 +01:00
Thomas Waldmann
6c517e4c25
docs: FUSE "versions" view is not experimental any more
2022-01-31 21:01:49 +01:00
Thomas Waldmann
5d4dda75d3
docs: --pattern* not experimental any more, fixes #6134
2022-01-31 20:55:08 +01:00
TW
3a552b4c8b
Merge pull request #6209 from ThomasWaldmann/delete-repo-forced-master
...
delete --force: do not ask when deleting a repo, fixes #5941
2022-01-31 00:29:19 +01:00