Marian Beermann
f0a32575a5
extract: --progress: no extra line for 'Calculating size'
2016-08-26 22:15:44 +02:00
Marian Beermann
517ccc2d58
ProgressIndicatorPercent: output(message) to override output
2016-08-26 22:15:29 +02:00
enkore
47404dfde5
Merge pull request #1526 from textshell/fix/preload-leak-hardlink
...
extract: When doing a partial restore don't leak prefetched chunks.
2016-08-26 22:06:48 +02:00
Thomas Waldmann
25fa443d2b
repo tests: convert some more byte literals to H(x)
2016-08-26 20:59:22 +02:00
Thomas Waldmann
1974824595
Merge branch '1.0-maint'
2016-08-26 20:47:23 +02:00
Marian Beermann
cd39ccb821
fix overeager storing of hardlink masters
...
n.b. we only need to store them for items that we wouldn't extract.
this also fixes an intersting edge case in extracting hard links
with --strip-components
2016-08-25 21:16:20 +02:00
TW
a6620f020e
Merge pull request #1531 from ThomasWaldmann/fix-fuse-xattr-fakeroot
...
work around fuse xattr test issue with recent fakeroot
2016-08-25 02:09:52 +02:00
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
Marian Beermann
b5d7f1df26
extract: fix incorrect progress output for hard links
...
this produces correct output if any (non proper) subset of hardlinks are
extracted.
2016-08-25 01:12:30 +02:00
TW
17bd6e0ef4
Merge pull request #1525 from textshell/fix/remote-manual-ssh
...
borg serve throws exception while trying to close when it gets eof at start
2016-08-24 14:09:06 +02:00
Martin Hostettler
549be2129a
RepositoryServer: Add error message when connection was closed before opening repo.
2016-08-24 08:32:04 +02:00
Martin Hostettler
79de73685b
remote: Change exception message for unexpected RPC data format to indicate dataflow direction
...
don't print stacktraces to clean up error messages when sshing into a forces command to borg serve.
2016-08-24 08:31:09 +02:00
TW
316ad336c7
Merge pull request #1523 from ThomasWaldmann/use-prebuilt-bootloader
...
Vagrant: pyinstaller: use pre-built linux bootloaders, fixes #1506
2016-08-24 00:24:33 +02:00
TW
b403a111fe
Merge pull request #1530 from ThomasWaldmann/simplify-repo-tests
...
Simplify repo/hashindex tests
2016-08-23 22:33:15 +02:00
Thomas Waldmann
93517ca30e
hashindex tests: use H(x) instead of some similar constructs
...
note: hash values needed updating because H(x) formats differently.
2016-08-23 21:29:40 +02:00
Thomas Waldmann
0da0914955
repo tests: use H(x) instead of some similar constructs
2016-08-23 21:29:40 +02:00
Thomas Waldmann
ddb1c60964
repo tests: use H(x) instead of byte literals
2016-08-23 21:29:40 +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
TW
a54205d696
Merge pull request #1528 from svx/master
...
Addjust border color
2016-08-23 14:55:56 +02:00
sven
ff04c059b7
Addjust border color
...
This changes the border-color to match with the background-color
2016-08-23 14:27:26 +02:00
Martin Hostettler
b845a074cb
tests: TestBuildFilter: Adjust from item_is_hardlink_master to peek_and_store_hardlink_masters.
2016-08-22 23:36:43 +02:00
Martin Hostettler
a026febdb0
Archiver.build_filter: strip_components is no longer a optional parameter.
2016-08-22 23:07:38 +02:00
Martin Hostettler
972392e290
extract: When doing a partial restore don't leak prefetched chunks.
...
The filter function passed to iter_items (with preload=True) may never return True for items that
are not really extracted later because that would leak prefetched items.
For restoring hard linked files the item containing the actual chunks might not be matched
or implicitly removed from the restore by strip_components. For this reason the chunk list or all
items that can potentially be used as hardlink target needs to be stored.
To achive both requirements at the same time the filter function needs to store the needed information
for the hardlinks while not returning True just because it could be a hardlink target.
Known problems: When using progress indication the calculated extracted_size now can be smaller
than the actual extracted size in presence of hard links (master is not restored) instead of
bigger (potential master not used in restore).
2016-08-22 22:58:58 +02:00
Martin Hostettler
484c091c62
RepositoryServer: Don‘t try to close the repository if it was not yet opened.
2016-08-22 19:48:39 +02:00
Thomas Waldmann
2cfd905347
Vagrant: pyinstaller: use pre-built linux bootloaders, fixes #1506
2016-08-22 18:49:03 +02:00
TW
e0b8635098
Merge pull request #1521 from ThomasWaldmann/fix-coverage
...
fix .coverage processing
2016-08-22 01:37:43 +02:00
Thomas Waldmann
85311f0116
fix .coverage processing
2016-08-22 01:15:03 +02:00
enkore
3f5f27fbfe
Merge pull request #1520 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0 maint
2016-08-22 00:36:13 +02:00
Thomas Waldmann
6da34fcc5a
add debug-info usage help file
2016-08-22 00:14:11 +02:00
Thomas Waldmann
d1d2738381
re-enable fuse tests for RemoteArchiver
...
at some time they had deadlock issues, but it worked for me now.
2016-08-22 00:14:10 +02:00
Thomas Waldmann
ebe1143570
travis: test fuse-enabled borg
2016-08-22 00:14:08 +02:00
Thomas Waldmann
2a41569fec
use trusty for testing, to have a recent FUSE
2016-08-22 00:12:57 +02:00
Carlo Teubner
3f30649a85
internals.rst: fix typos
2016-08-22 00:10:49 +02:00
Thomas Waldmann
a7c370b5ed
add debug-info usage help file
2016-08-21 23:37:07 +02:00
TW
5859badc29
Merge pull request #1519 from enkore/issue/1115
...
Repository: add compact_segments progress
2016-08-21 22:54:58 +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
Marian Beermann
53d0140bd5
Repository: add compact_segments progress
2016-08-21 21:55:53 +02:00
TW
2f65f7bdec
Merge pull request #1449 from enkore/f/extractprogress
...
extract --progress
2016-08-21 20:24:44 +02:00
enkore
ed6a054310
Merge pull request #1516 from sudoman/sudoman-doc-changes-0
...
added doc for "pull" type backup over sshfs
2016-08-21 20:19:29 +02:00
Marian Beermann
ab31ffaa85
ProgressIndicatorPercent: remove same_line
2016-08-21 19:57:36 +02:00
Marian Beermann
e7d44cec39
extract: --progress: Calculating size
2016-08-21 19:57:36 +02:00
TW
ab96c6496c
Merge pull request #1513 from ThomasWaldmann/improve-error-logging
...
improve error logging, fixes #1440
2016-08-21 18:29:18 +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
Andrew Engelbrecht
f8bb73732c
added doc for "pull" type backup over sshfs
...
Fixes #900
2016-08-21 01:04:16 -04:00
Marian Beermann
4d214e2503
Simplify and test Item.file_size
2016-08-21 01:09:21 +02:00
Marian Beermann
5924915d35
Flip ProgressIndicatorPercent same_line default to True
...
Every production use of this uses same_line=True
2016-08-21 01:09:20 +02:00