Thomas Waldmann
18c9feb7e3
check msgpack version, terminate for unsupported versions
2019-02-03 03:54:41 +01:00
TW
422d9cf170
Merge pull request #4275 from ThomasWaldmann/fix-empty-segment-crash-master
...
recover_segment: handle too small segment files correctly, see #4272
2019-02-02 00:06:44 +01:00
TW
266fb02b9d
Merge pull request #4276 from ThomasWaldmann/fix-short-hostname
...
make "hostname" short, even on misconfigured systems, fixes #4262
2019-02-01 11:10:03 +01:00
Manuel Riel
9ab0a095ab
Add --rsh command line option to complement BORG_RSH env var. Fixes #… ( #4290 )
...
Add --rsh command line option to complement BORG_RSH env var. Fixes #1701
2019-01-31 13:54:17 +01:00
Manu
c3a882b509
Use f_frsize instead of f_bsize to calculate free space. Fixes #4289
2019-01-31 14:26:21 +08:00
Manu
e155822474
Quit with error message when no config key is provided. Fixes #4223
2019-01-30 11:31:53 +08:00
Thomas Waldmann
111c34f92e
make "hostname" short, even on misconfigured systems, fixes #4262
2019-01-29 19:51:51 +01:00
Thomas Waldmann
2c94d5ba58
recover_segment: handle too small segment files correctly, see #4272
...
nothing left to recover there, but at least we must not crash in mmap().
2019-01-29 19:21:51 +01:00
TW
2bcff382cb
Merge pull request #4247 from ThomasWaldmann/memoryview-cm
...
correctly release memoryview
2019-01-29 15:53:47 +01:00
Thomas Waldmann
b4c68de128
avoid diaper pattern in configparser by opening files, fixes #4263
...
this will fail early with correct error msg / exception traceback
if a config file is not readable.
2019-01-27 03:28:11 +01:00
Thomas Waldmann
78361744ea
keep "data" as is, use "d" for slices
...
so that the data.release() call is on the original memoryview and
also we can delete the last reference to a slice of it first.
2019-01-25 02:09:00 +01:00
Thomas Waldmann
2910d13055
use try/finally to ensure correct memoryview release
...
see #4243 .
2019-01-25 02:09:00 +01:00
Thomas Waldmann
02f3daebbe
use a contextmanager to ensure correct memoryview release
...
see #4243 .
2019-01-25 02:09:00 +01:00
Thomas Waldmann
2a981ba8eb
avoid breakage with msgpack 0.6.0+, keep old limits, fixes #4220
...
for the Unpacker class, our msgpack wrapper already enforced own
defaults (identical to msgpack < 0.6.0 defaults) - no problem there.
for the unpack and unpackb functions, this changeset enforces the
same defaults in the wrapper, overriding the msgpack 0.6.0+ new
defaults (which caused breakage as seen in #4220 ).
2019-01-05 22:54:35 +01:00
cornop
1dad7a39fd
Clarify the necessity to separately backup key in repokey mode ( #4237 )
...
clarify the necessity to separately backup key in repokey mode
2019-01-05 14:46:24 +01:00
Thomas Waldmann
ca6a7d1500
on linux, symlinks can't have ACLs, see #4044
...
(cherry picked from commit ca1928c925 )
2018-12-15 21:32:27 +01:00
Thomas Waldmann
2fe88c0efb
remove deprecated option: --no-files-cache
...
replaced by: --files-cache=disabled
2018-12-11 23:55:29 +01:00
Thomas Waldmann
d6a82acbc1
remove deprecated option: --ignore-inode
...
replaced by: --files-cache (without "inode")
2018-12-11 22:55:33 +01:00
Thomas Waldmann
c87393cab7
remove deprecated option: --list-format
...
replaced by: --format
2018-12-11 22:42:48 +01:00
Thomas Waldmann
933e82a49c
remove deprecated option: --keep-tag-files
...
replaced by: --keep-exclude-tags
2018-12-11 22:41:23 +01:00
Thomas Waldmann
7cd1b8151e
remove deprecated command: borg change-passphrase
...
replaced by: borg key change-passphrase
2018-12-11 22:36:39 +01:00
Thomas Waldmann
2be5446098
Revert "drop support for python 3.5, fixes #3919 "
...
This reverts commit 55314f807e .
2018-12-11 00:53:43 +01:00
Thomas Waldmann
65d8091245
invalid locations: give err msg containing parsed location, fixes #4179
2018-11-28 01:04:28 +01:00
Thomas Waldmann
e9ac9beef0
list repo: add placeholders for hostname and username, fixes #4130
...
also: use a more generic get_meta() access method to avoid duplication.
2018-11-27 23:56:07 +01:00
Thomas Waldmann
3d05a4b114
xattrs: linux does not allow user.* xattrs on symlinks
2018-11-16 23:15:04 +01:00
Thomas Waldmann
53971e8e79
xattr key names must start with user. on linux
...
... or the call will just error with "operation not supported"
2018-11-16 23:15:04 +01:00
Thomas Waldmann
d0a01c532e
pytest4 complains if we directly call the fixture function, fixes #4172
...
just added a normal function with the code, call it from fixture and
also from unittest test method.
2018-11-16 01:30:31 +01:00
ashmodei
f5bb776e77
Fixed wrong an archive's name pattern in CRUD benchmark help.
2018-11-12 17:01:47 +03:00
TW
b18122d596
Merge pull request #4164 from motwok/platform-refactor
...
remove posix issues and add fixups for unsupported methods. (ex. #4154 )
2018-11-11 14:25:30 +01:00
Emmo Emminghaus
e5c22eac0d
remove accidental change
2018-11-10 23:39:28 +01:00
Emmo Emminghaus
733a2bfa30
Introduce borg.platformflags.is_<os>
2018-11-10 23:34:43 +01:00
Emmo Emminghaus
973921df5a
remove unneded code and remarks, added needed except clause
2018-11-10 21:56:39 +01:00
Emmo Emminghaus
558ca61d20
remove posix issues and fixup for unsupported methodes
2018-11-10 21:48:46 +01:00
Emmo Emminghaus
b997d5ba5b
move code from borg.helpers.usergroup to borg.platform.posix
2018-11-10 21:43:45 +01:00
Ashmodei
6ca926d3bd
Added PATH::archive output for creation function on info log level. ( #4157 )
...
added repo::archive output for creation function on info log level, fixes #3561
2018-11-08 18:15:08 +01:00
motwok
78a3f2475e
Basic MSC Compatibility ( #4147 )
...
MSC Compatibility (Native Compile on Windows)
2018-11-03 18:52:54 +01:00
TW
08a03126b7
Merge pull request #4127 from motwok/master
...
c code portability fixes: issue #2677 and 2 more
2018-11-02 20:13:20 +01:00
Emmo Emminghaus
b2c3bc4d9e
removing accidental change
2018-11-02 14:10:23 +01:00
step21
19c269cdcf
Fixed link to cachedir spec in fs helper to address #4140
2018-10-31 14:05:49 +01:00
step21
0c99aee724
Fixed link to cachedir spec in docs to address #4140
2018-10-31 13:57:08 +01:00
step21
0d26ad3661
Explicitly convert environment variable to str to address #4136
2018-10-31 09:41:02 +01:00
step21
47490c79be
Moving the flags of the compiled regex to the front to fix #4137
2018-10-31 07:56:16 +01:00
motwok
6fde90b7f8
Merge pull request #1 from borgbackup/master
...
Update form upstream to fork
2018-10-29 21:39:01 +01:00
Thomas Waldmann
64a53ba43a
fixup: the help text is parsed as rst markup, so a lone * is an error
...
* and ** are interpreted as emphasis and need to be matched for begin
and end of emphasis. the \ in front of it is to get a non-markup *.
2018-10-29 13:53:40 +01:00
Thomas Waldmann
5c66a60f79
flake8: fix W605 (invalid escape sequences)
2018-10-29 12:36:07 +01:00
Thomas Waldmann
10cdadb2f8
flake8: fix F841
2018-10-29 12:36:03 +01:00
Emmo Emminghaus
718abfd6f8
cleanup void * in _hashindex.c (2nd)
2018-10-27 17:45:10 +02:00
Emmo Emminghaus
9d1276af04
cleanup void * in _hashindex.c
2018-10-27 17:34:25 +02:00
Emmo Emminghaus
f8ef6af454
hashindex: clean void* arithmetic up #2677
...
lowlevel: clean void* arithmetic up
unpack: repalce nonstandard false with 0
2018-10-24 21:40:05 +02:00
Manu
93b968cc35
Add argument storage_quota to forced_result. Avoids override by client.
2018-10-02 17:28:29 +08:00