Commit Graph

5452 Commits

Author SHA1 Message Date
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
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