edgimar
ed14181cc1
add test for preserved intermediate folder permissions ( #2477 )
...
This tests whether the permissions metadata is preserved when a folder is excluded but still recursed into to find a matching file in a subfolder.
2017-05-21 17:18:56 +02:00
Marian Beermann
e689d8f2f6
mount: check llfuse is installed before asking for passphrase
2017-05-21 11:24:09 +02:00
Marian Beermann
85aabeb9c7
testsuite: call setup_logging after destroying logging config
2017-05-20 22:55:17 +02:00
Marian Beermann
58edbe15f4
xattr: document API
2017-05-20 18:50:10 +02:00
Marian Beermann
c6309b148b
fuse: fix crash if empty (None) xattr is read
2017-05-20 18:50:10 +02:00
enkore
5db667881a
Merge pull request #2500 from enkore/issue/2487
...
Verify most operations against securitymanager
2017-05-20 16:00:49 +02:00
Marian Beermann
c23e1e28c6
use assert_secure for all commands that use the manifest
...
This already excludes the debug commands that we wouldn't want this on.
2017-05-20 14:58:17 +02:00
Marian Beermann
482b65eaea
cache: extract CacheConfig class
2017-05-20 14:58:17 +02:00
Marian Beermann
97e9603531
implement --debug-topic for remote servers
2017-05-20 12:55:03 +02:00
Marian Beermann
b3b555395c
remote: clarify remote log handling comments
2017-05-20 12:55:03 +02:00
Marian Beermann
5f4d97ff2b
remote: restore "Remote:" prefix (as used in 1.0.x)
2017-05-20 12:54:57 +02:00
Marian Beermann
18a2902c9c
rpc negotiate: enable v3 log protocol only for supported clients
...
avoid seeing JSON log output when a 1.1.0b<5 client talks to a
1.1.0b>6 server.
2017-05-20 12:54:48 +02:00
Marian Beermann
fc105b49b1
fix --progress and logging in general for remote
2017-05-20 12:54:48 +02:00
Marian Beermann
9778c103ef
serve: fix incorrect type of exception_short for Errors
2017-05-17 16:27:52 +02:00
Marian Beermann
042a4b960b
export-tar: test strip-components and hardlinks for partial export
2017-05-17 11:04:20 +02:00
Marian Beermann
293324810b
introduce popen_with_error_handling to handle common user errors
...
(without tracebacks)
2017-05-17 10:54:39 +02:00
enkore
52fab07b3b
Merge pull request #2510 from enkore/issue/2473
...
Add --debug-profile option
2017-05-17 00:10:14 +02:00
enkore
5788219ff4
borg export-tar ( #2519 )
2017-05-17 00:09:41 +02:00
Marian Beermann
6d6ae65be3
replace external script with "borg debug convert-profile"
2017-05-16 23:30:43 +02:00
Thomas Waldmann
d15c3f2d85
do not test logger name, fixes #2504
...
looks like PyInstaller modifies the module names.
2017-05-16 21:14:27 +02:00
Marian Beermann
a07463c96a
--debug-profile: use msgpack instead of marshal by default
2017-05-16 20:52:18 +02:00
Marian Beermann
4c441c75b1
Implement --debug-profile
2017-05-16 20:52:18 +02:00
Marian Beermann
c831985bba
CommonOptions: add unit test
2017-05-16 19:35:15 +02:00
Marian Beermann
150ace13cd
init: document --encryption as required
2017-05-16 19:05:54 +02:00
Marian Beermann
b9efdb2ce3
refactor CommonOptions as a reusable class
2017-05-15 17:16:44 +02:00
Marian Beermann
2ab5df0217
support common options on mid-level commands (borg *key* export)
2017-05-15 17:16:27 +02:00
Marian Beermann
d5edb011f0
support common options
2017-05-14 18:45:20 +02:00
enkore
820066da5d
Implement IntegrityCheckedFile ( #2502 )
...
Implement IntegrityCheckedFile
This is based on much earlier work from October 2016 by me, but is
overall simplified and changed terminology (from "signing" to
hashing and integrity checking).
See #1688 for the full history.
2017-05-12 21:38:31 +02:00
Marian Beermann
a16d81271a
key: add round-trip test
2017-05-12 20:49:17 +02:00
Marian Beermann
848df38d08
Rename Key.passphrase_protected -> logically_encrypted & document
2017-05-12 20:36:23 +02:00
Marian Beermann
cad49b844e
key: authenticated mode = not passphrase protected
2017-05-12 20:35:18 +02:00
enkore
9e6b8f67b9
serve: ignore --append-only when creating a repository ( #2501 )
2017-05-12 20:34:45 +02:00
enkore
6cd7d415ca
hashindex: Use Python I/O ( #2496 )
...
- Preparation for #1688 / #1101
- Support hash indices >2 GB
- Better error reporting
2017-05-09 21:30:14 +02:00
enkore
c805adc267
Merge pull request #2489 from enkore/issue/2169
...
consider repokey w/o passphrase == unencrypted
2017-05-08 08:57:15 +02:00
enkore
badc79c323
Merge pull request #2488 from enkore/issue/2439
...
list: --json-lines for archive contents
2017-05-07 22:31:58 +02:00
Marian Beermann
1daab244c6
testsuite.archiver: normalise pytest.raises vs. assert_raises
2017-05-07 22:21:40 +02:00
Marian Beermann
d964101eb5
consider repokey w/o passphrase == unencrypted
2017-05-07 22:13:49 +02:00
Marian Beermann
be9a94c22c
list: add test for handling of --json/--json-lines
2017-05-07 22:04:25 +02:00
TW
06a4e722a5
Merge pull request #2486 from enkore/f/common-progress
...
make --progress a common option
2017-05-06 23:08:42 +02:00
enkore
85df969c34
Merge pull request #2485 from enkore/issue/2469.2
...
fix --exclude and --exclude-from recursing into directories
2017-05-06 14:39:13 +02:00
Marian Beermann
a719097611
add test case for --log-json
2017-05-05 16:05:12 +02:00
Marian Beermann
2a22f93e44
list: JSON lines output for archive contents
2017-05-05 15:49:56 +02:00
Marian Beermann
bd8186f901
make --progress a common option
...
everything that touches the repository can take a long time and display
progress information, from compaction to replaying segments.
2017-05-05 15:12:23 +02:00
Marian Beermann
4d9fd6d13f
fix --exclude and --exclude-from recursing into directories
2017-05-05 14:55:01 +02:00
Marian Beermann
ba5d6693f9
--json: fix encryption[mode] not being the cmdline name
2017-05-05 14:38:21 +02:00
Marian Beermann
a976e11a63
create crypto package with key, keymanager, low_level
2017-05-02 20:49:27 +02:00
Marian Beermann
956b50b29c
move chunker to borg.algorithms
2017-05-02 19:15:01 +02:00
Marian Beermann
390aa76c72
move blake2 to borg/algorithms
2017-05-02 18:53:54 +02:00
Marian Beermann
fa381ffcbe
create package borg.algorithms with borg.algorithms.crc32 module
2017-05-02 18:53:54 +02:00
Marian Beermann
ef4cdfacae
patterns: use set literal instead of set([])
2017-05-01 22:20:34 +02:00