Commit Graph

4908 Commits

Author SHA1 Message Date
Thomas Waldmann 835fede85f fixup: tests 2018-01-20 13:34:46 +01:00
Thomas Waldmann 2493598eef files cache: improve exception handling, fixes #3553
now deals with:
- corrupted files cache (truncated or modified not by borg)
- inaccessible/unreadable files cache
- missing files cache

The latter fix is not sufficient, the cache transaction processing
would still stumble over expected, but missing files in the cache.

(cherry picked from commit 423ec4ba1e)
2018-01-20 06:39:48 +01:00
TW 208ff77ddd
Merge pull request #3532 from SanskritFritz/master
Updated zsh completions for borg 1.1.4
2018-01-17 14:02:20 +01:00
SanskritFritz b4ceef625b Updated zsh completions for borg 1.1.4 2018-01-10 22:32:22 +01:00
TW 26f1cd1486
Merge pull request #3528 from ThomasWaldmann/fix-travis-brew
travis osx: run brew update first, fixes #3527
2018-01-10 18:31:16 +01:00
Thomas Waldmann e4828078bb travis osx: run brew update first, fixes #3527
suggested as work around on the travis issue about this ruby version
issue (wanted: 2.3, having: 2.0).
2018-01-10 17:36:25 +01:00
TW 2cbcb57ac7
Merge pull request #3521 from ThomasWaldmann/fixate-msgpack-requirement
require msgpack >= 0.4.6 and < 0.6.0, exclude 0.5.0
2018-01-10 16:03:13 +01:00
TW 4b98393542
Merge pull request #3520 from pngwjpgh/doc/chunk-seed
Chunk seed is generated per /repository/
2018-01-10 07:26:26 +01:00
Thomas Waldmann a71a83c380 require msgpack >= 0.4.6 and < 0.6.0, forbid 0.5.0.
maybe this is the easiest way for us to deal with msgpack compatibility.

0.5.0 release had some troubles:
- FutureWarning on stderr disturbing other output there, breaking tests
- pip install -U broken due to a pip issue with the transisition pkg
  which was needed due to the package rename (ImportError for msgpack)
- some linux dists not packaging the transition pkg
2018-01-10 07:23:57 +01:00
Gregor Kleen 1820e22c02 Chunk seed is generated per /repository/ 2018-01-09 18:17:46 +01:00
TW 34c4400979
Merge pull request #3510 from LocutusOfBorg/no-shebang
borg shell completion: remove shebang, useless because scripts are so…
2018-01-04 20:20:10 +01:00
Gianfranco Costamagna 2978aad55c borg shell completion: remove shebang, useless because scripts are sourced 2018-01-04 14:33:08 +01:00
TW 5512db773a
Merge pull request #3508 from LocutusOfBorg/typo-fix
Typo fix
2018-01-03 18:17:24 +01:00
Gianfranco Costamagna 0980d6ac43 fixup allows one to, with suggestions from Dan Christensen 2018-01-03 15:54:52 +01:00
Gianfranco Costamagna 111a19f7fa fix typo: allows to -> allows one to 2018-01-03 11:42:38 +01:00
Gianfranco Costamagna 1a74326b5a borg: fix typo: explicitely -> explicitly 2018-01-03 11:42:30 +01:00
TW dc7eea1e14
Merge pull request #3503 from Abogical/new-year
Happy new year!
2018-01-02 16:46:23 +01:00
Abogical 7638085b28 Revert copyright year change in shellpattern 2018-01-02 16:59:01 +02:00
Abogical 937736ceb9 Happy new year! 2018-01-02 11:10:07 +02:00
Josh Holland 9f400633f2 Correct some confusing error messages from `borg init` (#3485)
init: more clear exception messages for borg create, fixes #3465

also: refactor
2017-12-29 01:15:07 +01:00
TW f83e5b7f80
Merge pull request #3484 from ThomasWaldmann/fix-getfqdn
fix getfqdn
2017-12-25 05:34:52 +01:00
Thomas Waldmann 9b0d0f3127 use patched version of socket.getfqdn(), fixes #3471 2017-12-24 04:46:20 +01:00
Thomas Waldmann 5e4df7782b refactor/move hostname/fqdn related funcs, see #3471
- move stuff to platform.base (should be platform independent according
  to the docs).
- bump platform API version
- parseformat: import fqdn from platform instead of recomputing it

This is not yet fixing #3471, just a preparation for it.
2017-12-24 04:12:02 +01:00
TW 98052eb997
Merge pull request #3467 from ThomasWaldmann/borg-base-dir
added BORG_BASE_DIR, s/get_home_dir/get_base_dir/g, docs, fixes #3338
2017-12-23 16:32:35 +01:00
TW 83ad973af1
Merge pull request #3477 from SanskritFritz/master
zstd compression method added to fish/bash completions
2017-12-23 16:30:32 +01:00
SanskritFritz 3467e2e755 zstd compression method 2017-12-23 10:49:18 +01:00
Thomas Waldmann c5a339384e added BORG_BASE_DIR, s/get_home_dir/get_base_dir/g, docs, fixes #3338
also: sorted env var docs by level
2017-12-23 01:42:18 +01:00
TW c4b6f5dce0
Merge pull request #3469 from SanskritFritz/master
Updated bash/fish completions for borg 1.1.3
2017-12-23 01:19:18 +01:00
TW ec8a8c0729
Merge pull request #3475 from ThomasWaldmann/fix-borg-init-quota
borg init: use given --storage-quota for local repo, fixes #3470
2017-12-23 01:18:33 +01:00
TW 1d18d6bbb0
Merge pull request #3473 from anowlcalledjosh/quote-repo-path
Properly quote repo path in `borg init` output
2017-12-23 00:05:00 +01:00
TW 6fbbbd4ec5
Merge pull request #3474 from anowlcalledjosh/fix-docs-typo
docs: Fix missing apostrophe
2017-12-23 00:02:09 +01:00
Thomas Waldmann d1cdc1451f borg init: use given --storage-quota for local repo, fixes #3470 2017-12-22 23:50:00 +01:00
Josh Holland 95a05dbbf1
docs: Fix missing apostrophe 2017-12-22 21:44:12 +00:00
Josh Holland e780660830
Properly quote repo path in `borg init` output
Instead of printing this invalid command:

    borg upgrade --disable-tam '/path/test'repo'

print this valid one:

    borg upgrade --disable-tam '/path/test'"'"'repo'
2017-12-22 21:26:17 +00:00
SanskritFritz 60e926318c Updated bash/fish completions for borg 1.1.3 2017-12-22 00:31:49 +01:00
TW 79b2f2f653
Merge pull request #3461 from ThomasWaldmann/docs-lz4-b2-zstd
docs update for lz4 b2 zstd changes
2017-12-20 03:09:54 +01:00
Thomas Waldmann 3d32407e9a add zstd to compression help 2017-12-18 23:21:34 +01:00
Thomas Waldmann 2588e50f0b readme / docs: mention zstd 2017-12-18 22:55:00 +01:00
Thomas Waldmann 061321b668 update requirements and install docs about bundled lz4 and zstd 2017-12-18 22:55:00 +01:00
TW b627944d90
Merge pull request #3451 from ThomasWaldmann/blake2-ext-building
crypto.low_level ext building (blake2 part)
2017-12-18 04:21:48 +01:00
TW 1e9c90da2a
Merge pull request #3450 from ThomasWaldmann/borg-delete-removing-security-dir
also delete security dir when deleting a repo, fixes #3427
2017-12-18 01:15:29 +01:00
Thomas Waldmann 4a2fec32b6 crypto.low_level extension: build blake2 like zstd, see #3415 2017-12-18 01:06:30 +01:00
Thomas Waldmann b56f6cdbc0 update blake2 reference impl file (cosmetic)
only whitespace changes.
2017-12-18 01:06:30 +01:00
Thomas Waldmann 8924d78d44 move blake2 files to subdir ref/ (as seen in orig. repo) 2017-12-18 01:06:30 +01:00
TW 55ca8a9815
Merge pull request #3443 from ThomasWaldmann/lz4-ext-building
compress ext building (lz4 part)
2017-12-18 00:55:23 +01:00
Thomas Waldmann fe48caf853 fix lz4 deprecation warning, require lz4 >= 1.7.0 (r129)
as we bundle lz4 1.8.0 now, platform not having a recent liblz4 can
now just use the bundled code.
2017-12-18 00:53:26 +01:00
Thomas Waldmann 9b6924d27f rename BORG_LZ4_PREFIX env var to BORG_LIBLZ4_PREFIX
consistency:
we also have BORG_LIBB2_PREFIX and BORG_LIBZSTD_PREFIX.
2017-12-18 00:53:26 +01:00
Thomas Waldmann 73a70082c2 compress extension: build lz4 like zstd, see #3415 2017-12-18 00:53:26 +01:00
TW 814be9e5e2
Merge pull request #3449 from ThomasWaldmann/check-hangs-fix-master
fix for borg check --repair malfunction, #3444 (master)
2017-12-17 03:13:10 +01:00
Thomas Waldmann 8f772437f2 also delete security dir when deleting a repo, fixes #3427 2017-12-16 22:59:47 +01:00