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
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
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
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
Marian Beermann
8709cec57c
borg-extract --progress
2016-08-21 01:07:55 +02:00
enkore
81dd381701
Merge pull request #1507 from ThomasWaldmann/use-modified-pyinstaller
...
use patched LDLP-preserving pyinstaller
2016-08-21 00:16:24 +02:00
enkore
9baa024f4a
Merge pull request #1508 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0 maint
2016-08-21 00:12:00 +02:00
Thomas Waldmann
41e4707d6a
fixup: meant "tb", not "traceback"
2016-08-20 23:09:42 +02:00
TW
357f4ef72e
Merge pull request #1511 from c4rlo/lru-cache
...
helpers.py: replace memoize with functools.lru_cache
2016-08-20 21:19:17 +02:00
Thomas Waldmann
a0c8c40f27
improve error logging, fixes #1440
...
archiver: split traceback and msg, have separate log level for traceback, log LockTimeout at debug level,
for "Error" exceptions: always log the traceback, either at ERROR or DEBUG level.
remote: if we have an "Error" typed exception instance, we can use its traceback flag and .get_message()
as we do locally.
2016-08-20 17:23:02 +02:00
Carlo Teubner
61af307ad4
helpers.py: replace memoize usages with lru_cache
2016-08-20 13:06:16 +01:00
Thomas Waldmann
e7fccaccb2
restore original LDLP, if possible, fixes #1498
...
see https://github.com/pyinstaller/pyinstaller/pull/2148
2016-08-20 12:31:23 +02:00
Carlo Teubner
28076ee588
helpers.py: replace memoize with functools.lru_cache
2016-08-20 10:01:59 +01:00
Carlo Teubner
13761c4ec2
daemonize(): use os.devnull instead of hardcoded /dev/null
2016-08-20 10:00:03 +01:00
Thomas Waldmann
c355f3617a
Merge branch '1.0-maint'
2016-08-20 00:04:55 +02:00
Thomas Waldmann
53d14e96de
borg list: test for --list-format deprecation
2016-08-19 14:55:49 +02:00
TW
32e84f33e9
Merge pull request #1484 from enkore/issue/1396
...
Track shadowing of log entries
2016-08-19 14:09:34 +02:00
Marian Beermann
c39e395ecf
Exclude incompatible tests for ArchiverTestCaseBinary
2016-08-17 23:01:20 +02:00
Marian Beermann
26e8ff2cbc
Repository: don't use defaultdict for shadow index
...
avoids errors by accidentally inserting an empty list and makes it more clear.
2016-08-17 01:17:49 +02:00
Marian Beermann
833f8d1373
Track entire session
...
Note how this enables the much stricter check in test_moved_deletes_are_tracked
2016-08-17 01:17:49 +02:00
Marian Beermann
ac41ebcf78
Track shadowing of log entries
...
Fixes (benign) index vs. log inconsistencies when segments are skipped
during compaction.
2016-08-17 01:17:49 +02:00
Marian Beermann
21c3fb3b93
compact_segments: add segment-level logging
2016-08-17 01:16:25 +02:00
TW
f7c1c71ff1
Merge pull request #1489 from enkore/issue/1486
...
Fix borg-list --list-format
2016-08-16 21:35:25 +02:00
Marian Beermann
f3defb02de
Fix borg-list empty format
...
Should produce empty output, not default output.
2016-08-16 20:46:58 +02:00
Marian Beermann
146d531d9e
Fix borg-list --list-format
2016-08-16 20:46:54 +02:00
Thomas Waldmann
30cd7f3f21
fix timestamp key name
2016-08-16 20:36:29 +02:00
Thomas Waldmann
2f70e3f69a
src cleanup: do not use XXX in strings if just any other string works also
...
XXX is usually used in comments to mark questionable places in the source.
2016-08-15 16:01:23 +02:00
Thomas Waldmann
3c8d86354b
src cleanup: get rid of text-as-bytes in borg.remote
2016-08-15 15:52:19 +02:00
Thomas Waldmann
1f056d9e8a
more safe interface for manifest.archives
2016-08-15 15:03:05 +02:00
Thomas Waldmann
b6d0eb99a5
add and use ManifestItem
2016-08-15 02:01:13 +02:00
Thomas Waldmann
c8922c8b3d
use ArchiveItem
2016-08-15 01:11:33 +02:00
Thomas Waldmann
585407f4f4
introduce ArchiveItem, see #1157
2016-08-14 22:04:01 +02:00
Marian Beermann
f0e9a55ebf
recreate: document that absolute patterns won't match
2016-08-14 17:46:59 +02:00
Marian Beermann
93b1cf3453
recreate: --target
2016-08-14 17:46:59 +02:00
Marian Beermann
88798ae949
recreate: --always-recompress, --compression-from
...
what a mess
2016-08-14 17:46:59 +02:00
Marian Beermann
5433b1a1e4
Add Compressor.detect(data) -> CompressBase impl
2016-08-14 17:41:34 +02:00
Marian Beermann
c2c90645ad
Add Key.assert_id function
2016-08-14 17:41:33 +02:00
Marian Beermann
a80b371d09
Add decompress arg to Key.decrypt
2016-08-14 17:41:33 +02:00
Marian Beermann
ac80332ce7
Merge branch '1.0-maint' into master
...
# Conflicts:
# src/borg/repository.py
# src/borg/testsuite/repository.py
2016-08-14 15:51:49 +02:00
Thomas Waldmann
42b6a838da
fix cyclic import issue, fix tests
...
needed to increase ChunkBuffer size due to increased items stream chunk size
to get the test working.
2016-08-14 15:26:56 +02:00
Thomas Waldmann
8be6761c26
Merge commit 'feb7e2517ef7ec07cc638953a86c726aada7d37e'
2016-08-14 15:05:11 +02:00
enkore
f8b2ffe999
Merge pull request #1458 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0 maint
2016-08-11 14:18:03 +02:00
enkore
006d1df517
Merge pull request #1450 from enkore/f/recreatefactors
...
minor recreate refactor
2016-08-09 23:28:58 +02:00
Marian Beermann
7d9fba5a41
ArchiveRecreater.copy_items: progress from target instead of source
...
(it produces the same output, just less confusing)
2016-08-09 21:20:13 +02:00
TW
ff5d9a3f12
Merge pull request #1447 from enkore/f/debug-topic
...
Debugging topics and some other minor stuff
2016-08-09 20:53:07 +02:00
Thomas Waldmann
c955d59273
Merge branch '1.0-maint'
2016-08-09 20:09:13 +02:00