Commit Graph

2721 Commits

Author SHA1 Message Date
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
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
Marian Beermann 4d6141a607 upgrade: --disable-tam 2016-12-19 04:01:32 +01:00
Marian Beermann ec4f42c9f8 init: explain manifest auth compatibility 2016-12-19 04:01:27 +01:00
Thomas Waldmann 1c55930840 ran build_usage 2016-12-17 20:06:41 +01:00
Marian Beermann f2f50efc28 check: handle duplicate archive items neatly
Signed-off-by: Thomas Waldmann <tw@waldmann-edv.de>
2016-12-17 20:06:41 +01:00
Marian Beermann 28ad779a6f Add tertiary authentication for metadata (TAM)
Signed-off-by: Thomas Waldmann <tw@waldmann-edv.de>
2016-12-17 20:06:41 +01:00
enkore 343387b36e Merge pull request #1966 from enkore/1.0-340
Fix subsubparsers for Python <3.4.3
2016-12-17 18:00:15 +01:00
Marian Beermann e28b470cfb Fix subsubparsers for Python <3.4.3
This works around http://bugs.python.org/issue9351

Since Debian and Ubuntu ship 3.4.2 and 3.4.0 respectively.
2016-12-17 18:00:03 +01:00
enkore 0b32524cda Merge pull request #1965 from borgbackup/pytest2
conftest: pytest 2 compat
2016-12-17 15:58:07 +01:00
enkore af923e261b conftest: pytest 2 compat 2016-12-17 15:23:47 +01:00
enkore 49c05719d8 Merge pull request #1941 from enkore/issue/1936
Fix some clock problems
2016-12-17 13:20:56 +01:00
Marian Beermann baa8baafdb create: fix duration if --timestamp is given 2016-12-17 12:55:16 +01:00
Marian Beermann 445365b3ff update changes 2016-12-17 12:00:25 +01:00
Marian Beermann f5d6093ccc fix checkpoints when clock jumps 2016-12-17 11:58:26 +01:00
Marian Beermann a8d921a54c base archive timestamps on end time
The assumption is that if the clock jumps during the Borg run that it
was jump-corrected and is now correct, while the start timestamp would
be wrong.
2016-12-17 11:58:26 +01:00
Marian Beermann 2dc558a02e fix create progress not updating if clock jumps 2016-12-17 11:58:25 +01:00
Marian Beermann 420c984f05 fix wrong duration if clock jumps during create 2016-12-17 11:58:25 +01:00
enkore 9396aacb21 Merge pull request #1962 from ThomasWaldmann/win10-linux-subsys
document windows 10 linux subsystem install
2016-12-17 11:34:25 +01:00
enkore 20d3eff8c4 Merge pull request #1963 from ThomasWaldmann/fix-win10-lxsys-tests
catch errno.ENOSYS for mknod (win 10 lxsys)
2016-12-17 11:33:52 +01:00
Thomas Waldmann 61370082d6 catch errno.ENOSYS for mknod (win 10 lxsys)
mknod raises this when running as non-root under Windows 10's Linux Subsystem.
2016-12-17 00:37:00 +01:00
Thomas Waldmann 6b6ddecd93 document windows 10 linux subsystem install
also add note about remote repos being broken on cygwin.
2016-12-17 00:25:49 +01:00
TW 4f0c2ab68c Merge pull request #1959 from ThomasWaldmann/pretty-test-fails2
pytest: only rewrite the testsuite, fixes #1938
2016-12-16 00:25:24 +01:00
Thomas Waldmann 04340ae8b1 pytest: only rewrite the testsuite, fixes #1938
do not rewrite the borg application code, just the test code,
so the bytecode tested is identical / very close to the bytecode used in practice.
2016-12-15 03:02:06 +01:00
TW 7f63ca8922 Merge pull request #1953 from ThomasWaldmann/fix-1932
add a borg debug/key dummy command, fixes #1932
2016-12-14 02:50:08 +01:00
Thomas Waldmann 5a40870416 add a borg debug/key dummy command, fixes #1932
the problem was that there neither was a do_debug implementation for the case
someone just enters "borg debug", nor did the parser inherit from common_parser
(so accessing .umask triggered an exception before setup_logging() was called,
which triggered another exception when log output should have been emitted).

same for do_key ("borg key").

added a generic handler that just prints the subcommand help.
2016-12-14 01:57:48 +01:00
TW 60bbd7a944 update CHANGES (1.0-maint) (#1954) 2016-12-14 01:29:43 +01:00
TW d13854853c Merge pull request #1937 from ThomasWaldmann/location-parser
fix the user part parsing in the Location parser
2016-12-13 23:12:53 +01:00