1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-29 11:16:43 +00:00
Commit graph

4844 commits

Author SHA1 Message Date
TW
e30a75ee0d
Merge pull request #3498 from borgbackup/rel114
Release 1.1.4
2017-12-30 13:11:04 +01:00
Thomas Waldmann
9b4202fd48 build_usage 2017-12-30 01:58:32 +01:00
Thomas Waldmann
b8f6e47b42 build_man 2017-12-30 01:57:18 +01:00
Thomas Waldmann
a44b5bb273 update CHANGES (1.1)
bump version to borg 1.1.4 "34c3 edition"
2017-12-30 01:00:41 +01:00
TW
d1c4215082
Merge pull request #3483 from ThomasWaldmann/update-changes-1.1
update CHANGES (1.1)
2017-12-30 00:36:19 +01:00
TW
b2d4ba6ba6
Merge pull request #3496 from ThomasWaldmann/borg-init-existing-repo-1.1
Correct some confusing error messages from `borg init`, fixes #3465
2017-12-29 10:06:50 +01:00
Thomas Waldmann
6da0a12a86 update CHANGES (1.1) 2017-12-29 03:28:07 +01:00
Josh Holland
5138db20e2 Correct some confusing error messages from borg init (#3485)
init: more clear exception messages for borg create, fixes #3465

also: refactor

(cherry picked from commit 9f400633f2)
2017-12-29 03:18:02 +01:00
TW
5ab238df2b
Merge pull request #3486 from ThomasWaldmann/fix-getfqdn-1.1
fix getfqdn (1.1)
2017-12-28 23:45:25 +01:00
Thomas Waldmann
d11c9e9b15 use patched version of socket.getfqdn(), fixes #3471
(cherry picked from commit 9b0d0f3127)
2017-12-25 06:05:53 +01:00
Thomas Waldmann
f00e9de492 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.

(cherry picked from commit 5e4df7782b)
2017-12-25 06:05:52 +01:00
TW
128ed2da47
Merge pull request #3482 from ThomasWaldmann/fix-borg-init-quota-1.1
borg init: use given --storage-quota for local repo, fixes #3470 (1.1)
2017-12-23 21:54:08 +01:00
TW
b500ab7509
Merge pull request #3480 from ThomasWaldmann/borg-base-dir-1.1
added BORG_BASE_DIR, s/get_home_dir/get_base_dir/g, docs, fixes #3338
2017-12-23 19:53:16 +01:00
Thomas Waldmann
b101717818 borg init: use given --storage-quota for local repo, fixes #3470
(cherry picked from commit d1cdc1451f)
2017-12-23 19:26:52 +01:00
TW
9ae4e0dcb1
Merge pull request #3479 from ThomasWaldmann/quote-repo-path-1.1
Properly quote repo path in `borg init` output (1.1)
2017-12-23 19:24:46 +01:00
TW
0f3661a130
Merge pull request #3478 from ThomasWaldmann/fix-docs-typo-1.1
docs: Fix missing apostrophe
2017-12-23 18:19:47 +01:00
Thomas Waldmann
28baa78595 added BORG_BASE_DIR, s/get_home_dir/get_base_dir/g, docs, fixes #3338
also: sorted env var docs by level
(cherry picked from commit c5a339384e)
2017-12-23 18:09:16 +01:00
Josh Holland
b263888a4f 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'

(cherry picked from commit e780660830)
2017-12-23 17:49:18 +01:00
Josh Holland
9f7ed7fcec docs: Fix missing apostrophe
(cherry picked from commit 95a05dbbf1)
2017-12-23 17:47:00 +01:00
TW
20f9f5e39c
Merge pull request #3476 from SanskritFritz/1.1-maint
zstd compression method added to fish/bash completions
2017-12-23 16:30:13 +01:00
SanskritFritz
7fc29b58f8 zstd compression method 2017-12-23 10:48:02 +01:00
TW
14e5ec4d51
Merge pull request #3468 from SanskritFritz/1.1-maint
Updated bash/fish completions for borg 1.1.3
2017-12-23 01:19:36 +01:00
SanskritFritz
f229ec537b Updated bash/fish completions for borg 1.1.3 2017-12-22 00:37:55 +01:00
TW
601a34731c
Merge pull request #3463 from ThomasWaldmann/docs-lz4-b2-zstd-1.1
docs update for lz4 b2 zstd changes (1.1)
2017-12-20 04:37:00 +01:00
Thomas Waldmann
7d2f7be414 add zstd to compression help
(cherry picked from commit 3d32407e9a)
2017-12-20 03:25:18 +01:00
Thomas Waldmann
ce7864f6a6 readme / docs: mention zstd
(cherry picked from commit 2588e50f0b)
2017-12-20 03:25:04 +01:00
Thomas Waldmann
182c0fa636 update requirements and install docs about bundled lz4 and zstd
(cherry picked from commit 061321b668)
2017-12-20 03:24:48 +01:00
TW
5acf9eefa9
Merge pull request #3462 from ThomasWaldmann/update-changes-1.1
update CHANGES (1.1-maint)
2017-12-20 03:22:05 +01:00
Thomas Waldmann
6043d8b257 update CHANGES (1.1-maint) 2017-12-19 02:19:15 +01:00
TW
ba1708d30e
Merge pull request #3458 from ThomasWaldmann/blake2-ext-building-1.1
crypto.low_level ext building (blake2 part, 1.1)
2017-12-18 07:28:48 +01:00
Thomas Waldmann
1bdaffc62c crypto.low_level extension: build blake2 like zstd, see #3415
(cherry picked from commit 4a2fec32b6)
2017-12-18 04:29:33 +01:00
Thomas Waldmann
0118b939d9 update blake2 reference impl file (cosmetic)
only whitespace changes.

(cherry picked from commit b56f6cdbc0)
2017-12-18 04:26:15 +01:00
Thomas Waldmann
ba38d5199b move blake2 files to subdir ref/ (as seen in orig. repo)
(cherry picked from commit 8924d78d44)
2017-12-18 04:25:57 +01:00
TW
b8a7238622
Merge pull request #3456 from ThomasWaldmann/lz4-ext-building-1.1
compress ext building (lz4 part, 1.1)
2017-12-18 04:14:25 +01:00
TW
ed31ea2516
Merge pull request #3455 from ThomasWaldmann/borg-delete-removing-security-dir-1.1
also delete security dir when deleting a repo, fixes #3427 (1.1)
2017-12-18 04:12:48 +01:00
Thomas Waldmann
21ba3ff63c fix lz4 deprecation warning, require lz4 >= 1.7.0 (r129)
as we bundle lz4 1.8.0 now, platforms not having a recent liblz4 can
now just use the bundled code.

(cherry picked from commit fe48caf853)
2017-12-18 02:47:44 +01:00
Thomas Waldmann
83603acd48 rename BORG_LZ4_PREFIX env var to BORG_LIBLZ4_PREFIX
consistency:
we also have BORG_LIBB2_PREFIX and BORG_LIBZSTD_PREFIX.

(cherry picked from commit 9b6924d27f)
2017-12-18 02:42:03 +01:00
Thomas Waldmann
7d8ec62b50 compress extension: build lz4 like zstd, see #3415
(cherry picked from commit 73a70082c2)
2017-12-18 02:41:30 +01:00
Thomas Waldmann
49f76a1e32 bundle lz4 1.8.0 src code, license
(cherry picked from commit c8b2820225)
2017-12-18 02:38:52 +01:00
Thomas Waldmann
1d64e5c227 also delete security dir when deleting a repo, fixes #3427
(cherry picked from commit 8f772437f2)
2017-12-18 01:55:11 +01:00
TW
696f2a2d25
Merge pull request #3445 from ThomasWaldmann/check-hangs-fix
fix for borg check --repair malfunction, #3444 (1.1-maint)
2017-12-16 21:59:44 +01:00
TW
6ab02e7ff2
Merge pull request #3442 from ThomasWaldmann/zstd-1.1
zstd compression (1.1 backport)
2017-12-16 21:40:14 +01:00
Thomas Waldmann
e09892caec check --repair: fix malfunctioning validator, fixes #3444
the major problem was the ('path' in item) expression.
the dict has bytes-typed keys there, so it never succeeded as it
looked for a str key. this is a 1.1 regression, 1.0 was fine.

the dict -> StableDict change is just for being more specific,
the check triggered correctly as StableDict subclasses dict,
it was just a bit too general.
2017-12-16 19:44:25 +01:00
Thomas Waldmann
a68d28bfa4 modify borg check unit test so it "hangs", see #3444
it doesn't infinitely hang, but slows down considerably.
2017-12-16 19:44:24 +01:00
Thomas Waldmann
c7383589cc bundle zstd 1.3.2 source code
only .c and .h files + license

(cherry picked from commit dc883f62ae)
2017-12-15 03:14:33 +01:00
Thomas Waldmann
0271ae6f95 support code to build bundled zstd code into the compress extension
setup_zstd.py modified so it is just amending the Extension() kwargs,
but the Extension is initialized by the caller.

this way, amending can happend multiple times (e.g. for multiple
compression algorithms).

also:
- move include/library dirs processing for system-library case
- move system zstd prefix detection to setup_zstd module
- cosmetic: setup.py whitespace fixes
- prefer system zstd option, document zstd min. requirement

(cherry picked from commit 34b92ffdaa)
2017-12-15 03:13:54 +01:00
Thomas Waldmann
15ec4c4259 add setup_zstd.py from python-zstandard project, as is
(cherry picked from commit 50c0831824)
2017-12-15 03:09:09 +01:00
Thomas Waldmann
01078328e2 zstd: use own Cython-based binding, remove python-zstandard dep
currently requires an externally available libzstd >= 1.3.0,
no bundled zstd yet.

(cherry picked from commit aec36f64a2)
2017-12-15 03:08:28 +01:00
Thomas Waldmann
6bad2395dd add zstd compression
based on willyvmm's work in PR #3116, but some changes:

- removed any mulithreading changes
- add zstandard in setup.py install_requires
- tests
- fix: minimum compression level is 1 (not 0)
- use 3 for the default compression level
- use ID 03 00 for zstd
- only convert to bytes if we don't have bytes yet
- move zstd code so that code blocks are ordered by ID
- other cosmetic fixes

(cherry picked from commit 11b2311e6e)
2017-12-15 02:13:15 +01:00
TW
4ac6ee221a
Merge pull request #3441 from ThomasWaldmann/backports
Backports to 1.1
2017-12-15 01:59:10 +01:00