Thomas Waldmann
ff64b4c424
be more precise about OpenBSD/NetBSD support
...
xattrs/ACLs need platform specific code and new have none (yet) for them.
2015-09-16 11:53:53 +02:00
Thomas Waldmann
f138d06dd5
more platform support, works on py 3.5
...
xattrs and ACLs on OpenBSD and NetBSD need development or adaptation of
the platform-specific code.
2015-09-16 11:44:53 +02:00
Thomas Waldmann
41860ef5f0
test setup: stay away from the setgid mode bit
...
for vagrant testing on misc. platforms, we can't know the group /
we can't have the same group everywhere.
but the OS won't let us set setgid bit if the file does not have our group.
on netbsd, the created file somehow happens to have group "wheel",
but vagrant is not in group wheel.
2015-09-15 23:52:17 +02:00
Thomas Waldmann
e8571c1c85
vagrant: more docs, some fixes
2015-09-15 23:45:12 +02:00
Thomas Waldmann
56bf8b79cb
add .vagrant to .gitignore
2015-09-15 18:27:16 +02:00
Thomas Waldmann
dc0938f639
vagrant: add netbsd (needs more work)
...
there's a problem with the shell:
- either it is no login shell, then e.g. PKG_PATH is not set (sh)
- or it is not found (no bash here)
- or it is not compatible enough (csh)
depending on what shell is configured, one or the other vagrant mode / feature
does not work.
2015-09-15 14:46:26 +02:00
Thomas Waldmann
cf9ba87734
test setup: do not set the sticky bit on a regular file
...
sticky bit only has a function on directories.
openbsd does not let one set sticky on files.
other systems seem to just ignore it.
2015-09-15 00:41:32 +02:00
Thomas Waldmann
bc5949a7f4
chunker: add a check whether the POSIX_FADV_DONTNEED constant is defined
...
on openbsd, it isn't.
2015-09-14 17:36:04 +02:00
Thomas Waldmann
568963eca7
vagrant: added openbsd
2015-09-14 17:35:04 +02:00
Thomas Waldmann
a9ee79309d
update CHANGES
2015-09-14 02:44:17 +02:00
Thomas Waldmann
13ded3d5e7
xattr tests: ignore security.selinux attribute showing up
2015-09-14 01:26:20 +02:00
TW
4030b4d9ea
Merge pull request #201 from ThomasWaldmann/vagrant
...
Vagrant updates
2015-09-13 23:56:44 +02:00
Thomas Waldmann
7bbe17fc77
vagrant: add centos 7 / 64 vm
2015-09-13 23:39:34 +02:00
Thomas Waldmann
39a335f628
Merge branch 'master' into vagrant
2015-09-13 18:17:13 +02:00
Thomas Waldmann
98c464f06b
vagrant: refine darwin, use osxfuse 3.0.x
2015-09-13 18:05:03 +02:00
Thomas Waldmann
5eb04969f8
setup.py: add the place where we link the lz4 header/lib on the darwin vagrant VM
2015-09-13 18:03:43 +02:00
TW
5a2744d001
Merge pull request #200 from ThomasWaldmann/vagrant
...
Vagrant
2015-09-13 03:22:17 +02:00
Thomas Waldmann
b47f49629d
use vagrant to create test installations
...
debian/ubuntu 32/64 bit
freebsd
darwin
note: darwin is starting up, but no ssh/rsync yet
2015-09-13 03:21:38 +02:00
Thomas Waldmann
c578419401
omit support files from coverage metrics
2015-09-13 01:21:45 +02:00
TW
e6ccd0e259
Merge pull request #199 from ThomasWaldmann/fix-argparse
...
add a argparse.py (from py 3.2.6) that is not broken
2015-09-13 01:18:59 +02:00
Thomas Waldmann
bc2cfdfc59
fix the other argparse import also
2015-09-13 01:01:48 +02:00
Thomas Waldmann
2b311846e0
add a argparse.py (from py 3.2.6) that is not broken
...
also: remove previois attempt to fix this, installing pypi argparse into virtualenv does not work.
2015-09-13 00:58:57 +02:00
Thomas Waldmann
7774d4f82c
ext3 seems to need a bit more space for a sparse file
...
but it is still sparse, just needed some adjustment
2015-09-13 00:36:17 +02:00
TW
15786d2563
Merge pull request #198 from tgharold/obtaining-char-from-temporary-python-value
...
Fix for Obtaining char from temporary python value
2015-09-12 23:43:05 +02:00
Thomas Harold
03579ddb5a
Obtaining 'char *' from temporary Python value
...
Old code causes a compile error on Mint 17.2
2015-09-12 17:21:49 -04:00
Thomas Waldmann
de39683883
Merge branch 'master' into vagrant
2015-09-12 23:13:16 +02:00
Thomas Harold
31fdba089f
Merge pull request #1 from borgbackup/master
...
Pull latest upstream master
2015-09-12 17:11:13 -04:00
Thomas Waldmann
6c619000e3
pull fixed argparse from pypi in case we have a buggy python
...
see argparse 1.4.0 changelog for details
2015-09-12 22:44:23 +02:00
Thomas Waldmann
cff7dffc95
detect lz4.h header file location
...
use similar code as for openssl headers
2015-09-12 19:38:38 +02:00
Thomas Waldmann
d74da7c031
llfuse 0.41 install troubles on some platforms, require < 0.41
...
UnicodeDecodeError exception due to non-ascii llfuse setup.py
2015-09-12 19:26:46 +02:00
Thomas Waldmann
e8f4fe0b88
pkg-config is needed for llfuse installation
2015-09-12 19:19:52 +02:00
Thomas Waldmann
bc021d4ed7
do not test lzma level 9 compression
...
got a MemoryError in a vagrant VM, level 9 needs a lot of memory...
2015-09-12 19:16:45 +02:00
Thomas Waldmann
1fa00c2a84
use vagrant to do easy cross-platform testing
2015-09-12 19:13:17 +02:00
TW
02fff766d0
Merge pull request #173 from ThomasWaldmann/faster-cache-sync
...
Faster cache sync
2015-09-11 02:13:58 +02:00
Thomas Waldmann
26bde96a3a
Merge branch 'master' into faster-cache-sync
2015-09-10 23:12:55 +02:00
Thomas Waldmann
1eecb020e8
cython code: add some int types to get rid of unspecific python add / subtract operations
...
they somehow pull in some floating point error code that led to a undefined
symbol FPE_... when using the borgbackup wheel on some non-ubuntu/debian linux
platform.
2015-09-10 23:12:12 +02:00
TW
638204fd0e
Merge pull request #193 from edgewood/osxPathNormalization
...
Normalize paths before pattern matching on OS X
2015-09-10 22:58:20 +02:00
Ed Blackman
13ddfdf4a3
Move pattern normalization decision into decorator
...
Using a decorator moves the duplicate code in the init methods into a
single decorator method, while still retaining the same runtime overhead
(zero for for the non-OSX path, one extra function call plus the call to
unicodedata.normalize for OSX). The pattern classes are much visually
cleaner, and duplicate code limited to two lines normalizing the pattern
on OSX.
Because the decoration happens at class init time (vs instance init time
for the previous approach), the OSX and non-OSX test cases can no longer
be called in the same run, so I also removed the OSX test case monkey
patching and uncommented the platform skipif decorator.
2015-09-09 15:00:58 -04:00
Ed Blackman
cc13f3db97
Express non-ascii pattern platform skips better
...
including correcting thinko in the commented-out OSX-only test
2015-09-09 13:48:46 -04:00
Ed Blackman
d510ff7c63
Merge non-ascii Include and ExcludePattern tests
...
to parallel the OSX non-ascii tests
2015-09-09 13:41:34 -04:00
Ed Blackman
d9fb1d2b03
Normalize paths before pattern matching on OS X
...
The OS X file system HFS+ stores path names as Unicode, and converts
them to a variant of Unicode NFD for storage. Because path names will
always be in this canonical form, it's not friendly to require users to
match this form exactly. Convert paths from the repository and patterns
from the command line to NFD before comparing them.
Unix (and Windows, I think) file systems don't convert path names into a
canonical form, so users will continue to have to exactly match the path
name they want, because there could be two paths with the same character
visually that are actually composed of different byte sequences.
2015-09-08 23:33:34 -04:00
TW
da5923ec04
Merge pull request #192 from ThomasWaldmann/create-dryrun
...
implement borg create --dry-run, attic issue #267
2015-09-08 19:04:34 +02:00
Thomas Waldmann
1aacdda4a4
implement borg create --dry-run, attic issue #267
...
also: fix verbose mode display of stdin backup
2015-09-08 03:12:45 +02:00
Thomas Waldmann
16e5f241fc
update CHANGES
2015-09-06 23:51:03 +02:00
TW
f852175c44
Merge pull request #187 from ThomasWaldmann/mount-relative-dir
...
use absolute path, attic issue #200 , attic issue #137
2015-09-06 23:49:12 +02:00
Thomas Waldmann
13f20647dc
use absolute path, attic issue #200 , attic issue #137
...
the daemonize code changes the cwd, thus a relative repo path can't work.
borg mount repo mnt # did not work
borg mount --foreground repo mnt # did work
borg mount /abs/path/repo mnt # did work
2015-09-06 23:26:47 +02:00
TW
68928e4c67
Merge pull request #186 from ThomasWaldmann/chunker_small_fixes
...
Chunker small fixes
2015-09-06 22:22:19 +02:00
Thomas Waldmann
e244fe2f69
change 2 more chunker vars to off_t
...
so they get 64bit on 32bit platforms.
2015-09-06 22:06:52 +02:00
Thomas Waldmann
32e276c526
Merge branch 'chunker_small_fixes' of https://github.com/sourcejedi/borg into chunker_small_fixes
2015-09-06 22:03:42 +02:00
TW
947fc095d8
Merge pull request #183 from ThomasWaldmann/borg-repo-envvar
...
BORG_REPO env var support
2015-09-06 21:51:24 +02:00