Commit Graph

3528 Commits

Author SHA1 Message Date
Marian Beermann eace147611 setup.py: add crc32.c to sdist 2017-01-14 22:27:39 +01:00
TW 605deead2a Merge pull request #2049 from ThomasWaldmann/merge-1.0-maint
Merge 1.0 maint
2017-01-14 16:54:56 +01:00
Thomas Waldmann 70cc201377 Merge branch '1.0-maint' into merge-1.0-maint 2017-01-14 16:53:38 +01:00
TW 32e58e88e6 Merge pull request #2038 from ThomasWaldmann/update-1.0-changes
update CHANGES (1.0-maint)
2017-01-14 16:52:20 +01:00
Thomas Waldmann 85b3625bca update CHANGES (1.0-maint) 2017-01-14 16:51:08 +01:00
TW abfcf9955b Merge pull request #2045 from ThomasWaldmann/fix-platform
posix platform module: only build / import on non-win32 platforms
2017-01-14 16:06:28 +01:00
enkore 77e2416ee6 Merge pull request #2046 from enkore/issue/2043
crc: openbsd has no Intel intrinsics
2017-01-14 15:57:06 +01:00
Marian Beermann ae0f1422bf crc: openbsd has no Intel intrinsics 2017-01-14 15:24:03 +01:00
enkore aea1305b0b Merge pull request #2044 from ThomasWaldmann/fix-openbsd-repo
vagrant: fix openbsd repo, fixes #2042
2017-01-14 15:14:48 +01:00
Thomas Waldmann e4c5db4efc posix platform module: only build / import on non-win32 platforms, fixes #2041
rather use a inverted check like "not windows".
also: add a base implementation for this stuff, just raising NotImplementedError
2017-01-14 14:48:49 +01:00
Thomas Waldmann 00c7a4f886 vagrant: fix openbsd repo, fixes #2042
original repo is 404.
2017-01-14 14:12:39 +01:00
enkore c925ac018e Merge pull request #2040 from ThomasWaldmann/fix-crc32-compile
fix crc32 compile error, fixes #2039
2017-01-14 12:23:13 +01:00
Thomas Waldmann ededb6f2c8 fix crc32 compile error, fixes #2039 2017-01-14 05:06:15 +01:00
TW 9575edc446 Merge pull request #2036 from ThomasWaldmann/merge-1.0-maint
Merge 1.0-maint
2017-01-14 03:59:34 +01:00
Thomas Waldmann e431d60cc5 merge 1.0-maint into master
# Conflicts:
#	src/borg/crypto.pyx
#	src/borg/hashindex.pyx
#	src/borg/helpers.py
#	src/borg/platform/__init__.py
#	src/borg/platform/darwin.pyx
#	src/borg/platform/freebsd.pyx
#	src/borg/platform/linux.pyx
#	src/borg/remote.py
2017-01-14 03:07:11 +01:00
enkore 82fd84e865 Merge pull request #2035 from ThomasWaldmann/docs-backup-from-stdin
borg create: document how to backup stdin, fixes #2013
2017-01-14 00:27:18 +01:00
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 022c1288e7 borg create: document how to backup stdin, fixes #2013 2017-01-13 21:49:06 +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 e946556064 Merge pull request #2031 from enkore/f/inforeg
fix performance regression in "borg info ::archive"
2017-01-13 19:52:38 +01:00
Marian Beermann 5cc292c52c fix performance regression in "borg info ::archive" 2017-01-13 15:33:38 +01:00
enkore 173852ed23 Merge pull request #2027 from enkore/issue/2026
crc: disable CLMUL version due to clang bugs.
2017-01-13 02:42:01 +01:00
Marian Beermann f482c32423 crc32: sb8: remove some unneeded stuff, use hashindex byteorder detection 2017-01-13 00:33:34 +01:00
Marian Beermann 292fb1e2a9 crc: disable nice CLMUL version due to clang bugs. 2017-01-12 21:30:37 +01:00
enkore ff69f6e6ae Merge pull request #2021 from enkore/merge/1.0-maint
Merge/1.0 maint
2017-01-12 17:36:03 +01:00
Marian Beermann 7923088ff9 check: pick better insufficent archives matched warning from TW's merge 2017-01-12 17:04:51 +01:00
Marian Beermann 1d40675ce4 merge fixup 2017-01-12 15:04:57 +01:00
Marian Beermann ecad0ed53a Merge branch '1.0-maint' into merge/1.0-maint
# Conflicts: ... everywhere ...
#	.travis.yml
#	Vagrantfile
#	borg/testsuite/key.py
#	docs/changes.rst
#	docs/quickstart.rst
#	docs/usage.rst
#	docs/usage/upgrade.rst.inc
#	src/borg/archive.py
#	src/borg/archiver.py
#	src/borg/crypto.pyx
#	src/borg/helpers.py
#	src/borg/key.py
#	src/borg/remote.py
#	src/borg/repository.py
#	src/borg/testsuite/archive.py
#	src/borg/testsuite/archiver.py
#	src/borg/testsuite/crypto.py
#	src/borg/testsuite/helpers.py
#	src/borg/testsuite/repository.py
#	src/borg/upgrader.py
#	tox.ini
2017-01-12 15:01:41 +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
TW 745a3a5753 Merge pull request #2017 from enkore/changes/1.1.0b3
Update 1.1.0b3 CHANGES
2017-01-12 02:49:53 +01:00
Marian Beermann 10f48dbd0b Update 1.1.0b3 CHANGES 2017-01-12 02:44:04 +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 07049098ee Merge pull request #2014 from enkore/f/hostname->fqdn
posix: use fully-qualified hostname + node ID
2017-01-12 02:07:08 +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
enkore ded22d3650 Merge pull request #1927 from ThomasWaldmann/blake2b-mac-key-length
demonstrate mac key length issue
2017-01-12 01:21:13 +01:00
Marian Beermann 81bd55eec3 key testsuite: update blake2 test data to include padded keys 2017-01-12 01:05:59 +01:00