Commit Graph

5520 Commits

Author SHA1 Message Date
Thomas Waldmann
39300d1fd0 docs: fix markup 2019-03-11 00:16:12 +01:00
Thomas Waldmann
1386c67513 build_man 2019-03-11 00:11:50 +01:00
Thomas Waldmann
9507856049 build_usage 2019-03-11 00:11:16 +01:00
Thomas Waldmann
621476b027 release date 2019-03-11 00:08:25 +01:00
TW
65bc71a192
update CHANGES (master) (#4429) 2019-03-11 00:06:43 +01:00
TW
d493806e5c
incremental repo check (#4422)
incremental repo check, fixes #1657
2019-03-10 20:21:22 +01:00
TW
d7c6399396
Merge pull request #4384 from milkey-mouse/append-only-docs-3504
Elaborate on append-only mode docs
2019-03-10 15:04:23 +01:00
TW
42ea069ddc
Merge pull request #4401 from joey4/fix4359
timestamp for borg delete --info added
2019-03-04 23:06:58 +01:00
TW
adcfffd7eb
Merge pull request #4420 from ThomasWaldmann/remove-bhiu
remove BORG_HOSTNAME_IS_UNIQUE
2019-03-04 22:01:08 +01:00
Thomas Waldmann
7ad5290501 redo stale lock handling, fixes #3986
drop BORG_HOSTNAME_IS_UNIQUE (please use BORG_HOST_ID if needed)

borg now always assumes it has a unique hostid - either automatically
from fqdn plus uuid.getnode() or overridden via BORG_HOST_ID.
2019-03-04 21:07:05 +01:00
TW
92e11833db
Merge pull request #4418 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2019-03-03 14:30:16 +01:00
Thomas Waldmann
abdf5d0706 update CHANGES (master) 2019-03-03 14:16:52 +01:00
TW
9234d113d8
Merge pull request #4417 from ThomasWaldmann/vagrant-freebsd
vagrant: fix freebsd box name
2019-03-02 19:59:52 +01:00
TW
ee69dd905e
Merge pull request #4416 from ThomasWaldmann/fix-fifo
fix backing up FIFOs, fixes #4394
2019-03-02 19:59:26 +01:00
Thomas Waldmann
29c1f4e895 vagrant: fix freebsd box name 2019-03-02 19:58:37 +01:00
Thomas Waldmann
cd857b6d8f fix backing up FIFOs. fixes #4394
The O_NONBLOCK caused EAGAIN errors borg did not deal with, so we
better block and wait until read data is available from e.g. a fifo.

Fixed the --read-special test so it creates a FIFO, feeds it from a
thread and backs it up with borg. Then extracts and checks if correct
data has been backed up.

Also: renamed flags_follow to flags_special_follow (its only intended
use is on symlinks to special files with --read-special).
2019-03-02 19:14:47 +01:00
jminer74
a2c84215af docs/installation: added Alpine Linux to distribution list (#4414)
docs/installation: added Alpine Linux to distribution list
2019-03-01 22:11:48 +01:00
TW
382875692b
Merge pull request #4413 from ThomasWaldmann/vagrant-openbsd
vagrant: add a openbsd 6.4 box
2019-03-01 20:23:43 +01:00
Thomas Waldmann
29735b26c0 vagrant: add a openbsd 6.4 box 2019-03-01 18:29:11 +01:00
TW
8347fb730d
Merge pull request #4412 from ThomasWaldmann/vagrant-updates
Vagrant updates
2019-03-01 17:36:58 +01:00
Thomas Waldmann
cecea99a0e vagrant: darwin: upgrade OS 10.10 -> 10.12 2019-03-01 15:46:43 +01:00
Thomas Waldmann
08574d08f8 vagrant: darwin: add zstd 2019-03-01 15:46:43 +01:00
Thomas Waldmann
e549333bd5 vagrant: upgrade osxfuse 3.8.2 -> 3.8.3 2019-03-01 15:46:43 +01:00
Thomas Waldmann
eb0869a4f6 vagrant: upgrade py 3.5.0 -> 3.5.3 due to openssl 1.1 compatibility 2019-03-01 15:46:43 +01:00
Thomas Waldmann
53ab22a3b3 vagrant: upgrade py 3.6.7 -> 3.6.8 2019-03-01 15:46:37 +01:00
TW
e447401d68
Merge pull request #4410 from ThomasWaldmann/freebsd12-vagrant
new freebsd12 64bit vagrant box, fixes #4399
2019-03-01 15:33:05 +01:00
Thomas Waldmann
63ed2f6d7a new freebsd12 64bit vagrant box, fixes #4399
note:
- openssl 1.1.1 seems to be part of base install
- added zstd compression lib
2019-02-28 21:37:35 +01:00
TW
3b4ff73d47
Merge pull request #4408 from ThomasWaldmann/rel120a3
Release 1.2.0a3
2019-02-28 12:20:40 +01:00
TW
a53bbb2533
Merge pull request #4409 from bket/libressl
crypto: LibreSSL has HMAC_CTX_free and *HMAC_CTX_new
2019-02-28 11:23:02 +01:00
Björn Ketelaars
a87f38e35f crypto: LibreSSL has HMAC_CTX_free and *HMAC_CTX_new
While here improve indentation (use 4 spaces instead of 3).
2019-02-28 07:06:45 +01:00
Thomas Waldmann
8b55bb1096 update CHANGES 2019-02-26 22:50:40 +01:00
Thomas Waldmann
7b4b42d832 pypi metadata: enter alpha dev status 2019-02-26 22:39:27 +01:00
TW
de151cd338
Merge pull request #4407 from bket/libressl
1.2.0a: fix LibreSSL support, see #4403
2019-02-26 22:31:49 +01:00
TW
aed5213c78
Merge pull request #4404 from bket/wip
1.2.0a2: Fix some issues found by the testsuite
2019-02-26 22:30:53 +01:00
Thomas Waldmann
dbe92b7ace xattr.is_enabled: first listxattr before trying getxattr, see #4403
this is needed for the xattr dummy implementation (used e.g.
on openbsd):
- it returns [] for listxattr
- it fails with ENOATTR when trying getxattr for any name

also: reduce code duplication
2019-02-26 21:41:50 +01:00
Björn Ketelaars
9278920bd5 1.2.0a: fix LibreSSL support, see #4403 2019-02-26 21:24:28 +01:00
Björn Ketelaars
c5e3f3b4d4 acl_get() and acl_set() should accept a fd. Related to #4403
Fixes:

self = <borg.archive.MetadataCollector object at 0x14ffb70b28d0>
st = os.stat_result(st_mode=16895, st_ino=246007, st_dev=65280, st_nlink=3, st_uid=100
0, st_gid=0, st_size=512, st_atime=1551123978, st_mtime=1551123979, st_ctime=155112397
9)
path = 'input', fd = 16

    def stat_ext_attrs(self, st, path, fd=None):
        attrs = {}
        bsdflags = 0
        with backup_io('extended stat'):
            if not self.nobsdflags:
                bsdflags = get_flags(path, st, fd=fd)
            xattrs = xattr.get_all(fd or path, follow_symlinks=False)
>           acl_get(path, attrs, st, self.numeric_owner, fd=fd)
E           TypeError: acl_get() got an unexpected keyword argument 'fd'

src/borg/archive.py:1023: TypeError
2019-02-26 17:06:58 +01:00
TW
81f9a8ccde
Merge pull request #4406 from ThomasWaldmann/fix-backup-root
fix openat/statat issues for root directory, fixes #4405
2019-02-26 11:58:31 +01:00
Thomas Waldmann
db2b385a8b fix openat/statat issues for root directory, fixes #4405
basename('/') == '' and we can't use that for openat/statat.
also, there is no parent FD for the root directory...
2019-02-26 11:18:37 +01:00
Joey
29e7701c3b timestamp for borg delete --info added, fixes #4359 2019-02-25 12:20:02 +01:00
TW
009bac2e9f
Merge pull request #4398 from ThomasWaldmann/rel120a2
Release 1.2.0a2
2019-02-24 22:01:59 +01:00
Thomas Waldmann
032a4effd3 build_man 2019-02-24 20:40:07 +01:00
Thomas Waldmann
bece7e8090 build_usage 2019-02-24 20:39:42 +01:00
Thomas Waldmann
34fa89b26c add release date 2019-02-24 20:34:44 +01:00
TW
2b16fc9039
Merge pull request #4396 from ThomasWaldmann/api-version-12
bump API_VERSIONs to 1.2_xx
2019-02-24 20:31:18 +01:00
TW
1d61940cfa
Merge pull request #4397 from ThomasWaldmann/update-changes-master
update changes (master)
2019-02-24 19:46:53 +01:00
Thomas Waldmann
a65cefb7bb bump API_VERSIONs to 1.2_xx 2019-02-24 19:45:41 +01:00
Thomas Waldmann
2e5e3a87e1 update CHANGES (master) 2019-02-24 19:23:47 +01:00
Thomas Waldmann
9637c3fbb3 update 1.1.6..1.1.9 sections of CHANGES (from 1.1-maint) 2019-02-24 15:53:02 +01:00
Thomas Waldmann
1344779113 update severe issues section of CHANGES (from 1.1-maint) 2019-02-24 15:50:37 +01:00