Commit Graph

4635 Commits

Author SHA1 Message Date
TW 83be697911 Merge pull request #3043 from ThomasWaldmann/vagrant-updates
use python 3.5.4 to build the binaries
2017-09-22 03:20:39 +02:00
TW 538855e2d3 Merge pull request #3038 from ThomasWaldmann/update-create-docs
more about compression in borg create docs
2017-09-22 02:55:43 +02:00
Thomas Waldmann 507203a759 use python 3.5.4 to build the binaries 2017-09-22 02:52:00 +02:00
TW 9e9398e6cc Merge pull request #3032 from ThomasWaldmann/stderr-flush
flush json mode progress stderr output
2017-09-21 19:14:20 +02:00
Thomas Waldmann 3f16d91fd3 docs: add auto compression example to borg create examples 2017-09-21 14:00:50 +02:00
Thomas Waldmann 0ec6c920b9 docs: add compressor names to be more clear 2017-09-21 04:28:35 +02:00
Thomas Waldmann c88528512f fix docs: --compression lz4 is the default now, fixes #3034 2017-09-21 04:26:52 +02:00
Thomas Waldmann 2b75b278da flush json mode progress stderr output
if borg stderr is not connected to a tty, but to ssh (when using
borg client/server), sys.stderr is block buffered (tty: line buffered).

thus we better flush explicitly after emitting a line as the receiving
side can not handle partial json at the end of the block.

also, it might solve some delays, when output didn't arrive at
receiving side in time.
2017-09-18 04:42:30 +02:00
enkore 7c5a9d89b2 delete: support naming multiple archives (#3017)
delete: support naming multiple archives
2017-09-09 23:08:23 +02:00
TW 133e847f8e document utf-8 locale requirement for json mode, #2273 (#3009) 2017-09-08 08:31:51 +02:00
enkore 1e5599dad7 Merge pull request #3011 from ThomasWaldmann/new-screencasts
show/link new screencasts in README, fixes #2936
2017-09-07 21:43:35 +02:00
Thomas Waldmann 7c9561afa2 show/link new screencasts in README, fixes #2936 2017-09-07 19:15:53 +02:00
TW 67cb76809a Merge pull request #2998 from ThomasWaldmann/fix-2994
fix .isoformat() issues
2017-09-07 14:54:46 +02:00
Thomas Waldmann 928bde8676 get rid of datetime.isoformat to avoid bugs like #2994 2017-09-07 14:11:07 +02:00
enkore 2eab60ff49 Merge pull request #3001 from ThomasWaldmann/close-segment
with-lock: close segment file before invoking subprocess
2017-09-07 10:38:45 +02:00
enkore 0607474586 Merge pull request #3002 from ThomasWaldmann/fd-cache-invalidation
FD cache invalidation
2017-09-07 10:36:09 +02:00
Thomas Waldmann 7122913825 repo cleanup/write: invalidate cached FDs 2017-09-06 06:11:39 +02:00
Thomas Waldmann 4a4c8884ee repo: add test case for uncommitted garbage segment files 2017-09-06 06:11:39 +02:00
Thomas Waldmann 573733bc81 fixup: only works for local repos 2017-09-06 04:06:17 +02:00
Thomas Waldmann b9dce0ebdc with-lock: close segment file before invoking subprocess 2017-09-06 03:49:45 +02:00
Thomas Waldmann 7996a87357 use safe parse_timestamp to parse timestamps, fixes #2994
also: refactor so it is possible to get tz-unaware datetime
objects from parse_timestamp.
2017-09-05 05:51:00 +02:00
Thomas Waldmann eebb117349 use ISO_FORMAT* constants 2017-09-05 05:02:44 +02:00
Thomas Waldmann 1cb158a4b5 move ISO_FORMAT to constants module
also: add ISO_FORMAT_NO_USECS
2017-09-05 04:44:38 +02:00
TW 9afec263c9 Merge pull request #2997 from ThomasWaldmann/cleanup-vagrant-1.2
vagrant: clean up shell profile init, user name (master)
2017-09-04 21:44:52 +02:00
Thomas Waldmann ebb4eaed5a vagrant: clean up shell profile init, user name (master)
- deduplicated .bash_profile creation
- now we always have XDISTN=... and LANG=... (not just for pyenv)
- username is just given where needed ("ubuntu" vs "vagrant")
- override for cygwin not needed as init is not global any more
2017-09-04 21:33:23 +02:00
enkore 436be10edb Merge pull request #2996 from mgee/improve-macos-faq-entry
Improve macOS faq entry
2017-09-03 20:14:09 +02:00
Markus Engelbrecht e157328228 Use correct casing for macOS 2017-09-03 20:04:28 +02:00
Markus Engelbrecht aadb9cd2ee Fix macOS keychain integration command 2017-09-03 20:03:11 +02:00
TW 86c0b66de3 Merge pull request #2988 from ThomasWaldmann/recover-segments-memory-usage
recover_segment: use mmap(), fixes #2982
2017-09-02 17:48:04 +02:00
enkore 4433078414 Merge pull request #2986 from ThomasWaldmann/cleanup-log
add debug logging for repository cleanup
2017-09-02 16:46:32 +02:00
Thomas Waldmann 9fc4d00bf6 recover_segment: use mmap(), fixes #2982 2017-09-01 05:26:27 +02:00
Thomas Waldmann 57f808e4bb add debug logging for repository cleanup
so we can know whether it did a cleanup and if so,
which and how many segments were cleaned up.
2017-08-31 22:49:30 +02:00
TW 4a22dec340 Merge pull request #2979 from enkore/issue/2975
test_detect_attic_repo: don't test mount
2017-08-30 23:22:36 +02:00
enkore a2ea6cfc7d Merge pull request #2980 from enkore/issue/2976
keymanager: don't depend on optional readline module
2017-08-30 11:27:31 +02:00
Marian Beermann a6be34f8f7 test_detect_attic_repo: don't test mount
since mount is not always available and if it works for all the other
commands, then it is likely it works for mount as well.
2017-08-28 10:17:52 +02:00
Marian Beermann b8793d9577 keymanager: don't depend on optional readline module 2017-08-28 10:15:38 +02:00
enkore f7ed5d7220 Buffer: fix wrong thread-local storage use (#2951)
Buffer: delete support for multiple threads

Thread-local objects are a fairly complex footgun, so avoid them in
the first place. When a Compressor uses a Buffer (for example),
just create multiple Compressor instances for each thread, owned by
each thread. Minimize multiple ownership of objects across
threads if at all possible!
2017-08-25 04:45:22 +02:00
TW 95d267493e Merge pull request #2959 from ThomasWaldmann/fix-timestamp-option
borg create --timestamp: set start time, fixes #2957
2017-08-25 04:36:44 +02:00
TW cab9c0533f Merge pull request #2962 from enkore/f/travis-stop
travis: only short-circuit docs-only changes for pull requests
2017-08-25 04:28:38 +02:00
Marian Beermann 920d974b25 travis: only short-circuit docs-only changes for pull requests
if a branch build is stopped, then codecov will complain about
missing base branch coverage.
2017-08-24 16:24:44 +02:00
Thomas Waldmann 8a299ae24c borg create --timestamp: set start time, fixes #2957 2017-08-24 04:07:37 +02:00
TW e9b892feb5 Merge pull request #2955 from enkore/issue/2310
docs/internals: note segment size limitation
2017-08-22 23:22:08 +02:00
Marian Beermann 10a7b6b727 docs/internals: note segment size limitation 2017-08-22 17:48:48 +02:00
enkore 1ac49380b1 Merge pull request #2925 from enkore/issue/2376
Datetime formatting
2017-08-22 17:33:17 +02:00
Marian Beermann ab4981eff6 always use microseconds for ISO 8601 output 2017-08-22 17:32:25 +02:00
Marian Beermann 2ff29891f1 list: fix weird mixup of mtime/isomtime 2017-08-22 17:32:21 +02:00
Marian Beermann a836f451ab one datetime formatter to rule them all
# Conflicts:
#	src/borg/helpers.py
2017-08-22 17:32:21 +02:00
enkore 5fb2b4b0a6 Merge pull request #2842 from imsodin/diffmount-diff_refactor
Refactor diff functionality
2017-08-21 13:49:50 +02:00
enkore 8af5a0a272 Merge pull request #2953 from enkore/issue/2949
create: document exclusion through nodump
2017-08-21 12:20:22 +02:00
enkore 8dc79aea7a Merge pull request #2950 from enkore/f/mt-1.5b
cache: adjust AdHocCache API
2017-08-21 12:19:20 +02:00