Commit Graph

2291 Commits

Author SHA1 Message Date
Thomas Waldmann bbb280c129 ran build_usage 2016-07-12 23:10:13 +02:00
TW 52cc8a9c3b Merge pull request #1323 from enkore/changes/1.0.6
update CHANGES for 1.0.6
2016-07-12 22:49:04 +02:00
Marian Beermann 06a1a899ee update CHANGES 2016-07-12 20:55:26 +02:00
enkore 841d0fd3ad Merge pull request #1317 from enkore/issue/1315
test_atime: try to open with O_NOATIME to determine support
2016-07-12 20:14:04 +02:00
enkore 8474f4e946 Merge pull request #1320 from enkore/issue/1314
Correctly handle multiple LD_PRELOAD entries
2016-07-12 16:46:32 +02:00
Marian Beermann 4891d33e2a test_atime: detect O_NOATIME support by checking atime and flags 2016-07-12 16:45:20 +02:00
Marian Beermann 70c2d69799 xattr LD_PRELOAD: diaper 2016-07-12 16:07:22 +02:00
James Clarke 2c616527cf Correctly handle multiple LD_PRELOAD entries; fixes #1111 2016-07-12 15:38:41 +02:00
Marian Beermann c07d91e9ca test_atime: exclude GNU Hurd from this test
It has O_NOATIME, opening doesn't fail with EPERM, but it still updates
the atime of the file.
2016-07-12 14:42:00 +02:00
TW e28c2d4c36 Merge pull request #1318 from enkore/issue/1314
xattr: don't log before logging is set up
2016-07-12 14:09:06 +02:00
Marian Beermann 0e0f487b95 test_atime: try to open with O_NOATIME to determine support 2016-07-12 13:17:54 +02:00
Marian Beermann 98530fffd3 xattr: don't log before logging is set up 2016-07-12 11:57:58 +02:00
TW 131d2384dd Merge pull request #1313 from ThomasWaldmann/fix-highlighting
docs: fix the highlighting
2016-07-11 23:19:30 +02:00
Thomas Waldmann cf4d761042 docs: fix the highlighting
default is "python", that's why some help fragments and bash scripts looked strange.
2016-07-11 23:16:53 +02:00
enkore b48de14f73 Merge pull request #1312 from ThomasWaldmann/improve-sparse-test
more compatible sparse file testing, fixes #1310
2016-07-11 21:30:35 +02:00
Thomas Waldmann 0fb6cb8417 more compatible sparse file testing, fixes #1310
removed the pointless platform check.

just first test the input file with the same checks we expect succeeding
on the extracted file. skip sparse archiving / extraction testing if the input
file checks fail - likely we have a problem with the OS or the FS then.
2016-07-11 20:48:13 +02:00
Thomas Waldmann 8c4802312d add picture made by anarcat 2016-07-11 02:47:43 +02:00
Thomas Waldmann b8198c4ff1 ran build_usage 2016-07-10 19:00:55 +02:00
enkore f39b44c572 Merge pull request #1308 from ThomasWaldmann/update-1.0-changes
update CHANGES
2016-07-10 18:51:47 +02:00
Thomas Waldmann 232abd16a8 update CHANGES 2016-07-10 18:45:46 +02:00
TW e50c78988e Merge pull request #1304 from ThomasWaldmann/binary-test-issue-rmtreefail
binary test issues
2016-07-10 17:51:28 +02:00
enkore 2639b5d0ff Merge pull request #1303 from enkore/issue/1302
fuse: EIO on damaged files unless told not to (-o allow_damaged_files)
2016-07-10 17:43:54 +02:00
TW 57dcb938eb Merge pull request #1306 from ThomasWaldmann/docs-issues
docs issues
2016-07-10 17:27:15 +02:00
Thomas Waldmann 4fecd223c8 api.rst: remove problematic stuff, fixes #881
some cython stuff can't be processed by sphinx.
some platform-dependant modules can't get imported.

also: reordered modules in api.rst so order makes some sense.
2016-07-10 17:26:04 +02:00
Thomas Waldmann 2f21488e81 fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
Thomas Waldmann 5660cd1f96 fix most non-python-source related sphinx warnings
literal blocks must be followed by an empty line

suppressed the non-local image uri warning via sphinx config

the links on the resources page must have different label texts

setup.py: do not generate pointless "::\n" - it does not create a literal block if the stuff below is not indented
2016-07-10 17:25:51 +02:00
Marian Beermann 1c7bdcdf9c test_fuse_allow_damaged_files: assert exact error code 2016-07-10 17:25:38 +02:00
Marian Beermann 5a952ec6df
fuse: clean imports, move mount to after __init__ *
* since the two are always called in direct succession and
  perform related setup.
2016-07-10 02:19:38 +02:00
Marian Beermann cb4a52eb84
fuse: EIO on damaged files unless told not to (-o allow_damaged_files) 2016-07-10 02:19:30 +02:00
TW 12f745561a Merge pull request #1305 from enkore/f/changelog-dated
changelog: Added release dates to older borg releases
2016-07-10 01:19:56 +02:00
Marian Beermann c4a8c53547
changelog: Added release dates to older borg releases 2016-07-10 00:55:51 +02:00
Thomas Waldmann 35c39b5743 skip 2 usually failing tests for the binary, see #862
likely related to the subprocess being created for the binary and fakeroot.
2016-07-10 00:17:12 +02:00
enkore 73e46358c3 Merge pull request #1300 from ThomasWaldmann/heal-items
heal items
2016-07-10 00:09:42 +02:00
Thomas Waldmann 984bb0a5cd use ignore_errors=True workaround for test teardown cleanup, see #862 2016-07-09 23:57:37 +02:00
enkore ad1be9dcd4 Merge pull request #1301 from ThomasWaldmann/warn-extract-damaged
warn if a file with damaged chunks is extracted, fixes #1299
2016-07-09 21:18:10 +02:00
Thomas Waldmann 403cdd597b update help about healing 2016-07-09 20:58:02 +02:00
Thomas Waldmann 0668cdf786 add test for healing 2016-07-09 20:45:26 +02:00
Thomas Waldmann 48f112e885 warn if a file with damaged chunks is extracted, fixes #1299
before 1.0.4/1.0.5 we had no means to tell if a file has been "repaired" with all-zero
chunks, but now we can see it if chunks_healthy key is present.
2016-07-09 18:19:25 +02:00
enkore 9b4bf8d799 Merge pull request #1296 from enkore/issue/1295
fuse: fix directories being shadowed when contained paths where also …
2016-07-09 17:49:50 +02:00
enkore c16334981a Merge pull request #1294 from enkore/f/hashindex-rc
Fix missing return code check in ChunkIndex._add
2016-07-09 17:44:41 +02:00
enkore 1e32ed1553 Merge pull request #1298 from ThomasWaldmann/borg-check-hash-load
fix/optimize initial hash table size for borg check
2016-07-09 17:44:10 +02:00
Thomas Waldmann 85fe7d7f4c heal files if missing chunks re-appear, fixes #148
also: improve logging for archive check
2016-07-09 17:25:25 +02:00
Thomas Waldmann 409ab9f612 fix/optimize initial hash table size for borg check
initial size should be so that the hash table does not need resizing -
it must always stay below the MAX_LOAD_FACTOR.
2016-07-09 14:36:09 +02:00
Marian Beermann 39f48419a0
fuse: fix directories being shadowed when contained paths where also specified 2016-07-09 02:31:41 +02:00
Marian Beermann 02bb79dcbb
hashindex.c: hashindex_resize check hashindex_set rc (contract) 2016-07-09 01:35:01 +02:00
Marian Beermann 5d2dbffbcd
hashindex: remove declarations of removed functions 2016-07-09 01:27:55 +02:00
Marian Beermann 3a81a947a1 Fix missing return code check in ChunkIndex._add
(used by ChunkIndex.merge and ChunkIndex.add)
2016-07-09 01:26:24 +02:00
enkore 9bfd233ce1 Merge pull request #1292 from ThomasWaldmann/more-fuse-tests
More fuse tests
2016-07-08 22:19:48 +02:00
Thomas Waldmann edb70513eb add more FUSE tests, fixes #1284 2016-07-08 21:54:25 +02:00
Thomas Waldmann 846febb079 merge both fuse mounting tests 2016-07-08 20:06:28 +02:00