Commit Graph

4583 Commits

Author SHA1 Message Date
TW 34caa474a8 Merge pull request #3059 from ThomasWaldmann/remove-110b-logger-1.1
remove client_supports_log_v3 flag (1.1-maint)
2017-09-25 04:17:00 +02:00
Thomas Waldmann f48f86444d remove client_supports_log_v3 flag, fixes #3033
the client_supports_log_v3 flag was added to differentiate 1.1.0 beta3
to beta5 clients (which did not support parsing json log format from
server) from >= 1.1.0beta6 clients (which support it).
for clients older than 1.1.0b3, no json log format will be negotiated
anyway.

by removing the client_supports_log_v3 flag support, we drop support for
clients using 1.1.0beta3..5.

thus, a client is now expected to either support old log format (like
borg 1.0.x) or new json format (like borg 1.1.0 >= beta6).

client     server comment
===========================================
any        0.29+  uses $LOG plain remote log format
any        1.0.x  uses $LOG plain remote log format
1.0.x      1.1.0  uses $LOG plain remote log format
1.1.0b1/b2 1.1.0  (uses $LOG plain remote log format)
1.1.0b3-b5 1.1.0  (malfunction)
1.1.0b6    1.1.0  (uses json remote log format)
1.1.0rc    1.1.0  uses json remote log format
1.1.x      1.1.0  uses json remote log format

(beta testing is over and betas are unsupported now)

Note: client_supports_log_v3 flag was added in changeset
      18a2902c9c

(cherry picked from commit 54c5049fb9)
2017-09-25 02:41:15 +02:00
TW fa66015cb3 Merge pull request #3054 from ThomasWaldmann/update-create-docs-1.1
Update create docs (1.1-maint)
2017-09-23 23:45:02 +02:00
Thomas Waldmann cfc48d2899 docs: add auto compression example to borg create examples
(cherry picked from commit 3f16d91fd3)
2017-09-23 23:42:02 +02:00
Thomas Waldmann c616009724 docs: add compressor names to be more clear
(cherry picked from commit 0ec6c920b9)
2017-09-23 23:41:46 +02:00
Thomas Waldmann 354d3f0b4f fix docs: --compression lz4 is the default now, fixes #3034
(cherry picked from commit c88528512f)
2017-09-23 23:41:27 +02:00
TW f20576f50d Merge pull request #3052 from ThomasWaldmann/doc-updates-1.1
doc updates (1.1-maint)
2017-09-23 22:22:54 +02:00
Thomas Waldmann 055f34f025 docs: twitter account @borgbackup, fixes #2948
(cherry picked from commit 112bf43956)
2017-09-23 21:31:00 +02:00
Thomas Waldmann eacea02d8c docs: add note about metadata dedup and --no[ac]time, fixes #2518
(cherry picked from commit d8766df998)
2017-09-23 21:30:42 +02:00
Thomas Waldmann b6abee4d68 docs: change-passphrase only changes the passphrase, fixes #2990
(cherry picked from commit 713be765d1)
2017-09-23 21:30:18 +02:00
TW e7e5b604ce Merge pull request #3044 from ThomasWaldmann/vagrant-updates-1.1
vagrant updates (1.1-maint)
2017-09-22 05:14:00 +02:00
Thomas Waldmann ca34a33e7d upgrade to FUSE for macOS 3.7.1 2017-09-22 03:24:44 +02:00
Thomas Waldmann 3f6c14e854 use python 3.5.4 to build the binaries
(cherry picked from commit 507203a759)
2017-09-22 03:22:09 +02:00
TW 3f3aa2405c Merge pull request #3041 from ThomasWaldmann/stderr-flush-1.1
flush json mode progress stderr output (1.1-maint)
2017-09-22 01:52:26 +02:00
Thomas Waldmann f44fd6ba19 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.

(cherry picked from commit 2b75b278da)
2017-09-21 19:18:40 +02:00
TW ca0cb31277 Merge pull request #3021 from borgbackup/rel110rc3
release candidate 1.1.0rc3
2017-09-10 03:28:37 +02:00
Thomas Waldmann 313529b929 build_man 2017-09-10 00:08:25 +02:00
Thomas Waldmann 2d7dc08c8c build_usage 2017-09-10 00:07:45 +02:00
TW 42821d2ddc Merge pull request #3020 from ThomasWaldmann/issue/2958-1.1
delete: support naming multiple archives (#3017)
2017-09-10 00:00:01 +02:00
TW ae541b4027 Merge pull request #3013 from ThomasWaldmann/update-changes-1.1
update CHANGES (1.1-maint)
2017-09-09 23:51:48 +02:00
Thomas Waldmann 3ed6f2367c update CHANGES (1.1-maint) 2017-09-09 23:47:31 +02:00
enkore ecc5ceec07 delete: support naming multiple archives (#3017)
(cherry picked from commit 7c5a9d89b2)
2017-09-09 23:28:47 +02:00
TW cd107c6fd2 Merge pull request #3019 from ThomasWaldmann/json-utf8-locale-1.1
document utf-8 locale requirement for json mode, #2273 (#3009)
2017-09-09 16:05:20 +02:00
TW a99060508f document utf-8 locale requirement for json mode, #2273 (#3009)
(cherry picked from commit 133e847f8e)
2017-09-08 21:12:46 +02:00
TW 338da9fc14 Merge pull request #3012 from ThomasWaldmann/new-screencasts-1.1
show/link new screencasts in README, fixes #2936
2017-09-08 01:57:21 +02:00
Thomas Waldmann b398f0dcf7 show/link new screencasts in README, fixes #2936
(cherry picked from commit 7c9561afa2)
2017-09-08 00:45:28 +02:00
TW 319606e1cf Merge pull request #3008 from ThomasWaldmann/fix-2994-1.1
fix .isoformat() issues (1.1-maint)
2017-09-07 16:00:59 +02:00
TW af407e3e7f Merge pull request #3007 from ThomasWaldmann/fd-cache-invalidation-1.1
FD cache invalidation (1.1-maint)
2017-09-07 15:56:26 +02:00
TW 37cb3b496e Merge pull request #3006 from ThomasWaldmann/close-segment-1.1
with-lock: close segment file before invoking subprocess (1.1-maint)
2017-09-07 15:15:47 +02:00
Thomas Waldmann da2f8dbe81 get rid of datetime.isoformat to avoid bugs like #2994
(cherry picked from commit 928bde8676)
2017-09-07 15:11:53 +02:00
Thomas Waldmann a9aa3c5f34 use safe parse_timestamp to parse timestamps, fixes #2994
also: refactor so it is possible to get tz-unaware datetime
objects from parse_timestamp.

(cherry picked from commit 7996a87357)
2017-09-07 15:06:23 +02:00
Thomas Waldmann 457f5ceb30 use ISO_FORMAT* constants
(cherry picked from commit eebb117349)
2017-09-07 15:02:29 +02:00
Thomas Waldmann 764324304d move ISO_FORMAT to constants module
also: add ISO_FORMAT_NO_USECS
(cherry picked from commit 1cb158a4b5)
2017-09-07 14:56:27 +02:00
Thomas Waldmann 88e1340445 repo cleanup/write: invalidate cached FDs
(cherry picked from commit 7122913825)
2017-09-07 14:31:07 +02:00
Thomas Waldmann 2a58fe4266 repo: add test case for uncommitted garbage segment files
(cherry picked from commit 4a4c8884ee)
2017-09-07 14:29:37 +02:00
Thomas Waldmann eeaa43b668 with-lock: close segment file before invoking subprocess
(cherry picked from commit b9dce0ebdc)
2017-09-07 14:25:22 +02:00
enkore ff9c511be3 Merge pull request #3005 from ThomasWaldmann/improve-macos-faq-entry-1.1
Improve macos faq entry (1.1-maint)
2017-09-07 10:38:13 +02:00
Markus Engelbrecht ff1c4d1f4c Use correct casing for macOS
(cherry picked from commit e157328228)
2017-09-07 02:56:34 +02:00
Markus Engelbrecht 6dab333616 Fix macOS keychain integration command
(cherry picked from commit aadb9cd2ee)
2017-09-07 02:56:21 +02:00
TW a873bc3510 Merge pull request #2995 from ThomasWaldmann/cleanup-vagrant
vagrant: clean up shell profile init, user name
2017-09-04 21:19:31 +02:00
Thomas Waldmann 732eab841f vagrant: clean up shell profile init, user name
- 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-03 08:19:32 +02:00
TW 93cedbb761 Merge pull request #2993 from ThomasWaldmann/issue/2975-1.1
test_detect_attic_repo: don't test mount
2017-09-02 19:17:29 +02:00
TW c77dd42302 Merge pull request #2992 from ThomasWaldmann/cleanup-log-1.1
add debug logging for repository cleanup
2017-09-02 18:52:05 +02:00
TW 83ae2d502f Merge pull request #2991 from ThomasWaldmann/recover-segments-memory-usage-1.1
recover_segment: use mmap(), fixes #2982
2017-09-02 18:44:08 +02:00
Marian Beermann f85494d574 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.

(cherry picked from commit a6be34f8f7)
2017-09-02 17:57:42 +02:00
Thomas Waldmann 9ca490ad5e 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.

(cherry picked from commit 57f808e4bb)
2017-09-02 17:55:16 +02:00
Thomas Waldmann 9a362aecc4 recover_segment: use mmap(), fixes #2982
(cherry picked from commit 9fc4d00bf6)
2017-09-02 17:50:50 +02:00
TW 6d0b4c3e09 Merge pull request #2983 from enkore/issue/2976-1.1
1.1 backport #2980 keymanager: don't depend on optional readline module
2017-08-30 23:54:48 +02:00
Marian Beermann 35c8975a5c keymanager: don't depend on optional readline module
(cherry picked from commit b8793d9577)
2017-08-30 11:29:57 +02:00
TW 191151e2b9 Merge pull request #2974 from borgbackup/rel110rc2
Release 1.1.0rc2
2017-08-28 02:36:39 +02:00