Commit Graph

2690 Commits

Author SHA1 Message Date
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
Marian Beermann f4be2b3523 Use platform.SaveFile for repository, cache and key files
Fixes #1060
2016-07-09 21:10:46 +02:00
Marian Beermann 36ebc82748 Add platform.SaveFile 2016-07-09 21:10:26 +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
Thomas Waldmann 41348a76ef deduplicate fuse (u)mount code 2016-07-08 19:46:03 +02:00
Thomas Waldmann f0930b89ce Merge branch '1.0-maint' 2016-07-08 18:58:44 +02:00
TW 4f7a211b02 Merge pull request #1290 from enkore/issue/1287-bp
sync_dir: silence fsync() failing with EINVAL
2016-07-08 18:31:26 +02:00
Marian Beermann 567617ebbe
sync_dir: silence fsync() failing with EINVAL 2016-07-08 18:05:46 +02:00
TW f1d3fd431c Merge pull request #1288 from enkore/issue/1287
sync_dir: silence fsync() failing with EINVAL
2016-07-08 17:56:57 +02:00
Marian Beermann 0005023a73
sync_dir: silence fsync() failing with EINVAL
Some network filesystems don't support this.
2016-07-08 17:36:32 +02:00
TW 65475ea1aa Merge pull request #1286 from enkore/issue/1269
Remove InternalOSError
2016-07-08 14:00:07 +02:00
TW 73ba642578 Merge pull request #1285 from enkore/issue/1222
wrap get_flags with backup_io
2016-07-08 13:49:51 +02:00
Marian Beermann 6c3ca63456
Remove InternalOSError
obsoleted by 5b453856ec and e96905c6b
2016-07-08 13:35:14 +02:00
Marian Beermann 11e02461d2
1.0-maint merge fixup (hexlify..decode -> bin_to_hex) 2016-07-08 13:29:51 +02:00
Marian Beermann aade62c9f9
wrap get_flags with backup_io 2016-07-08 13:26:10 +02:00
Thomas Waldmann fe627246e4 Merge branch '1.0-maint' 2016-07-08 12:13:52 +02:00
Thomas Waldmann 66cc520880 update CHANGES 2016-07-07 22:25:49 +02:00
TW 88e7b5331a Merge pull request #1283 from ThomasWaldmann/backports-from-master-faq
backport some FAQ entries from master branch
2016-07-07 22:17:14 +02:00
Thomas Waldmann 1fe3781186 backport some FAQ entries from master branch 2016-07-07 21:56:06 +02:00
TW 1b921513da Merge pull request #1281 from enkore/fix/fuse-xattr-crash
Fix FUSE crash in xattr code on Linux
2016-07-07 21:13:47 +02:00
Marian Beermann 31bbdc3bee
Fix FUSE crash in xattr code on Linux introduced in 4d7b0f35 2016-07-07 20:33:48 +02:00
Thomas Waldmann f0026d7237 add release helper scripts 2016-07-07 19:02:50 +02:00
Thomas Waldmann a80dad0de0 Vagrantfile: centos6: no FUSE, don't build binary
Trying to install llfuse breaks borg installation (lots of compiler errors).

Also, we're building the binaries on Debian wheezy since a while, no need
to build them on centos6. Esp. since the Centos6 based binaries showed
strange slowness in the past.
2016-07-07 17:50:30 +02:00
Thomas Waldmann a4c9909700 Vagrantfile: add xz for redhat-like dists
It was missing on centos6 and then pyenv fails to install the pythons.
2016-07-07 17:45:42 +02:00
Thomas Waldmann 3218c5945a ran build_api / build_usage 2016-07-07 05:04:19 +02:00
Thomas Waldmann a4603cf010 update CHANGES 2016-07-07 04:57:44 +02:00
TW cc1d1d43b3 Merge pull request #1279 from ThomasWaldmann/netbsd-no-fuse
do not install llfuse on netbsd (broken)
2016-07-07 04:25:17 +02:00
Thomas Waldmann d6d4d318ca do not install llfuse on netbsd (broken)
it even breaks the whole build / installation.
2016-07-07 04:23:07 +02:00
TW 91d1a4f76f Merge pull request #1278 from ThomasWaldmann/update-cygwin-docs
update cygwin installation docs
2016-07-07 04:12:47 +02:00
TW 694db399c8 Merge pull request #1277 from ThomasWaldmann/fuse-xattr-errcode
fuse: getxattr fail must use errno.ENOATTR, fixes #1126
2016-07-07 04:01:31 +02:00