Commit Graph

5520 Commits

Author SHA1 Message Date
Thomas Waldmann
9c380405a2 build_usage 2019-03-21 21:11:18 +01:00
Thomas Waldmann
f1d23e0963 add release date 2019-03-21 21:08:08 +01:00
TW
2d4ad14f75
Merge pull request #4467 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2019-03-21 20:51:57 +01:00
Thomas Waldmann
3157809719 update CHANGES (master) 2019-03-21 20:35:13 +01:00
TW
676b5ffa9a
Merge pull request #4460 from ThomasWaldmann/fix-exception-rc
borg command shall terminate with rc 2 for ImportErrors, fixes #4424
2019-03-21 00:46:24 +01:00
TW
82b11d6b1f
Merge pull request #4459 from ThomasWaldmann/fix-2830
add comment about hashtable sizes, fixes #2830
2019-03-20 22:50:38 +01:00
Thomas Waldmann
97ca421fef borg command shall terminate with rc 2 for ImportErrors, fixes #4424
also: removed unused import.
2019-03-20 15:14:07 +01:00
Thomas Waldmann
7e7ea69e92 add comment about hashtable sizes, fixes #2830 2019-03-20 14:35:05 +01:00
TW
915d84ecb2
Merge pull request #4450 from ThomasWaldmann/freebsd-xattr-ns
freebsd xattr namespace fixes
2019-03-20 13:54:35 +01:00
TW
7b45e912c3
Merge pull request #4456 from ThomasWaldmann/update-docs-23
update master branch install docs (23)
2019-03-20 01:39:25 +01:00
Thomas Waldmann
060fb02112 docs: update requirements, fixes #4374
also some other minor install docs updates, to be continued...
2019-03-20 00:01:30 +01:00
Thomas Waldmann
f922cdd803 docs: remove libzmq3* for debian/ubuntu 2019-03-19 23:19:38 +01:00
Thomas Waldmann
f8371898ae docs: mention pkg-config / pkgconfig requirement, fixes #4452
both are required before invoking setup.py.

also mention libb2 requirement for pkgconfig being able to discover it.
2019-03-19 23:17:15 +01:00
Thomas Waldmann
e69b8996cc docs: remove zeromq requirement
borg currently does not use zeromq.
2019-03-19 23:06:24 +01:00
Thomas Waldmann
22e021a5ce docs: install libcrypt-devel on cygwin
this is included into Python.h, thus needed when compiling stuff.
2019-03-19 22:38:09 +01:00
Thomas Waldmann
d79d505d89 fuse xattr tests: remove freebsd from might-be-broken list 2019-03-18 22:21:25 +01:00
Thomas Waldmann
f66c102cc5 bump platform api version 2019-03-18 21:51:02 +01:00
Thomas Waldmann
0686237484 make freebsd xattr platform code api compatible with linux, fixes #3952
i.e. prefix the keys with the namespace, so it is ns.key like on
linux.

still only dealing with the "user" namespace, like before.
in the "system" namespaces there are ACLs (we deal with them via the acl
api, so no problem) and stuff from pnfsd (not sure what exactly).

this change is needed because FreeBSD's FUSE code expects the xattr
keys to be in that format.

it is also needed for cross-platform data exchange, so e.g. if one wants to:
- create archive on linux, extract on freebsd - with "user.xxx" xattrs.
- or vice versa.

archives made with older borg versions on freebsd will still extract correctly
on freebsd (not on linux though) even though they do not have the
namespace prefixes in the archived metadata (it will be interpreted in
same way as if they were prefixed by "user." as we do not support any
other namespace anyway).

they do not have "
2019-03-18 21:40:46 +01:00
TW
20756bd37f
Merge pull request #4448 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2019-03-17 23:10:10 +01:00
Thomas Waldmann
ad5fbd9485 update CHANGES (master)
also: markup fixes
2019-03-17 21:49:30 +01:00
Sitaram Chamarty
884798c3cb add a sample logging.conf in docs/misc (#4380)
add a sample logging.conf in docs/misc

(and point to it in the man page)
2019-03-17 15:05:04 +01:00
TW
cc4c737371
Merge pull request #4445 from ThomasWaldmann/fix-vagrant-4444
Vagrantfile: add zstd, reorder, build env vars, fixes #4444
2019-03-16 01:57:40 +01:00
Thomas Waldmann
d10684e39f Vagrantfile: add zstd, reorder, build env vars, fixes #4444 2019-03-16 01:56:22 +01:00
TW
5070401a3d
Merge pull request #4437 from ThomasWaldmann/pkg-config
use pkg-config / refactor setup code
2019-03-15 22:33:59 +01:00
Thomas Waldmann
426f3752c1 lib/header locating: add docs, move env vars querying to setup.py 2019-03-15 21:23:46 +01:00
Thomas Waldmann
7b27082a73 setup.py: bundled code vs system libs: use env vars we use anyway
these are already used internally when the build system can not find
a system library (neither via pkginfo nor BORG_LIBXXX_PREFIX is given)
and then triggers usage of the bundled code via these env vars.

now they are also used to tell right from the beginning "use the
bundled code" and in that case it will not try to locate system libs
and headers.
2019-03-15 19:54:33 +01:00
TW
3367831f58
Merge pull request #4442 from SanskritFritz/master
Shell completions: removed deprecated, add new options; borg diff second archive
2019-03-15 18:54:37 +01:00
SanskritFritz
936fc3d631 Shell completions: removed deprecated and added new options 2019-03-15 17:52:51 +01:00
SanskritFritz
8437972bc0 Shell completions for borg diff second archive 2019-03-15 17:40:47 +01:00
Thomas Waldmann
f4e7133a1e setup.py: move long_description generation to setup_docs 2019-03-14 01:33:30 +01:00
Thomas Waldmann
3166d145bb setup.py: add comment, remove unused imports 2019-03-14 00:34:07 +01:00
Thomas Waldmann
b516cf3c3f reduce amount of setup_*.py files in toplevel dir 2019-03-14 00:33:56 +01:00
Thomas Waldmann
1579d58b3e cope with pkgconfig ImportError 2019-03-14 00:18:15 +01:00
Thomas Waldmann
2fd0cff4e3 remove already commented cflags / ldflags 2019-03-14 00:18:03 +01:00
Thomas Waldmann
528aee3ca6 extension building: first crypto, then compression (cosmetic) 2019-03-13 18:30:15 +01:00
Thomas Waldmann
f828e883bd travis: install script improvements 2019-03-13 18:29:50 +01:00
Thomas Waldmann
5173b9f407 add pkg-config support, fixes #1925
1. BORG_*_PREFIX is checked (avoids lib detection via pkg-config).
2. pkg-config is tried
3. fallback to bundled C code (or failure in case of OpenSSL)

also:
- simplified code again
- removed (c) headers, nothing left of original code
2019-03-13 18:26:47 +01:00
Thomas Waldmann
80ade7093d simplify code by merging kwargs dicts at caller 2019-03-13 03:01:00 +01:00
Thomas Waldmann
7b2b8980b4 fix define_macros 2019-03-13 02:05:24 +01:00
TW
f20e6d751f
Merge pull request #4434 from ThomasWaldmann/file-changed-warning
determine whether a file has changed while being backed up, fixes #1750
2019-03-12 13:43:11 +01:00
TW
09681b6b18
Merge pull request #4432 from ThomasWaldmann/lrucache-clean-old
lrucache: regularly remove old FDs, fixes #4427
2019-03-12 13:42:17 +01:00
Thomas Waldmann
24bf01a40b moved bundled_path to setup_*.py 2019-03-12 03:44:43 +01:00
Thomas Waldmann
7db29017e5 simplify initial dirs/macros setup 2019-03-12 03:32:32 +01:00
Thomas Waldmann
2dfc6bb43f refactor openssl related code in setup.py
- removed hardcoded lib search pathes
- to find system libs/headers, one must point these env vars to them:
  BORG_OPENSSL_PREFIX
- moved some code from setup.py to setup_*.py
2019-03-12 03:15:59 +01:00
Thomas Waldmann
d6635da654 refactor lib/bundled related code in setup.py
- removed hardcoded lib search pathes
- to find system libs/headers, one must point these env vars to them:
  BORG_LIBLZ4_PREFIX, BORG_LIBZSTD_PREFIX, BORG_LIBB2_PREFIX
- moved some code from setup.py to setup_*.py
2019-03-12 02:46:00 +01:00
TW
625a0fc021
Merge pull request #4435 from akozlins/docs
docs: fix spelling errors
2019-03-11 23:07:29 +01:00
Thomas Waldmann
b3751b107d determine whether a file has changed while being backed up, fixes #1750 2019-03-11 22:55:27 +01:00
Alexandr Kozlinskiy
b780c36811 docs: fix spelling errors 2019-03-11 22:40:03 +01:00
Thomas Waldmann
6ae5530507 lrucache: regularly remove old FDs, fixes #4427 2019-03-11 02:38:24 +01:00
TW
e4438227c1
Merge pull request #4430 from ThomasWaldmann/rel120a4
Release 1.2.0a4
2019-03-11 02:22:29 +01:00