Commit Graph

5732 Commits

Author SHA1 Message Date
Thalian 0b5bb8dfec [DOCS] #4073 – PlaceholderError not printed as JSON
Add a warning for --log-json option that parsing errors will always be printed as plain text.
2020-03-15 20:37:28 +01:00
TW c140dc995f
Merge pull request #5025 from milkey-mouse/reflow-docs
Reflow some really long lines in the docs
2020-03-12 02:23:07 +01:00
Milkey Mouse f7f2493f75
docs: reflow some really long lines
I used `grep -Pnr '.{100}' *.rst` to find lines >100 characters long and
reflowed them where reasonable. Line length in the docs isn't too important (it
doesn't matter once they're compiled), but it's nice not to have super-long
lines in one's editor.
2020-03-11 16:27:57 -07:00
TW adf77e4f39
Merge pull request #5023 from milkey-mouse/fix-sphinx-warning
Suppress Sphinx lexer warnings in frontends.rst
2020-03-12 00:07:52 +01:00
TW f4a7de0882
Merge pull request #5024 from milkey-mouse/fix-4999
Add updating borgbackup.org/releases to release checklist
2020-03-12 00:06:36 +01:00
Milkey Mouse 4e95ad6230
Add updating borgbackup.org/releases to release checklist (fixes #4999) 2020-03-11 15:51:29 -07:00
Milkey Mouse 1edf587bf3
Suppress Sphinx lexer warnings in frontends.rst
Because some of the JSON blocks in frontends.rst included non-JSON
contents (user replies, etc.) the blocks didn't parse/highlight and
`make html` complained:

borg/docs/internals/frontends.rst:28: WARNING: Could not lex literal_block as "json".

There's no easy way to enable and disable highlighting just for
specific lines, but individually unsetting the highlight language per
block suppresses the warnings.
2020-03-11 15:33:44 -07:00
TW 425f0919df
Merge pull request #5018 from ThomasWaldmann/update-changes-from-1.1
update changes.rst from 1.1-maint branch, fixes #5006
2020-03-09 22:43:12 +01:00
TW 547f39fe45
Merge pull request #5016 from ThomasWaldmann/improve-repo-check-output-master
Improve repo check output (master)
2020-03-09 22:19:43 +01:00
TW 854cc00f65
Merge pull request #5017 from ThomasWaldmann/vagrant-fixes-master
add a debian buster and a ubuntu focal VM
2020-03-09 22:13:17 +01:00
Thomas Waldmann f74a3958e9 update changes.rst from 1.1-maint branch, fixes #5006
pre-1.1.11 advisory
changelogs of 1.1.10 and 1.1.11
2020-03-09 22:11:14 +01:00
Thomas Waldmann 6e44e46f40 add a debian buster and a ubuntu focal VM 2020-03-09 22:00:57 +01:00
Thomas Waldmann dd7c08ae91 do not emit warning headline, there might be no mismatches to report
instead, use a slightly different format for the warnings themselves.
2020-03-09 21:48:46 +01:00
Thomas Waldmann d124cf0761 check: improve error output for matching index size, see #4829
if the rebuilt index size matched the on-disk index size AND there
was a difference in e.g. 1 key, the old code only output the key/value
for one index, but not what is present in the other index.

we already had better code in the branch for different index sizes,
so just use that for both cases.

additionally we tell when the index size matches (new) because we
also tell if there is a mismatch.
2020-03-09 21:47:03 +01:00
TW 6520fa2bb7
Merge pull request #5009 from ThomasWaldmann/fix-commit-freespace-calc-missing-segment-file-master
commit-time free space calc: ignore bad compact map entries, fixes #4796
2020-03-09 16:01:56 +01:00
TW bdaf9aa95e
Merge pull request #5008 from ThomasWaldmann/invalid-item-key-master
check: do not stumble over invalid item key, fixes #4845
2020-03-09 16:01:28 +01:00
TW 7c699d4312
Merge pull request #5007 from ThomasWaldmann/fix-bad-hint-master
fix crash when upgrading erroneous hints file, fixes #4922
2020-03-09 01:08:30 +01:00
Thomas Waldmann d5a1979d87 commit-time free space calc: ignore bad compact map entries, fixes #4796
at least it does not crash now when committing.

the question why the compact map points to a missing segment file
is not answered yet, there might be another problem...
2020-03-09 00:16:32 +01:00
Thomas Waldmann 046dea8643 check: do not stumble over invalid item key, fixes #4845
The code used for error reporting crashes due to an invalid utf-8
sequence. Use errors='replace' to never crash there. Errors
are expected in input data when borg check is run.
2020-03-09 00:12:36 +01:00
Thomas Waldmann 2211aaab48 fix crash when upgrading erroneous hints file, fixes #4922
if an old hints file gets converted to the new format and it
has entries referring to non-existent segment files, a crash
occurred.

with this code, the crash is avoided and the erroneous hints
entry is removed.
2020-03-09 00:08:39 +01:00
TW 2f9d95e2e2
Merge pull request #5004 from ThomasWaldmann/add-cythonize-comment
setup.py: add some comments to the cythonize calls
2020-03-09 00:05:44 +01:00
Thomas Waldmann d32ff32d3a setup.py: add some comments to the cythonize calls 2020-03-08 23:20:11 +01:00
TW 0b8c9b236e
Merge pull request #5002 from ThomasWaldmann/upgrade-zstd-master
upgrade bundled zstd to 1.4.4
2020-03-08 22:41:32 +01:00
Thomas Waldmann 99f72beaa5 upgrade bundled zstd to 1.4.4 2020-03-08 21:39:06 +01:00
TW 108c590c02
Merge pull request #5001 from ThomasWaldmann/upgrade-lz4-master
upgrade bundled lz4 to 1.9.2
2020-03-08 21:38:22 +01:00
Thomas Waldmann 6a37af5f8b upgrade bundled lz4 to 1.9.2 2020-03-08 20:42:50 +01:00
TW de2bbf7c0c
Merge pull request #4993 from ThomasWaldmann/prune-stats-dry
ignore --stats when given with --dry-run, but continue, fixes #4373
2020-03-07 19:27:18 +01:00
Thomas Waldmann 8c532b9c73 ignore --stats when given with --dry-run, but continue, fixes #4373
... but continue the operation just as if --stats was not given.
2020-03-07 18:10:00 +01:00
TW ffd4f8b935
Merge pull request #4992 from ThomasWaldmann/upgrade-xxh073
upgrade xxhash to 0.7.3 (master)
2020-03-07 17:56:54 +01:00
Thomas Waldmann 2d20fa4e45 xxhash: remove xxh3 (does not compile)
we do not use that anyway.
2020-03-07 17:01:54 +01:00
Thomas Waldmann 96ff358887 upgrade xxhash to 0.7.3
https://github.com/Cyan4973/xxHash/releases/tag/v0.7.3

committed "as is", does not compile due to xxh3.
2020-03-07 17:01:42 +01:00
TW 7899899856
Merge pull request #4985 from bket/xxhash_pkgconfig
xxhash>=0.7.3 provides a pkgconfig file
2020-03-06 17:22:19 +01:00
Björn Ketelaars bf58e8c317 xxhash>=0.7.3 provides a pkgconfig file
https://github.com/Cyan4973/xxHash/pull/324

As advertised, xxhash is picked up by py-pkgconfig.
2020-03-06 05:25:23 +01:00
TW d528840809
Merge pull request #4984 from willsALMANJ/ignore-syncfilerange
Ignore syncfilerange.c
2020-03-05 22:39:24 +01:00
TW 988f52086c
Merge pull request #4983 from willsALMANJ/4980-pep8
Make flake8 happy about complex conditional
2020-03-05 22:37:58 +01:00
Will 2087eeb323 Ignore syncfilerange.c 2020-03-05 12:57:59 -05:00
Will 9b3e28a41e Make flake8 happy about complex conditional 2020-03-05 12:50:28 -05:00
TW 5a28fc074d
Merge pull request #4980 from willsALMANJ/no-os-link-master
support platforms with no os.link (port to master)
2020-03-05 09:52:45 +01:00
TW 97fd0e5b57
Merge pull request #4975 from ThomasWaldmann/upgrade-xxhash
Upgrade xxhash (master)
2020-03-04 11:12:31 +01:00
TW 597b09a993 support platforms with no os.link (#4903)
support platforms with no os.link, fixes #4901

if we don't have os.link, we just extract another copy instead of making a hardlink.

for that to work, we need to have (and keep) the chunks list in hardlink_masters.
2020-03-03 23:34:54 -05:00
TW 854065e193
Merge pull request #4974 from ThomasWaldmann/msgids
fix ProgressIndicator msgids, fixes #4935 (master)
2020-03-04 01:20:43 +01:00
Thomas Waldmann 3905810e37 xxhash: remove experimental xxh3 code
it does not compile and we don't use it anyway.
2020-03-03 23:59:20 +01:00
Thomas Waldmann 810c60048b upgrade bundled xxhash to 0.7.2, fixes #4891
Looks like the minimum requirement for correct operations
on ARMv6 in non-fixup mode is xxhash 0.7.2.

note: this does not compile due to the experimental stuff in xxh3.h.
2020-03-03 23:58:54 +01:00
Thomas Waldmann a8831f4978 fix ProgressIndicator msgids, fixes #4935
add some to code, fix docs.
2020-03-03 23:57:36 +01:00
TW 0a4cc48735
Merge pull request #4969 from ThomasWaldmann/fix-hashindex-set
fix bug in hashindex_set on resize, fixes #4829
2020-03-01 18:56:03 +01:00
Thomas Waldmann fa63150e14 fix bug in hashindex_set on resize, fixes #4829
the problem was that after a resize that was triggered by too few
empty buckets, the rebuilt new hash table had entries at different
positions than before, but the idx where to SET the entry was not
recomputed afterwards.
2020-03-01 17:47:12 +01:00
TW 1666a74e6b
Merge pull request #4965 from willsALMANJ/fix-4905
Move sync_file_range to its own extension
2020-03-01 12:55:54 +01:00
Will 242424ecae Move sync_file_range to its own extension 2020-03-01 00:06:04 -05:00
TW a5152012f4
Merge pull request #4949 from Gu1nness/4934-borg-extract-is-confusing
Fix #4934 : The path given by borg extract --strip-components --list is not confusing anymore
2020-02-29 17:30:02 +01:00
finefoot f7dc1a430b
Allow osx builds to fail (#4955)
universally mark all osx builds as allowed failures

since a while, travis-ci is way too slow on their OS X machines, so they kill our tests after 50 minutes...
2020-02-22 21:30:41 +01:00