Commit Graph

2747 Commits

Author SHA1 Message Date
enkore a488d39245 Merge pull request #2034 from ThomasWaldmann/api-version-number-spacing
API_VERSION: use numberspaces, fixes #2023
2017-01-14 00:26:47 +01:00
enkore 68dd61f808 Merge pull request #2033 from ThomasWaldmann/require-succeeding-osx-tests
travis: require succeeding OS X tests, fixes #2028
2017-01-14 00:26:29 +01:00
TW 986740b7fe Merge pull request #2032 from ThomasWaldmann/fix-pipe-write
borg serve: fix transmission data loss of pipe writes, fixes #1268
2017-01-13 22:55:05 +01:00
Thomas Waldmann 1c854b9f60 API_VERSION: use numberspaces, fixes #2023
like '<numberspace>_<version>', e.g. '1.0_01' for version 01 (used in 1.0 maintenance branch).

this avoids overlap and accidental collisions between different release branches.
2017-01-13 21:24:17 +01:00
Thomas Waldmann 93d7d3c1db travis: require succeeding OS X tests, fixes #2028 2017-01-13 21:03:18 +01:00
Thomas Waldmann 941b8d7778 borg serve: fix transmission data loss of pipe writes, fixes #1268
This problem was found on cygwin/windows due to its small pipe buffer size of 64kiB.

Due to that, bigger (like >64kiB) writes are always only partially done and os.write() returns
the amount of data that was actually sent. the code previously did not use that return value
and assumed that always all is sent, which led to a loss of the remainder of transmission data
and usually some "unexpected RPC data format" error on the client side.

Neither Linux nor *BSD ever do partial writes on blocking pipes, unless interrupted by a
signal, in which case serve() would terminate.
2017-01-13 20:40:40 +01:00
enkore 9c42a75831 Merge pull request #2020 from enkore/f/tamdocs
upgrade: fix incorrect title levels
2017-01-12 14:31:11 +01:00
Marian Beermann 3c0a903e8a upgrade: fix incorrect title levels 2017-01-12 14:30:23 +01:00
TW 9e692d47b1 Merge pull request #2019 from ThomasWaldmann/update-1.0-changes
Update 1.0 changes
2017-01-12 03:39:51 +01:00
Thomas Waldmann 6603133344 update CHANGES (1.0-maint) 2017-01-12 03:37:52 +01:00
enkore 207a211391 Merge pull request #2018 from enkore/f/debug-remote
F/debug remote
2017-01-12 03:18:54 +01:00
Marian Beermann 2d2bff9bf6 remote: include unknown data in error message
this makes it far, far easier to diagnose issues like an account being
locked:

Got unexpected RPC data format from server:
This account is currently not available.
2017-01-12 03:18:35 +01:00
Marian Beermann b6fa8629db remote: log SSH command line at debug level 2017-01-12 02:39:56 +01:00
TW b206aa771c Merge pull request #2016 from ThomasWaldmann/fix-typos
fix typos
2017-01-12 02:27:13 +01:00
Thomas Waldmann 01090d2d40 fix typos
taken from debian package, thanks to danny edel and lintian for finding these.
2017-01-12 02:25:41 +01:00
enkore 53aaee3519 Merge pull request #2000 from enkore/issue/1997
check: fail if single archive does not exist
2017-01-12 02:08:38 +01:00
enkore 6075d547e9 Merge pull request #1991 from ThomasWaldmann/fix-pytest-xdist
use pytest-xdist to parallelize testing
2017-01-12 02:06:26 +01:00
Marian Beermann fe6b03a72d check: print non-exit-code warning if --last or --prefix aren't fulfilled 2017-01-12 02:04:44 +01:00
TW 1c1a289c8a Merge pull request #2008 from ThomasWaldmann/update-1.0-changes
update CHANGES (1.0-maint)
2017-01-12 01:31:26 +01:00
TW c5172646ab Merge pull request #2006 from sherbang/patch-1
Docs: language clarification - VM backup FAQ
2017-01-08 01:39:48 +01:00
sherbang 33be583920 Update faq.rst 2017-01-07 18:48:48 -05:00
Thomas Waldmann 69b816fe76 update CHANGES (1.0-maint) 2017-01-07 23:12:27 +01:00
TW 6cb6984433 Merge pull request #2005 from ThomasWaldmann/fix-travis-osx-builds
travis: fix OS X based testing
2017-01-07 02:29:41 +01:00
Thomas Waldmann e119042f4c travis: install py36 on OS X 2017-01-06 07:12:29 +01:00
Thomas Waldmann 370cb1f19a travis: fix osxfuse install 2017-01-06 07:12:29 +01:00
Thomas Waldmann 2938a5f6fb work around spurious log level related test fail when using pytest-xdist 2017-01-06 05:48:50 +01:00
Thomas Waldmann a1d223cec0 always setup module level "logger" in the same way
this is a cleanup change, found this while trying to find out why
borg_cmd spuriously does not have INFO loglevel when testing with
pytest-xdist.

the cleanup did NOT help with this, but is at least a cleanup.
2017-01-06 05:48:50 +01:00
Thomas Waldmann 5ed6d21302 parallel testing: fix issue related to non-reproducible set / dict order 2017-01-06 05:48:50 +01:00
Thomas Waldmann 853cfb703b parallelizing tests via pytest-xdist 2017-01-06 05:48:50 +01:00
enkore e61de12d6e Merge pull request #1996 from ThomasWaldmann/py36
tox / travis: also test on Python 3.6
2017-01-05 13:22:56 +01:00
TW a84466d70c Merge pull request #1995 from enkore/f/buffer-exc
helpers.Buffer: raise OSError subclass if too much memory shall be al…
2017-01-05 04:50:03 +01:00
Marian Beermann 320a56144f helpers.Buffer: raise OSError subclass if too much memory is allocd 2017-01-04 19:28:05 +01:00
Marian Beermann be8e0c89b3 check: fail if single archive does not exist 2017-01-04 19:25:03 +01:00
Thomas Waldmann c412b86455 vagrant: add Python 3.6.0 2017-01-04 01:06:57 +01:00
Thomas Waldmann 7d4d7e7901 setup.py: add Python 3.6 qualifier 2017-01-04 01:03:18 +01:00
Thomas Waldmann 9533493047 tox / travis: also test on Python 3.6 2017-01-04 00:57:35 +01:00
enkore 73795f5a82 Merge pull request #1994 from enkore/issue/1981
Fix upgrade --tam, change-passphrase crashes if not encrypted
2017-01-03 17:31:19 +01:00
Marian Beermann 4b9a9f9b5e change-passphrase: print key location 2017-01-03 17:16:28 +01:00
Marian Beermann 7519bf8100 fix change-passphrase crashing if repository is not encrypted 2017-01-03 17:15:59 +01:00
Marian Beermann 6a5b3018c1 fix upgrade --tam crashing if repository is not encrypted 2017-01-03 17:15:32 +01:00
enkore 9d7ec9aa0a Merge pull request #1993 from enkore/issue/1992
fix xattrs on ObjectiveFS
2017-01-03 17:11:45 +01:00
Marian Beermann 3e04fa972a xattr: only skip file on BufferTooSmallError
redefine __str__ to get a proper error message, not ''
2017-01-03 14:25:55 +01:00
Marian Beermann 85e79f96a1 xattr: ignore empty names returned by llistxattr(2) et al 2017-01-03 12:47:42 +01:00
enkore 60d33b838f Merge pull request #1983 from enkore/f/sigtrace
dump trace on signal
2016-12-26 17:57:51 +01:00
Marian Beermann c2c31aa13a enable faulthandler 2016-12-26 15:29:30 +01:00
Marian Beermann 0ff76bdc9d dump a trace on SIGUSR2 2016-12-26 15:29:22 +01:00
TW d5bc486dc9 Merge pull request #1968 from ThomasWaldmann/release-1.0.9
Release 1.0.9
2016-12-20 05:03:21 +01:00
Thomas Waldmann c54a9121ae CHANGES: fix 1.0.9 release date 2016-12-20 00:49:24 +01:00
Thomas Waldmann 3362ec319e quickstart: use prune with --list
so people are better aware of what's happening, avoiding pitfalls
with wrong or missing --prefix.
2016-12-19 16:06:54 +01:00
Thomas Waldmann 580599cf32 ran build_usage 2016-12-19 04:21:13 +01:00