Commit Graph

3143 Commits

Author SHA1 Message Date
TW 7a5306b80c
Merge pull request #5533 from ThomasWaldmann/test-hashindex-corruption-bug-4829-1.0
add a test for the hashindex corruption bug, fixes #5531
2020-12-02 13:58:52 +01:00
Thomas Waldmann 6d31f25aa4 add a test for the hashindex corruption bug, fixes #5531
for the bug, see #4829.
2020-12-02 03:24:04 +01:00
Nick Venenga 1b3b52cf5b
Fix MacOS build for 1.0-maint (#5135)
use rbenv openssl 1.0 so it doesn't use openssl 1.1.

Homebrew formula python-build option

Docs aren't great but looks like you can specify a homebrew formula to use. If you don't, it looks like python-build ends up trying to use 1.1.

b1381d1d46/plugins/python-build/bin/python-build (L1512)

https://github.com/pyenv/pyenv/pull/1328
2020-06-01 15:33:32 +02:00
TW 387646864f
Merge pull request #4968 from ThomasWaldmann/fix-hashindex-set-1.0
fix bug in hashindex_set on resize, fixes #4829 (1.0-maint backport)
2020-03-05 22:36:06 +01:00
Thomas Waldmann 7bb90b6a51 fix bug in hashindex_set on resize, fixes #4829
the problem was that after a resize that was triggered by too few
empty buckets, the rebuilt new hash table had entries at different
positions than before, but the idx where to SET the entry was not
recomputed afterwards.
2020-03-05 15:24:06 +01:00
TW 2cfafc2ce3
Merge pull request #4981 from ThomasWaldmann/pin-test-requirements-1.0
development/test requirements: pin versions
2020-03-05 15:22:56 +01:00
Thomas Waldmann 74b4e7e2a7 development/test requirements: pin versions
hopefully avoids future breakage.
2020-03-05 14:46:50 +01:00
TW b9d834409c
Merge pull request #4371 from ThomasWaldmann/rel1013
WIP: release 1.0.13
2019-02-15 12:24:02 +01:00
Thomas Waldmann cf805696c8 CHANGES: add 1.0.13 release date 2019-02-15 09:53:20 +01:00
Thomas Waldmann 4635b8f0e3 build_usage 2019-02-15 09:50:24 +01:00
Thomas Waldmann c5501a07d1 update (c) year 2019-02-15 09:38:40 +01:00
Thomas Waldmann a5b914c8bb fix changelog formatting 2019-02-15 09:37:30 +01:00
TW abe777f2b7
Merge pull request #4368 from ThomasWaldmann/update-changes-1.0
update CHANGES (1.0-maint)
2019-02-15 09:27:56 +01:00
Thomas Waldmann e05ef7052b update CHANGES (1.0-maint) 2019-02-15 09:25:23 +01:00
TW 3950786f01
Merge pull request #4369 from ThomasWaldmann/lock-wait-docstring-1.0
clarify lock_wait docstring
2019-02-15 09:09:29 +01:00
Thomas Waldmann eee3585fbb clarify lock_wait docstring
1.1 had some bug due to this, see PR #3981,
changeset 2f3e60d9d5.

the bug does not apply to 1.0, but the improved doc strings might
still be useful.
2019-02-15 09:05:36 +01:00
TW cc29608917
Merge pull request #4355 from ThomasWaldmann/fuse-default-options-1.0
security fix: configure FUSE with "default_permissions", fixes #3903
2019-02-11 19:49:34 +01:00
Thomas Waldmann c8c504cd20 security fix: configure FUSE with "default_permissions", fixes #3903
"default_permissions" is now enforced by borg by default to let the
kernel check uid/gid/mode based permissions.

"ignore_permissions" can be given to not enforce "default_permissions".

note: man mount.fuse explicitly tells about the security issue:

    default_permissions
	By  default FUSE doesn't check file access permissions, ...
	This option enables permission checking, restricting access
	based on file mode.
	This option is usually useful together with the allow_other
	mount option.

We consider this a pitfall waiting for someone to fall into and this is
why we chose to change the default behaviour for borg.

(cherry picked from commit 1b277cb1ff)
2019-02-11 14:10:46 +01:00
TW 69320a8fbd
Merge pull request #4351 from ThomasWaldmann/update-changes-1.0
update CHANGES (1.0-maint)
2019-02-11 12:50:08 +01:00
TW 34f114932e
Merge pull request #4353 from ThomasWaldmann/vagrant-upgrades-1.0
Vagrant upgrades 1.0-maint
2019-02-11 12:49:23 +01:00
Thomas Waldmann a0161c31dd vagrant: upgrade osxfuse 3.8.0 -> 3.8.3
used for fat binary builds.
2019-02-11 12:47:17 +01:00
Thomas Waldmann 4ea5ff7256 vagrant: upgrade python 3.5.5 -> 3.5.6
used for fat binary builds.
2019-02-11 12:46:07 +01:00
Thomas Waldmann 53ecccf7b2 update CHANGES (1.0-maint) 2019-02-11 12:02:09 +01:00
TW f27da2171c
Merge pull request #4346 from ThomasWaldmann/update-scripts-1.0
signing binaries with Qubes OS support, docs
2019-02-11 02:47:58 +01:00
Thomas Waldmann 267d18d6e0 signing binaries with Qubes OS support, docs 2019-02-11 02:46:41 +01:00
TW dfc24b81dc
Merge pull request #4304 from ThomasWaldmann/twine-1.0
update release workflow using twine (docs, scripts), see #4213
2019-02-02 06:09:32 +01:00
Thomas Waldmann b32d6b134b update release workflow using twine (docs, scripts), see #4213 2019-02-01 23:52:52 +01:00
TW e542396d87
Merge pull request #4267 from ThomasWaldmann/travis-fix-brew-1.0
fix the homebrew 1.9 issues on travis-ci, fixes #4254
2019-01-25 02:04:51 +01:00
Thomas Waldmann bde45deaf5 tox.ini: lock requirements 2019-01-25 01:17:37 +01:00
Thomas Waldmann 096c8b3499 fix the homebrew 1.9 issues on travis-ci, fixes #4254
https://github.com/Homebrew/brew/pull/5517/files
2019-01-25 00:59:01 +01:00
TW 8297828611
Merge pull request #4084 from steelman/borg-passphrase-fd-1.0
read a passphrase from a file descriptor
2018-11-05 20:54:00 +01:00
Łukasz Stelmach c9c1403685 read a passphrase from a file descriptor
Read a passpharase from a file descriptor specified in the
BORG_PASSPHRASE_FD environment variable.
2018-11-05 17:29:56 +01:00
TW 59c9fccf57
Merge pull request #4150 from ThomasWaldmann/unbreak-travis
unbreak 1.0-maint on travis, fixes #4123
2018-11-04 17:36:16 +01:00
Thomas Waldmann 529e7831a8 lock development requirements, at least for travis
to avoid changes in the testing tools causing issues for our oldstable
version, lock stuff to a proven version.
2018-11-04 17:13:03 +01:00
Thomas Waldmann dd4727b2f1 avoid pluggy requirement conflict 2018-11-04 17:13:03 +01:00
Thomas Waldmann 0f32c913c8 pytest 3.6.0 raises a RemovedInPytest4Warning breaking pytest-xdist
... or execnet or something as it can't serialize this exception.

The warning is caused by our usage of a [pytest] section in setup.cfg.
I rather don't want to change this as it might break older pytest
versions.
2018-11-04 17:13:03 +01:00
Thomas Waldmann c3396c8ac7 use flake8 < 3.6.0 to avoid new checks for old source
we won't fix the issues found by recently added style checks in
1.0-maint (they are already fixed in master).
2018-11-04 17:13:03 +01:00
TW 6f9025c28f
Merge pull request #4099 from ThomasWaldmann/fix-travis
fix travis-ci breakage on 1.0-maint branch
2018-10-07 01:26:42 +02:00
Thomas Waldmann 6b37ef24a5 looks like brew update runs into issues, terminating the whole build 2018-10-07 00:56:28 +02:00
Thomas Waldmann 9486a66645 fix tox regression / incompatible change
tests are broken for tox 3.2.x .. 3.4.0 versions:

/home/travis/build/borgbackup/borg/.tox/py34/bin/python: Error while
  finding spec for 'borg.archiver' (<class 'ImportError'>: No module
  named 'borg')

we see this breakage only on 1.0-maint branch, 1.1-maint is fine.

1.1-maint uses the src/ code layout, 1.0-maint does not. related?
2018-10-07 00:36:57 +02:00
TW 2f9693f55c
Merge pull request #3967 from russelldavis/mac-docs-1.0
Update installation instructions for macOS
2018-07-07 20:02:22 +02:00
Russell Davis 9ca054dc77 Update installation instructions for macOS
- Updated `OS X` to the new `macOS` name
- Fuse 3.x is no longer just a prerelease
- Added instructions to install fuse via homebrew
2018-07-07 10:23:22 -07:00
TW e9321cc561
Merge pull request #3957 from ThomasWaldmann/fix-acl-proto-1.0
acl platform code: fix acl set return type (1.0-maint)
2018-07-05 23:15:51 +02:00
Thomas Waldmann 6754634ad7 acl platform code: fix acl set return type (1.0-maint) 2018-07-05 22:52:47 +02:00
TW 65c5ae7e49
Merge pull request #3951 from ThomasWaldmann/fix-xattr-ctypes-1.0
Fix xattr ctypes (1.0 backport)
2018-07-05 11:01:16 +02:00
Thomas Waldmann cb5d2f38c2 xattr: add linux {list,get,set}xattr ctypes prototypes
(cherry picked from commit 71b02912c9)
2018-07-03 23:18:14 +02:00
Thomas Waldmann b4e9397108 xattr: fix darwin flistxattr ctypes prototype
(cherry picked from commit 2d37c9d3f9)
2018-07-03 23:18:05 +02:00
TW b63a57faa6
Merge pull request #3881 from ThomasWaldmann/vagrant-fixes-1.0
Vagrant fixes (backport to 1.0)
2018-06-09 22:45:39 +02:00
Thomas Waldmann 9fad66c957 FUSE for macOS: upgrade 3.7.1 to 3.8.0
(cherry picked from commit c3d2315348)
2018-06-08 08:54:45 +02:00
Thomas Waldmann 4308632040 Vagrantfile fixes
remove borgbackup.egg-info dir in fs_init (after rsync)

exclude macOS High Sierra upgrade on the darwin64 machine

(cherry picked from commit 6f3a106b5e)
2018-06-08 08:54:45 +02:00