Commit Graph

1106 Commits

Author SHA1 Message Date
Antoine Beaupré e3433f433c generate usage include files only as needed
right now, the update_usage script regenerates the usage files at
every call

by moving this into the makefile, we make those files be generated
only when the source file change, which makes testing docs much faster
2015-09-30 17:30:56 -04:00
Thomas Waldmann bc9679f0e5 development docs: update / fix / add Vagrant section
thanks to level323 for the vagrant docs
2015-09-30 17:38:51 +02:00
Thomas Waldmann ba5fa0ba99 update / improve / reformat FAQ
- reduce redundancy (platforms are documented in README.rst)
- reformat to 80 chars width
- clarify checkpoints
- remove workarounds for stuff that was fixed
2015-09-30 17:13:22 +02:00
Thomas Waldmann 6aca4694fe fix segment entry header size check, attic issue #352
it only checked for too big sizes, but not for too small ones.
that made it die with a ValueError and not raise the appropriate IntegrityError
that gets handled in check() and triggers the repair attempt for the segment.
2015-09-30 16:10:50 +02:00
Thomas Waldmann a3d967bdff hint to single-file pyinstaller binaries from README 2015-09-28 00:41:40 +02:00
Thomas Waldmann 507752f39a update CHANGES 2015-09-28 00:34:18 +02:00
Thomas Waldmann 524ca297ea document binary and non-binary requirements 2015-09-28 00:22:20 +02:00
Thomas Waldmann 4a71613f14 modularize Vagrantfile, use centos6 boxes for building the binaries
for building binaries that run everywhere, we need to love old stuff like centos6,
because it has the oldest glibc version which we want to support.

use 768MB for 64bit machines (not 512)
2015-09-28 00:05:52 +02:00
Thomas Waldmann 86502d2729 docs: explain --read-special in more detail, fixes #220 2015-09-26 14:24:37 +02:00
Thomas Waldmann 22f335e0a0 docs: add how to build wheels and standalone binaries 2015-09-21 21:48:46 +02:00
Thomas Waldmann 7dbe2b80b3 docs: add a note about the single-file binaries 2015-09-21 21:28:18 +02:00
Thomas Waldmann c557613e3a vagrant: darwin: give configure options so libpython gets build
it is needed by pyinstaller to build the borg binary
2015-09-21 21:20:33 +02:00
Thomas Waldmann 9dc98eeb45 vagrant: add py3.4 for precise/trusty, install pyinstaller
also: source .profile so the PATH is ok
2015-09-20 22:22:40 +02:00
Thomas Waldmann 4410f1c3c3 docs: must run make html after tagging, so the html titel says correct version 2015-09-19 22:38:00 +02:00
Thomas Waldmann 688488d62d docs: must run make html before release 2015-09-19 22:20:41 +02:00
Thomas Waldmann 507d90f476 MANIFEST.in: add some more excludes 2015-09-19 22:17:46 +02:00
Thomas Waldmann d4de0fd019 remove remainders of versioneer, typo fix. 2015-09-19 21:44:40 +02:00
Thomas Waldmann 0f68f1ccd1 add docs about release process 2015-09-19 21:35:02 +02:00
Thomas Waldmann 6ef7a9b11b update CHANGES for 0.26 release 2015-09-19 20:57:02 +02:00
Thomas Waldmann fb8d1cc602 also mention libattr
ACLs are implemented as xattrs, so libattr is pulled in as a dependency of libacl.
2015-09-19 20:31:26 +02:00
Thomas Waldmann 5de30e9a05 update CHANGES 2015-09-19 19:02:03 +02:00
TW 07ff905276 Merge pull request #212 from ThomasWaldmann/match-counting
Match counting
2015-09-19 18:56:06 +02:00
Thomas Waldmann ab76176553 fix: patterns might be None 2015-09-19 18:38:44 +02:00
Thomas Waldmann e0a08c5cae borg extract: warn if a include pattern never matched, fixes #209 2015-09-19 18:16:47 +02:00
Thomas Waldmann 15b003e344 add a string representation for Include/ExcludePattern
it just gives the original string that was used.
2015-09-19 18:03:53 +02:00
Thomas Waldmann 08417b52ec implement counters for Include/ExcludePatterns 2015-09-19 17:48:41 +02:00
Thomas Waldmann aed6cc9446 be more clear about pruning, attic issue #132 2015-09-19 16:58:02 +02:00
TW 44d1a32e60 Merge pull request #211 from ThomasWaldmann/archivename_validation
archive names with slashes are invalid, attic issue #180
2015-09-19 16:32:03 +02:00
Thomas Waldmann cad0515178 archive names with slashes are invalid, attic issue #180
for borg mount's FUSE filesystem, we use the archive name as a directory name,
thus slashes are not allowed.
2015-09-19 16:09:20 +02:00
Thomas Waldmann 375717c095 tests: work around strange mtime granularity issue on netbsd, fixes #204
not sure where the problem is:
it seems to announce it supports st_mtime_ns, but if one uses it and
has a file with ...123ns, i t gets restored as ...000ns.

Then I tried setting st_mtime_ns_round to -3, but it still failed with +1000ns difference.

Maybe rounding is incorrect and it should be truncating?
Issue with granularity could be in python, in netbsd (netbsd platform code), in ffs filesystem, ...
2015-09-18 00:02:44 +02:00
Thomas Waldmann 48634d4e96 tests: ignore st_rdev if file is not a block/char device, fixes #203 2015-09-17 22:41:49 +02:00
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