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
Marian Beermann
09f470bd85
Add crypto.blake2b_256
2016-11-10 00:06:50 +01:00
enkore
cf44954c34
Merge pull request #1674 from enkore/f/stale-lock-murderer
...
Automatically remove stale locks
2016-11-07 21:58:34 +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
TW
9eb336a453
Merge pull request #1799 from anarcat/faster-quickstart
...
faster quickstart
2016-11-03 21:56:23 +01:00
Antoine Beaupré
c8c0495724
faster quickstart
...
move the note about free space after the step by step example. it is
unlikely that users will hit out of space conditions on their first
run, and at the end of the example, they will see the not anyways.
this is to make the documentation less scary for new users and easier
to use.
2016-11-03 14:17:55 -04:00
TW
9dd57d3571
Merge pull request #1785 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0-maint
2016-11-02 01:29:20 +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
84637322f2
ran build_usage
2016-10-29 01:58:21 +02:00
TW
89c31d6b44
Merge pull request #1763 from ThomasWaldmann/update-1.0-changes
...
update CHANGES (1.0-maint)
2016-10-29 01:44:39 +02:00
Thomas Waldmann
20f4a1f478
update CHANGES (1.0-maint)
2016-10-29 01:18:55 +02:00
TW
9c071771fc
Merge pull request #1769 from ThomasWaldmann/ssh-url-docs
...
repo url / archive location docs + typo fix
2016-10-29 00:46:13 +02:00
Thomas Waldmann
a16c7d8e16
mention file://
2016-10-28 05:04:23 +02:00
Thomas Waldmann
11e9780393
quickstart: add a comment about other (remote) filesystems
2016-10-28 04:57:15 +02:00
Thomas Waldmann
e0298b2932
simplify quickstart
...
only give one possible ssh url syntax, all others are documented in usage chapter.
2016-10-28 04:51:46 +02:00
Thomas Waldmann
ca15cc80e5
document repo URLs / archive location
2016-10-28 04:43:33 +02:00
Thomas Waldmann
9b9179312d
ssh: repo url docs - fix typo
2016-10-28 03:32:37 +02:00
TW
de9aa1923f
Merge pull request #1762 from julian-klode/for-1.0/fix-bug-940
...
RemoteRepository: Fix busy wait in call_many, fixes #940
2016-10-26 21:19:31 +02:00
enkore
25ef14e853
Merge pull request #1756 from ThomasWaldmann/fix-freebsd-fuse-tests
...
Fix freebsd fuse tests
2016-10-25 20:56:17 +02:00
TW
d4072bfad0
Merge pull request #1742 from ThomasWaldmann/migrate-previous-location
...
avoid previous_location mismatch, fixes #1741
2016-10-25 19:25:17 +02:00
TW
b1ac207e67
Merge pull request #1760 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0 maint
2016-10-25 18:50:08 +02:00
Andrew Skalski
2df8b740dd
RemoteRepository: Fix busy wait in call_many, fixes #940
...
(cherry picked from commit 731f6241fa
)
2016-10-25 11:24:12 +02:00
Thomas Waldmann
09e74af7bf
Merge branch '1.0-maint'
2016-10-24 21:41:20 +02:00
Thomas Waldmann
baa77c0e04
avoid previous_location mismatch, fixes #1741
...
due to the changed canonicalization for relative pathes in PR #1711 (implement /./ relpath hack),
there would be a changed repo location warning and the user would be asked if this is ok.
this would break automation and require manual intervention, which is unwanted.
thus, we automatically fix the previous_location config entry, if it only changed in the
expected way, but still means the same location.
2016-10-24 19:29:35 +02:00
Thomas Waldmann
02ecf04780
fuse tests: catch ENOTSUP on freebsd
...
seems like fuse does not support xattrs there at all.
2016-10-24 05:19:50 +02:00
Thomas Waldmann
ede3b4a354
fuse: test troublesome xattrs last
2016-10-24 05:19:50 +02:00
Thomas Waldmann
48fa449e39
assert_dirs_equal: add ignore_bsdflags and ignore_xattrs argument
...
bsdflags are not supported in the FUSE mount.
xattrs are supported, but are tested separately.
2016-10-24 05:19:50 +02:00
TW
77110913c7
Merge pull request #1758 from flokli/patch-2
...
docs/deployment.rst: do not use bare variables in ansible snippet
2016-10-24 02:39:16 +02:00
Florian Klink
88f7f8673d
docs/deployment.rst: do not use bare variables in ansible snippet
...
The current snippet throws deprecation warnings:
```
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your
playbooks so that the environment value uses the full variable syntax
('{{auth_users}}').
This feature will be removed in a future
release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
```
2016-10-24 02:34:28 +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
Radu Ciorba
766a43afc3
shortcut hashindex_set by having hashindex_lookup hint about address
2016-10-22 12:33:15 +03:00
TW
f086dad41b
Merge pull request #1737 from ThomasWaldmann/vagrant-fix-fuse
...
Vagrant fix fuse
2016-10-22 03:37:46 +02:00
TW
ab8b26b9ac
Merge pull request #1752 from ThomasWaldmann/borgversion-enhanced
...
implement borgmajor/minor/patch placeholders, fixes #1694
2016-10-22 00:33:51 +02:00
Thomas Waldmann
22f77b908f
implement borgmajor/minor/patch placeholders, fixes #1694
2016-10-22 00:20:50 +02:00
TW
6b5cb23186
Merge pull request #1753 from ThomasWaldmann/doc-nonces-dir
...
document BORG_NONCES_DIR, fixes #1592
2016-10-21 20:54:22 +02:00
Thomas Waldmann
d363907b5a
document BORG_NONCES_DIR, fixes #1592
2016-10-21 04:15:33 +02:00
Thomas Waldmann
d49a782796
implement borgmajor/minor/patch placeholders, fixes #1694
2016-10-21 03:43:38 +02:00
TW
1a272ddd48
Merge pull request #1739 from ThomasWaldmann/borg-check-refactor
...
borg check --first / --last / --sort / --prefix, fixes #1663
2016-10-20 17:21:27 +02:00
Thomas Waldmann
f9aa74e7e1
skip fuse test for borg binary + fakeroot
...
strange: works on wheezy, blows up on xenial
2016-10-20 17:19:37 +02:00
Thomas Waldmann
2b90e45dd1
vagrant: fix fuse permission issues on linux/freebsd, fixes #1544
2016-10-20 16:53:46 +02:00
Thomas Waldmann
4c884fd075
borg check --first / --last / --sort / --prefix, fixes #1663
2016-10-20 16:51:26 +02:00
enkore
bd9f6a6ff9
Merge pull request #1745 from ThomasWaldmann/centos-selinux-ignore
...
ignore security.selinux xattrs, fixes #1735
2016-10-20 13:47:43 +02:00
TW
c8cae9f35d
Merge pull request #1747 from ThomasWaldmann/fix-byte-range-error
...
fix byte range error in test, fixes #1740
2016-10-20 04:30:29 +02:00