Commit Graph

2904 Commits

Author SHA1 Message Date
Thomas Waldmann 34ec344e9d trivial code optimization 2016-09-17 17:19:26 +02:00
enkore 50cef5a768 Merge pull request #1612 from senden9/patch-2
Fix inconsistency in FAQ
2016-09-17 12:05:28 +02:00
Stefano Probst deadc81729 Fix inconsistency in FAQ
The script in the FAQ is named pv-wrapper. But in the variable export pv-wrapper.sh was used.
2016-09-17 09:14:01 +02:00
TW b3fac01683 Merge pull request #1595 from ThomasWaldmann/update-wheezy-box
update wheezy vagrant box to 7.11
2016-09-14 02:26:17 +02:00
Thomas Waldmann 3c3502a9a0 update wheezy vagrant box to 7.11
7.9 is not available any more.
2016-09-14 02:22:46 +02:00
enkore 8a62b16ecf Merge pull request #1594 from julian-klode/bugfix/sighup
Handle SIGHUP for proper unlock on lost connection, fixes #1593
2016-09-13 23:54:08 +02:00
Julian Andres Klode c8f4e9e34c Correctly exit with proper unlock on SIGHUP, fixes #1593
If the connections hangs up, the borg server needs to clean
up, especially unlock the repository, so a later try will
work again.

This is especially problematic with systemd systems that have
KillUserProcesses enabled (which is the default): Logind sends
a SIGHUP message to the session scope when the session ends.
2016-09-13 22:01:28 +02:00
enkore 3714be0d79 Merge pull request #1581 from enkore/issue/1580
hashindex: export max load factor to Python-space
2016-09-09 19:31:22 +02:00
Marian Beermann be3616b6b3 ArchiveChecker: use MAX_LOAD_FACTOR constant 2016-09-09 16:11:06 +02:00
enkore 142079f3cb Merge pull request #1585 from enkore/issue/1584
create --read-special fix crash on broken symlink
2016-09-08 23:53:51 +02:00
TW 6ff1f6257e Merge pull request #1567 from ThomasWaldmann/improve-dev-docs
contribution guidelines
2016-09-08 20:22:43 +02:00
Thomas Waldmann b2e389e0a0 docs: add contribution guidelines 2016-09-08 19:40:32 +02:00
Marian Beermann f1cf7bc322 process_symlink: fix missing backup_io()
Fixes a chmod/chown/chgrp/unlink/rename/... crash race between getting dirents
and dispatching to process_symlink.
2016-09-08 16:43:48 +02:00
Marian Beermann 4cb3355d90 create --read-special fix crash on broken symlink
also correctly processes broken symlinks. before this regressed to a crash
(5b45385) a broken symlink would've been skipped.
2016-09-08 16:39:44 +02:00
Marian Beermann 197552526f hashindex: make MAX_VALUE a class constant 2016-09-07 16:10:10 +02:00
Marian Beermann 9fe0140d94 hashindex: export max load factor to Python-space 2016-09-07 16:08:07 +02:00
TW b1d3a39a63 Merge pull request #1577 from enkore/issue/1576
Fix second block in "Easy to use" section not showing on GitHub
2016-09-06 13:58:51 +02:00
Marian Beermann ac8d65cc47 Fix second block in "Easy to use" section not showing on GitHub
Fixes #1576
2016-09-06 13:03:59 +02:00
enkore 84e34a7676 Merge pull request #1568 from ThomasWaldmann/bestpractices-badge
add bestpractices badge
2016-09-04 17:55:28 +02:00
Thomas Waldmann 45d72722af add bestpractices badge 2016-09-03 21:11:47 +02:00
enkore a6fe69cb80 Merge pull request #1566 from ThomasWaldmann/improve-docs
misc docs improvements
2016-09-03 19:52:11 +02:00
Thomas Waldmann f70008238a link reference docs and faq about BORG_FILES_CACHE_TTL, fixes #1561 2016-09-03 19:23:59 +02:00
Thomas Waldmann 2c5b8d690b improve borg info --help, explain size infos, fixes #1532 2016-09-03 19:23:58 +02:00
Thomas Waldmann 2e1cf17dd5 add release signing key / security contact to README, fixes #1560 2016-09-03 19:23:40 +02:00
TW a6620f020e Merge pull request #1531 from ThomasWaldmann/fix-fuse-xattr-fakeroot
work around fuse xattr test issue with recent fakeroot
2016-08-25 02:09:52 +02:00
Thomas Waldmann c12bcff30f work around fuse xattr test issue with recent fakeroot
fakeroot >= 1.20.2 "supports" xattrs, but this support somehow leads to the fuse tests not seeing
the xattrs in fuse, because the file visible in the fuse mount was not created via fakeroot.
2016-08-25 02:09:04 +02:00
TW 17bd6e0ef4 Merge pull request #1525 from textshell/fix/remote-manual-ssh
borg serve throws exception while trying to close when it gets eof at start
2016-08-24 14:09:06 +02:00
Martin Hostettler 549be2129a RepositoryServer: Add error message when connection was closed before opening repo. 2016-08-24 08:32:04 +02:00
Martin Hostettler 79de73685b remote: Change exception message for unexpected RPC data format to indicate dataflow direction
don't print stacktraces to clean up error messages when sshing into a forces command to borg serve.
2016-08-24 08:31:09 +02:00
TW b403a111fe Merge pull request #1530 from ThomasWaldmann/simplify-repo-tests
Simplify repo/hashindex tests
2016-08-23 22:33:15 +02:00
Thomas Waldmann 93517ca30e hashindex tests: use H(x) instead of some similar constructs
note: hash values needed updating because H(x) formats differently.
2016-08-23 21:29:40 +02:00
Thomas Waldmann 0da0914955 repo tests: use H(x) instead of some similar constructs 2016-08-23 21:29:40 +02:00
Thomas Waldmann ddb1c60964 repo tests: use H(x) instead of byte literals 2016-08-23 21:29:40 +02:00
TW d938cf44d7 Merge pull request #1529 from svx/1.0-maint
Addjust border color
2016-08-23 15:19:26 +02:00
sven 248ccf0149 Update borg.css 2016-08-23 15:01:39 +02:00
Martin Hostettler 484c091c62 RepositoryServer: Don‘t try to close the repository if it was not yet opened. 2016-08-22 19:48:39 +02:00
Thomas Waldmann a7c370b5ed add debug-info usage help file 2016-08-21 23:37:07 +02:00
enkore ea14384dda Merge pull request #1517 from ThomasWaldmann/reenable-remotearchiver-fuse-test
re-enable fuse tests for RemoteArchiver
2016-08-21 22:47:34 +02:00
enkore 725eaf28ce Merge pull request #1518 from ThomasWaldmann/travis-fuse-testing
travis: test fuse-enabled borg
2016-08-21 22:32:06 +02:00
Thomas Waldmann 32bd29548b travis: test fuse-enabled borg 2016-08-21 22:07:59 +02:00
Thomas Waldmann 7e80f6821d use trusty for testing, to have a recent FUSE 2016-08-21 22:07:59 +02:00
Thomas Waldmann 273bd57cd8 re-enable fuse tests for RemoteArchiver
at some time they had deadlock issues, but it worked for me now.
2016-08-21 18:13:23 +02:00
TW 7501430c5d Merge pull request #1514 from ThomasWaldmann/fix-typos
internals.rst: fix typos
2016-08-21 00:18:35 +02:00
Carlo Teubner 1c666222a7 internals.rst: fix typos 2016-08-21 00:15:56 +02:00
Thomas Waldmann f32c8858ad update CHANGES with description of issue #1428 2016-08-18 23:22:50 +02:00
Thomas Waldmann dde18d6a76 security fix: --restrict-to-path must not accept pathes with same name prefix
bug: --restrict-to-path /foo  erroneously allowed  /foobar.
even worse: --restrict-to-path /foo/  erroneously allowed  /foobar.
2016-08-18 22:40:50 +02:00
Thomas Waldmann 28cbf24815 more tests for --restrict-to-path
especially test that other directory names sharing same name prefix are not allowed.
2016-08-18 22:40:50 +02:00
TW cba0c3dc59 Merge pull request #1483 from ThomasWaldmann/update-1.0-changes
WIP: update CHANGES (1.0-maint)
2016-08-18 22:17:18 +02:00
Thomas Waldmann 2aae0b17c6 update CHANGES 2016-08-18 22:15:30 +02:00
enkore b124ec648a Merge pull request #1492 from enkore/c/textshell/leaky-preload
(cherry pick) Fix leak in borg-extract --strip-components
2016-08-18 21:59:44 +02:00