1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-28 02:38:43 +00:00
Commit graph

4996 commits

Author SHA1 Message Date
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
Thomas Waldmann
57a2d920cb 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.

(cherry picked from commit e09892caec)
2017-12-16 21:44:35 +01:00
Thomas Waldmann
0abf42f29e modify borg check unit test so it "hangs", see #3444
it doesn't infinitely hang, but slows down considerably.

(cherry picked from commit a68d28bfa4)
2017-12-16 21:44:10 +01:00
Thomas Waldmann
c8b2820225 bundle lz4 1.8.0 src code, license 2017-12-15 06:33:04 +01:00
TW
e203b8739b
Merge pull request #3411 from ThomasWaldmann/zstd
add zstd compression
2017-12-15 01:55:20 +01:00
TW
50e1759460
Merge pull request #3433 from ThomasWaldmann/fix-cpp-macros
add parens for C preprocessor macro argument usages
2017-12-15 00:43:12 +01:00
TW
7317dc3239
Merge pull request #3434 from ThomasWaldmann/fix-prune-man-page
fix building the "borg prune" man page, fixes #3398
2017-12-15 00:41:25 +01:00
Thomas Waldmann
34b92ffdaa 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
2017-12-15 00:29:26 +01:00
Thomas Waldmann
50c0831824 add setup_zstd.py from python-zstandard project, as is 2017-12-15 00:29:26 +01:00
Thomas Waldmann
dc883f62ae bundle zstd 1.3.2 source code
only .c and .h files + license
2017-12-15 00:29:26 +01:00
Thomas Waldmann
aec36f64a2 zstd: use own Cython-based binding, remove python-zstandard dep
currently requires an externally available libzstd >= 1.3.0,
no bundled zstd yet.
2017-12-15 00:29:26 +01:00
Thomas Waldmann
11b2311e6e 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
2017-12-15 00:29:26 +01:00
TW
029d9ac00b
Merge pull request #3435 from ThomasWaldmann/add-missing-borg-config-manpage
git add docs/man/borg-config.1
2017-12-13 04:42:08 +01:00