Thomas Waldmann
c12bcff30f
work around fuse xattr test issue with recent fakeroot
...
fakeroot >= 1.20.2 "supports" xattrs, but this support somehow leads to the fuse tests not seeing
the xattrs in fuse, because the file visible in the fuse mount was not created via fakeroot.
2016-08-25 02:09:04 +02:00
TW
d938cf44d7
Merge pull request #1529 from svx/1.0-maint
...
Addjust border color
2016-08-23 15:19:26 +02:00
sven
248ccf0149
Update borg.css
2016-08-23 15:01:39 +02:00
Thomas Waldmann
a7c370b5ed
add debug-info usage help file
2016-08-21 23:37:07 +02:00
enkore
ea14384dda
Merge pull request #1517 from ThomasWaldmann/reenable-remotearchiver-fuse-test
...
re-enable fuse tests for RemoteArchiver
2016-08-21 22:47:34 +02:00
enkore
725eaf28ce
Merge pull request #1518 from ThomasWaldmann/travis-fuse-testing
...
travis: test fuse-enabled borg
2016-08-21 22:32:06 +02:00
Thomas Waldmann
32bd29548b
travis: test fuse-enabled borg
2016-08-21 22:07:59 +02:00
Thomas Waldmann
7e80f6821d
use trusty for testing, to have a recent FUSE
2016-08-21 22:07:59 +02:00
Thomas Waldmann
273bd57cd8
re-enable fuse tests for RemoteArchiver
...
at some time they had deadlock issues, but it worked for me now.
2016-08-21 18:13:23 +02:00
TW
7501430c5d
Merge pull request #1514 from ThomasWaldmann/fix-typos
...
internals.rst: fix typos
2016-08-21 00:18:35 +02:00
Carlo Teubner
1c666222a7
internals.rst: fix typos
2016-08-21 00:15:56 +02:00
Thomas Waldmann
f32c8858ad
update CHANGES with description of issue #1428
2016-08-18 23:22:50 +02:00
Thomas Waldmann
dde18d6a76
security fix: --restrict-to-path must not accept pathes with same name prefix
...
bug: --restrict-to-path /foo erroneously allowed /foobar.
even worse: --restrict-to-path /foo/ erroneously allowed /foobar.
2016-08-18 22:40:50 +02:00
Thomas Waldmann
28cbf24815
more tests for --restrict-to-path
...
especially test that other directory names sharing same name prefix are not allowed.
2016-08-18 22:40:50 +02:00
TW
cba0c3dc59
Merge pull request #1483 from ThomasWaldmann/update-1.0-changes
...
WIP: update CHANGES (1.0-maint)
2016-08-18 22:17:18 +02:00
Thomas Waldmann
2aae0b17c6
update CHANGES
2016-08-18 22:15:30 +02:00
enkore
b124ec648a
Merge pull request #1492 from enkore/c/textshell/leaky-preload
...
(cherry pick) Fix leak in borg-extract --strip-components
2016-08-18 21:59:44 +02:00
Marian Beermann
b46713224b
Document DownloadPipeline.unpack_many precautions
2016-08-18 16:23:36 +02:00
TW
feb14de813
Merge pull request #1497 from enkore/issue/1490-2
...
Fix cosmetics + file leftover for "not a valid borg repository"
2016-08-18 15:27:14 +02:00
TW
0fb8f73367
Merge pull request #1503 from enkore/issue/1501
...
Cache: release lock if cache is invalid
2016-08-18 14:24:08 +02:00
Marian Beermann
ef13d392c7
Cache: release lock if cache is invalid
2016-08-18 12:26:14 +02:00
Marian Beermann
928f6e0ca4
repository: fix spurious, empty lock.roster on InvalidRepository exception
2016-08-18 00:54:12 +02:00
Marian Beermann
adaeb32cd4
Repository: fix repo not closed cleanly on InvalidRepository exception
2016-08-18 00:54:10 +02:00
Marian Beermann
8268e26c6b
extract: refactor filter building
2016-08-17 22:36:25 +02:00
Martin Hostettler
724586e965
Add test for preloading releated leaks on extract with --strip-components
2016-08-17 01:35:43 +02:00
Martin Hostettler
c84ad6b7b1
Archiver.do_extract: Fix leak of downloaded chunk contents caused by preloading
...
Include condition that path is non empty after applying strip_components into
filter passed to iter_items.
All filtering of files to extract must be done in the filter callable used in
archive.iter_items because iter_items will preload all chunks used in items
it returns. If they are not actually extracted the accumulate in the
responsed dict.
2016-08-17 01:35:35 +02:00
enkore
35a0ab2183
Merge pull request #1481 from ThomasWaldmann/debug-info
...
implement borg debug-info, fixes #1122
2016-08-16 01:21:19 +02:00
enkore
1bcf3d2317
Merge pull request #1482 from ThomasWaldmann/skip-noatime-test-hurd
...
skip the O_NOATIME test on GNU Hurd, fixes #1315
2016-08-16 01:20:14 +02:00
Thomas Waldmann
2a434c3928
skip the O_NOATIME test on GNU Hurd, fixes #1315
...
GNU Hurd needs to fix their O_NOATIME, after that we can
re-enable the test on that platform.
2016-08-15 22:49:38 +02:00
Thomas Waldmann
e50646a07b
implement borg debug-info, fixes #1122
...
In tracebacks we have it already, but with the command,
you can have it without a traceback also.
2016-08-15 19:20:51 +02:00
enkore
a0df0a9494
Merge pull request #1480 from ThomasWaldmann/clean-repo-release
...
use a clean repo to test / build the release
2016-08-15 17:35:39 +02:00
Thomas Waldmann
e3c155e75a
use a clean repo to test / build the release
2016-08-15 15:41:24 +02:00
TW
c19fb8b921
Merge pull request #1477 from borgbackup/1.0.7rc2rst
...
Fix changes.rst formatting, clarify changelog
2016-08-13 15:18:51 +02:00
enkore
17aacb9719
Fix changes.rst formatting, clarify changelog
2016-08-13 10:18:41 +02:00
TW
4712b9d133
Merge pull request #1474 from ThomasWaldmann/update-1.0-changes
...
update CHANGES
2016-08-13 02:24:32 +02:00
Thomas Waldmann
07b47ef4a5
update CHANGES
2016-08-13 02:23:40 +02:00
TW
a12672530c
Merge pull request #1448 from enkore/issue/1442
...
Fix untracked segments made by moved DELETEs
2016-08-13 02:13:27 +02:00
TW
feb7e2517e
Merge pull request #1472 from ThomasWaldmann/lz4-buffer
...
lz4 reusing helpers.Buffer
2016-08-13 02:13:11 +02:00
TW
df967722e3
Merge pull request #1471 from ThomasWaldmann/buffer
...
refactor buffer code into helpers.Buffer class
2016-08-13 02:02:34 +02:00
Marian Beermann
3b716f98ff
Add regression test for 95cf337
2016-08-13 01:47:51 +02:00
Marian Beermann
95cf337fa5
Fix untracked segments made by moved DELETEs
...
Fixes #1442
(note that the segments _still_ get generated, see the comment, they
should be collected now on the next compaction run)
2016-08-13 01:46:37 +02:00
Thomas Waldmann
e1bc7b62f6
lz4: reuse helpers.Buffer
2016-08-13 01:46:15 +02:00
Thomas Waldmann
ef9e8a584b
refactor buffer code into helpers.Buffer class, add tests
2016-08-13 01:45:23 +02:00
TW
00449ad7b0
Merge pull request #1470 from ThomasWaldmann/document-archive-limit
...
document archive limitation, #1452
2016-08-13 00:12:17 +02:00
TW
4e5b80bbd5
Merge pull request #1464 from ThomasWaldmann/fix-xattr-exception
...
xattr: dynamically grow result buffer until it fits, fixes #1462
2016-08-12 18:21:59 +02:00
Thomas Waldmann
3c7dddcb99
update changelog
2016-08-12 18:00:50 +02:00
Thomas Waldmann
c834b2969c
document archive limitation, #1452
2016-08-12 17:54:15 +02:00
Thomas Waldmann
8630ebf3f0
xattr: fix module docstring
2016-08-12 16:56:19 +02:00
Thomas Waldmann
b6ead3dce2
xattr: use some string processing functions, dedup, simplify
2016-08-12 16:56:19 +02:00
Thomas Waldmann
7ea052a5e8
xattr: buffer full check for freebsd
...
freebsd 10.2:
it does not give rc < 0 and errno == ERANGE if the buffer was too small,
like linux or mac OS X does.
rv == buffer len might be a signal of truncation.
rv > buffer len would be even worse
not sure if some implementation returns the total length of the data,
not just the amount put into the buffer.
but as we use the returned length to "truncate" the buffer, we better
make sure it is not longer than the buffer.
also: freebsd listxattr memoryview len bugfix
2016-08-12 16:56:19 +02:00