Commit Graph

3763 Commits

Author SHA1 Message Date
Milkey Mouse 55759f76e6 Address SSH batch mode in docs (fixes #2202) (#2270) 2017-03-09 21:43:23 +01:00
Marian Beermann cdb4df0885 --log-json: time property on most progress/log objects, remove is_prompt 2017-03-09 21:36:37 +01:00
Marian Beermann e07a289e34 frontends.rst: it's "null" in json 2017-03-09 21:36:37 +01:00
Marian Beermann e98b5b20df yes(): handle JSON output 2017-03-09 21:36:37 +01:00
Milkey Mouse 85a2d2fc08 Add warning about running build_usage on Python >3.4 (fixes #2123)
Python 3.6 added some new guaranteed hashing algorithms that will
show up as available in the docs even though the baseline for support
is Python 3.4; running build_usage with Python 3.4 will fix this.

# Conflicts:
#	docs/development.rst
2017-03-09 21:35:33 +01:00
Abdel-Rahman 63b5cbfc99 extract: warning RC for unextracted big extended attributes, followup (#2258)
* Set warning exit code when xattr is too big

* Warnings for more extended attributes errors (ENOTSUP, EACCES)

* Add tests for all xattr warnings
2017-03-08 17:13:42 +01:00
Florent Hemmi 1551be54be Docs: one link per distro in the installation page 2017-03-08 17:11:10 +01:00
enkore fc41c98a86 Redo key_creator, key_factory, centralise key knowledge (#2272)
* key: put key metadata (name, storage) into key classses

* keymanager: use key-declared storage types
2017-03-08 17:08:54 +01:00
TW 1f861ec78e Merge pull request #2269 from edgimar/master
docs:  improve --exclude-if-present and --keep-exclude-tags, fixes #2268
2017-03-08 16:58:16 +01:00
Mark Edgington e4391dec54 docs: improve --exclude-if-present and --keep-exclude-tags 2017-03-07 22:32:52 -05:00
TW ad0eab8b59 Merge pull request #2265 from ThomasWaldmann/test-3.6-dev
help python development by testing 3.6-dev
2017-03-07 21:02:59 +01:00
Thomas Waldmann 98e80ef2fb help python development by testing 3.6-dev 2017-03-07 05:07:51 +01:00
Abdel-Rahman 4b33c3fe14 Add return code functions (#2199) 2017-03-05 13:33:42 +01:00
TW 89114d4885 Merge pull request #2198 from Abogical/too-big-xattr
Handle big extended attributes. Fixes #2161
2017-03-04 17:54:58 +01:00
TW 04eb7d77cc Merge pull request #2250 from ThomasWaldmann/hashtable-minor-fix-m
hashindex: rebuild hashtable if we have too little empty buckets, fixes #2246
2017-03-04 17:31:59 +01:00
Thomas Waldmann fd0649767a hashindex: rebuild hashtable if we have too little empty buckets, fixes #2246
if there are too many deleted buckets (tombstones), hashtable performance goes down the drain.
in the worst case of 0 empty buckets and lots of tombstones, this results in full table scans for
new / unknown keys.
thus we make sure we always have a good amount of empty buckets.
2017-03-04 03:09:18 +01:00
TW 503e9a27e6 Fix compression exceptions (#2224)
* trigger bug in --verify-data, see #2221

* raise decompression errors as DecompressionError, fixes #2221

this is a subclass of IntegrityError, so borg check --verify-data works correctly if
the decompressor stumbles over corrupted data before the plaintext gets verified
(in a unencrypted repository, otherwise the MAC check would fail first).

* fixup: fix exception docstring, add placeholder, change wording
2017-03-04 00:01:02 +01:00
enkore 46ba9352fc Merge pull request #2247 from enkore/pr/2235-fixup
quickstart: fix rst issue
2017-03-03 15:28:26 +01:00
Marian Beermann 1bbfb24d1a quickstart: fix rst issue 2017-03-03 15:27:17 +01:00
enkore 6468b8a0c2 Merge pull request #2229 from enkore/f/jsonp
JSON progress indicators
2017-03-03 14:39:28 +01:00
enkore f98151dbd8 Merge pull request #2244 from enkore/f/list-cache
list: only load cache if needed
2017-03-02 09:54:44 +01:00
TW ce57f34052 Merge pull request #2235 from kmq/master_2214
Improve automated backup script in doc fixes #2214
2017-03-02 05:47:05 +01:00
kmq c190a87eef
Improve automated backup script in doc fixes #2214 2017-03-02 05:48:30 +02:00
Marian Beermann c50ffc21b0 list: only load cache if needed 2017-03-02 00:24:22 +01:00
Marian Beermann abb0a20d4f list: files->items, clarifications 2017-03-01 16:58:06 +01:00
TW ec1304bd36 Merge pull request #2236 from ThomasWaldmann/rebase-pr-2193
[docs] improve remote-path description
2017-03-01 01:57:56 +01:00
Thomas Waldmann d5707929fd [docs] improve remote-path description
(ported bebehei's 1.0-maint change to master)
2017-03-01 01:53:23 +01:00
TW 0db058345b Merge pull request #2217 from ThomasWaldmann/bench-cmd
borg benchmark crud command
2017-02-28 21:49:04 +01:00
Thomas Waldmann 7e9845fc68 added borg benchmark crud output to docs/misc/ 2017-02-28 21:44:06 +01:00
Thomas Waldmann 9f3a970cec borg benchmark crud command, fixes #1788 2017-02-28 20:50:25 +01:00
enkore 94d40e53ab Merge pull request #2232 from leo-b/master-patterns-from-fix
Fix for PR #1971 (master)
2017-02-28 20:08:14 +01:00
Alexander 'Leo' Bergolth 5cd424e4be --patterns-from was accessing args.roots instead of args.paths
add a test case that parses a command containing --patterns-from
2017-02-28 14:18:18 +01:00
Marian Beermann 7cce650a38 json docs: rather complete error list 2017-02-28 12:46:26 +01:00
Marian Beermann 6ee0585b33 extract: fix missing call to ProgressIndicator.finish 2017-02-28 02:04:46 +01:00
Marian Beermann 8e1edaf258 ArchiveFormatter: add "start" key for compatibility with "info" 2017-02-28 01:33:36 +01:00
Marian Beermann 51350953b0 json: examples 2017-02-28 01:33:36 +01:00
Marian Beermann d327109604 json progress: emit info (current $something) 2017-02-28 01:33:36 +01:00
Marian Beermann fcad0ddab4 pass msgid for common errors 2017-02-28 01:19:20 +01:00
Marian Beermann 9f446aa6d4 pass --log-json to remote
Obviously this means that --log-json with remote repos requires 1.1
on the remote end, but if you don't have that, then random "Remote:"
lines would break stderr anyway.
2017-02-28 01:19:20 +01:00
Marian Beermann d5515b6952 add msgid to progress output 2017-02-28 01:19:20 +01:00
Marian Beermann 6288c9f751 enhance JSON progress information
separate output types, extra information
2017-02-27 20:30:20 +01:00
enkore 7c9c4b61d7 Merge pull request #2157 from ThomasWaldmann/add-filesize
archived file items: add size metadata
2017-02-27 18:05:43 +01:00
enkore 0e3560b6cd Merge pull request #2219 from enkore/f/frontend-docs
document JSON
2017-02-27 17:03:37 +01:00
enkore b7e158ce89 Merge pull request #2227 from ThomasWaldmann/update-files-cache-inodes
files cache: update inode number, fixes #2226
2017-02-27 16:52:29 +01:00
Thomas Waldmann 0721cb1ede files cache: update inode number, fixes #2226 2017-02-27 15:30:55 +01:00
TW 1a67b82726 Merge pull request #2220 from ThomasWaldmann/compression-default-lz4
use lz4 compression by default, fixes #2179
2017-02-27 00:31:43 +01:00
Marian Beermann 332f7898bc update docs for create -C default change 2017-02-26 23:07:31 +01:00
enkore 46787a90a0 Merge pull request #2204 from ThomasWaldmann/test-delete-force
Test delete --force
2017-02-26 21:23:23 +01:00
enkore 56f99a7719 Merge pull request #2222 from kmq/master
Document relative path usage #1868
2017-02-26 20:57:21 +01:00
kmq 757921dbdc
Document relative path usage #1868 2017-02-26 20:33:15 +02:00