Thomas Waldmann
810986f0f5
borg config --cache: allow validated access to previous_location
2018-03-09 17:27:30 +01:00
TW
fcf4145222
Merge pull request #3673 from tschwinge/mark-up-unicode-string
...
Mark up Unicode string
2018-03-09 16:46:37 +01:00
Thomas Schwinge
2458035057
Mark up Unicode string
...
Running Sphinx v1.4.8
WARNING: the config value 'copyright' is set to a string with non-ASCII characters; this can lead to Unicode errors occurring. Please use Unicode strings, e.g. u'Content'.
[...]
Encoding error:
'ascii' codec can't decode byte 0xc3 in position 23: ordinal not in range(128)
2018-03-08 11:37:45 +01:00
TW
3e2d5b2b22
Merge pull request #3581 from ThomasWaldmann/borg-config-validation
...
borg config: add some validation, fixes #3566
2018-03-05 23:40:12 +01:00
TW
763d12c6b8
Merge pull request #3669 from ThomasWaldmann/issue-3551
...
fix borgfs patterns/paths processing, fixes #3551
2018-03-05 23:39:25 +01:00
TW
814c44de5a
Merge pull request #3666 from ThomasWaldmann/secure-erase-msg
...
be more clear in secure-erase warning message, fixes #3591
2018-03-05 21:44:45 +01:00
Thomas Waldmann
0e0e6da585
make sure all segment file offsets fit into uint32, fixes #3592
...
C code and the repo index use uint32 type for segment file offsets,
so when opening a repo and the config max_segment_size is too big,
fail early.
Also disallow setting a too big value via "borg config".
2018-03-05 17:50:53 +01:00
Thomas Waldmann
2d637d8ead
borg config: add some validation, fixes #3566
...
only a few basic checks, it does not prevent all stupidities.
2018-03-05 17:50:06 +01:00
Thomas Waldmann
df9020389c
fix borgfs patterns/paths processing, fixes #3551
...
Just checking for None in patterns.py (and removing the set_defaults
calls in archiver.py) did not work as other arg parsing code relies on
having an empty list (in .patterns, .paths) to append to.
Thus I stayed away from pattern.py and rather fixed the defaults for
.paths and .patterns in all parsers.
2018-03-05 17:02:49 +01:00
Thomas Waldmann
fe65ccf95a
be more clear in secure-erase warning message, fixes #3591
2018-03-05 15:21:17 +01:00
TW
5ab5fdf821
Merge pull request #3662 from ThomasWaldmann/pattern-parsing
...
be more helpful when parsing invalid --pattern values
2018-03-05 15:16:59 +01:00
TW
35df0ab532
Merge pull request #3665 from anowlcalledjosh/docs-formatting
...
Improve formatting of GPG output in documentation
2018-03-05 14:33:19 +01:00
Josh Holland
9f2f4132ec
Improve formatting of GPG output in documentation
2018-03-05 13:21:20 +00:00
TW
b862c15691
Merge pull request #3663 from ThomasWaldmann/fix-compiler-warning
...
make the C compiler happy, fixes #3490
2018-03-03 19:50:07 +01:00
Thomas Waldmann
b2ffb8bd65
make the C compiler happy, fixes #3490
...
fix a false positive compiler warning about olen being referenced
before assignment (which is not true, see comments in #3490 ).
2018-03-03 04:07:25 +01:00
Thomas Waldmann
f5ba0fc649
be more helpful when parsing invalid --pattern values
...
say what the real problem is.
say what is valid.
2018-03-03 03:08:20 +01:00
TW
05ddba385a
Merge pull request #3658 from dragetd/draget-patch1_doc
...
Add docs on how to verify a signed release
2018-03-02 22:01:17 +01:00
Michael Gajda
74a3058abc
Add docs on how to verify a signed release
...
Short howto on using gpg to verify a signed binary release.
Fixes #3634
2018-03-02 21:40:42 +01:00
TW
8a4d32a4ae
Merge pull request #3636 from jesferman/master
...
[Docs] Update quickstart.rst to fix typo
2018-02-27 12:54:46 +01:00
TW
935a768ff8
Merge pull request #3633 from ThomasWaldmann/fix-modified-status
...
fix borg create never showing M status
2018-02-26 11:10:43 +01:00
Thomas Waldmann
4e0f369d0a
fix borg create never showing M status
...
the problem was that the upper layer code did not have enough information
about the file, whether it is known or not - and thus, could not decide
correctly whether status should be M)odified or A)dded.
now, file_known_and_unchanged method returns an additional "known"
boolean to fix this.
also: add comment about files cache loading in cache_mode='r'
2018-02-26 11:07:20 +01:00
Jesus Fernandez Manzano
3a0ae9c7f3
[Docs] Update quickstart.rst to fix typo
2018-02-26 10:58:31 +01:00
TW
1922ae3242
Merge pull request #3607 from ThomasWaldmann/fix-zstd-testing
...
fix erroneously skipped zstd compressor tests, fixes #3606
2018-02-10 21:49:39 +01:00
Thomas Waldmann
246a8d57ee
fix erroneously skipped zstd compressor tests, fixes #3606
2018-02-10 20:10:21 +01:00
TW
24b0bcb461
Merge pull request #3589 from Gu1nness/docs
...
A few documentation fixes for Documentation issue 19
2018-02-10 11:31:19 +01:00
TW
8cdfe87202
Merge pull request #3604 from ThomasWaldmann/travis-no-brew-update
...
Revert "travis osx: run brew update first, fixes #3527 "
2018-02-08 23:58:44 +01:00
Thomas Waldmann
e6316727db
Revert "travis osx: run brew update first, fixes #3527 "
...
This reverts commit e4828078bb
.
2018-02-08 22:50:33 +01:00
TW
288806e668
Merge pull request #3600 from SanskritFritz/master
...
Using spaces instead of tabs for indentation
2018-02-08 22:28:12 +01:00
SanskritFritz
6e11ae1da2
Using spaces instead of tabs for indentation.
2018-02-06 20:59:04 +01:00
TW
181da5615e
Merge pull request #3596 from balvik/master
...
Fixed tab completion problem in Bash
2018-02-06 09:47:37 +01:00
Viktor Bale
a08be8d4c5
Fixed tab completion problem where a space is always added after path even when it shouldn't
2018-02-05 20:43:29 +01:00
Rémi Oudin
862d1dfb0f
Link to offline documentation
...
Add a link to the offline documentation in README.rst.
Refers https://github.com/borgbackup/borg/issues/3502
2018-02-03 17:34:45 +01:00
Rémi Oudin
88972d7d81
Better formatting of CPU usage documentation
...
This is now displayed as a list, with bold fonts for each bullet.
Refers https://github.com/borgbackup/borg/issues/3554
2018-02-03 17:34:45 +01:00
TW
cbda4c615e
Merge pull request #3580 from ThomasWaldmann/check-hdrs-binary
...
do .h file content checks in binary mode, fixes #3544
2018-01-29 17:50:40 +01:00
Thomas Waldmann
9cf8d57f51
do .h file content checks in binary mode, fixes #3544
...
we can't know the encoding header file authors will use,
so using binary for our simple checks is the safest way.
2018-01-27 19:49:42 +01:00
TW
44e5365de8
Merge pull request #3578 from leo-b/master-logging
...
add chunker_params to archive info (at least to json output) (PR against master)
2018-01-27 19:27:28 +01:00
Alexander 'Leo' Bergolth
74c10e4643
add chunker_params to archive info (at least to json output)
2018-01-25 21:02:39 +01:00
TW
e6539abc63
Merge pull request #3568 from ThomasWaldmann/files-cache-exception-handling
...
files cache: improve exception handling, fixes #3553
2018-01-21 12:14:11 +01:00
TW
27f8151983
Merge pull request #3570 from leo-b/master-scandir
...
ignore exceptions in scandir_inorder() caused by an implicit stat() (PR against master)
2018-01-21 12:00:17 +01:00
Alexander 'Leo' Bergolth
d8d93363c9
ignore exceptions in scandir_inorder() that might be raised by an implicit syscall inside a DirEntry
2018-01-21 11:16:41 +01:00
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