Commit graph

270 commits

Author SHA1 Message Date
Marian Beermann
44935aa8ea recreate: remove interruption blah, autocommit blah, resuming blah 2016-11-19 16:49:20 +01:00
Martin Hostettler
f37109848f remote: Remove unused type variable. 2016-11-17 20:03:33 +01:00
Martin Hostettler
1edff44b3d Repository,remote: Rename argument of get to 'id'. 2016-11-17 20:03:32 +01:00
Martin Hostettler
8955d8bb2a remote: Test that the legacy free rpc bootstrap works. 2016-11-17 20:03:32 +01:00
Martin Hostettler
bd3a4a2f92 Add testing for exception transport. 2016-11-17 20:03:32 +01:00
Martin Hostettler
e14406fdbf remote: Redo exception handling 2016-11-17 20:03:32 +01:00
Martin Hostettler
4854fcef2e remote: Move open to a normal api stub. 2016-11-17 19:56:30 +01:00
Martin Hostettler
ba553ec628 remote: Introduce rpc protocol with named parameters. 2016-11-17 19:56:30 +01:00
Martin Hostettler
6c1b337ce2 remote: Replace broken exception argument restoration with code that uses a fixed value. 2016-11-17 19:56:29 +01:00
Martin Hostettler
d25e9aa4f0 remote: Use single quotes 2016-11-17 19:56:29 +01:00
Martin Hostettler
0da913f8ed remote: Decode method name as utf-8 instead of ascii for consistency. 2016-11-17 19:56:29 +01:00
Martin Hostettler
c580d9c173 version: Add version parsing and formating 2016-11-17 19:56:29 +01:00
Marian Beermann
c380d91805 fixes for flake 3.1.1 2016-11-14 21:50:20 +01:00
enkore
cf8f8fb746 Merge pull request #1846 from Abogical/master
Improve extract progress display, for #1721
2016-11-14 21:43:35 +01:00
Abogical
34f529c7df satisfy codecov 2016-11-14 17:39:42 +02:00
Abogical
3896f26ab2 use monkeypatch 2016-11-14 16:41:37 +02:00
Abogical
76638d0562 If there is a small space for ellipsis_truncate, show '...' only 2016-11-14 15:16:14 +02:00
Abogical
af925d2723 do not justify if we're not outputing to a terminal 2016-11-14 14:49:24 +02:00
Abogical
3232769ffc Respond to feedback 2016-11-14 11:43:46 +02:00
Abogical
1362d2e90f Set COLUMNS & LINES as if it was a terminal 2016-11-14 01:00:11 +02:00
Abogical
467fe38b15 Compatibility with python 3.4 2016-11-14 00:25:27 +02:00
Abogical
b737866905 Improve extract progress display and ProgressIndicatorPercent 2016-11-13 23:41:01 +02:00
Marian Beermann
dfd748689c test_attic013_acl_bug: use def instead of lambda 2016-11-13 17:30:42 +01:00
Marian Beermann
c2eb2539b9
Document maintenance merge command 2016-11-13 16:07:06 +01:00
Marian Beermann
0d2b76fa7d Merge branch '1.0-maint' into merge/1.0-maint 2016-11-13 15:58:42 +01:00
Marian Beermann
00fae3f3e3
repository: check_free_space, special case small repos 2016-11-12 14:42:13 +01:00
enkore
80b86709ef Merge pull request #1833 from enkore/issue/1821
borg init: fix free space check crashing if disk is full
2016-11-12 01:23:34 +01:00
enkore
e26348a055 Merge pull request #1834 from enkore/issue/1813
Clarify cache/repository README file
2016-11-11 21:25:30 +01:00
Marian Beermann
bd4a0fe23b
Clarify cache/repository README file 2016-11-11 21:24:17 +01:00
Marian Beermann
ac5f9b61ec
debug, key: enable --help
A small merge mishap in 2a864be8; 1.0-maint has it correctly.
2016-11-11 19:54:11 +01:00
Marian Beermann
6c955579a8 repository: test_additional_free_space, assert it still exists 2016-11-11 16:39:11 +01:00
Marian Beermann
5b31a2cd61
borg init: fix free space check crashing if disk is full 2016-11-11 16:21:05 +01:00
enkore
223f7890fe Merge pull request #1819 from enkore/issue/1800
Add BLAKE2b key types
2016-11-11 03:11:38 +01:00
Marian Beermann
a31ca4f022
crypto: link against system libb2, if possible 2016-11-11 03:08:11 +01:00
Marian Beermann
76c93bb80b crypto blake2: don't release the GIL during key hashing 2016-11-11 03:07:05 +01:00
Marian Beermann
00ac7b14be Add BLAKE2b key types 2016-11-11 03:07:05 +01:00
TW
dc4325be25 Merge pull request #1826 from textshell/feature/repository-cleanup-rollback-api
Repository: rollback's cleanup parameter is internal.
2016-11-10 17:24:01 +01:00
Martin Hostettler
79c77e7a68 Repository: rollback's cleanup parameter is internal. 2016-11-10 13:44:58 +01:00
Marian Beermann
09f470bd85 Add crypto.blake2b_256 2016-11-10 00:06:50 +01:00
Marian Beermann
05a52ec8ec
Merge branch '1.0-maint' into merge/1.0-maint 2016-11-09 23:56:54 +01:00
Marian Beermann
676e69cac4 Parse & pass BORG_HOSTNAME_IS_UNIQUE env var to enable stale lock killing 2016-11-07 21:56:40 +01:00
Marian Beermann
cc14975f2d Add tests for stale lock killing and platform.process_alive 2016-11-07 21:56:07 +01:00
Marian Beermann
2bd8ac7762 platform: bump API version (and check consistency) 2016-11-07 21:54:16 +01:00
Marian Beermann
7930d055ec import platform module instead of functions
(testability)
2016-11-07 21:54:16 +01:00
Marian Beermann
8e1df7a364 Use logging instead of prints 2016-11-07 21:54:16 +01:00
Marian Beermann
c562f7750c Move platform-dependent code to platform package 2016-11-07 21:54:16 +01:00
Oleg Drokin
d490292be3 Detect and delete stale locks when it's safe
If BORG_UNIQUE_HOSTNAME shell variable is set, stale locks
in both cache and repository are deleted.

Stale lock is defined as a lock that's originating from the same
hostname as us, and correspond to a pid that no longer exists.

This fixes #562
2016-11-07 21:54:16 +01:00
Thomas Waldmann
8a15916284 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	docs/changes.rst
#	docs/usage/help.rst.inc
#	src/borg/cache.py
#	src/borg/remote.py
#	src/borg/testsuite/__init__.py
#	src/borg/testsuite/archiver.py
2016-10-31 18:24:13 +01:00
Thomas Waldmann
09e74af7bf Merge branch '1.0-maint' 2016-10-24 21:41:20 +02:00
TW
0ff2352691 Merge pull request #1748 from rciorba/shortcut_hashindex_set
shortcut hashindex_set by having hashindex_lookup hint about address
2016-10-23 16:48:43 +02:00