TW
f8246ce6bc
Merge pull request #3073 from ThomasWaldmann/fix-partial-lines-1.0
...
remote: deal with partial lines (1.0-maint backport)
2017-09-30 03:33:53 +02:00
TW
32d14447f5
Merge pull request #3072 from ThomasWaldmann/fix-spawn-passcommand-1.0
...
Fix subprocess environments (1.0-maint)
2017-09-30 02:42:20 +02:00
Thomas Waldmann
a5bfeddffe
remote: deal with partial lines, fixes #2637
...
due to block buffering (in borg, pipes, sshd, ssh) partial lines might
be received. for plain text, this causes cosmetic issues.
the code now makes sure handle_remote_line() only gets called with a
complete line (which is terminated by any universal newline char, a
pure \r seems to be needed for remote progress displays).
it also fixes a yet undiscovered partial utf-8-sequence decoding issue
that might occur for the same reason.
(cherry picked from commit f2b48cd5c8 )
2017-09-30 02:41:15 +02:00
Thomas Waldmann
315342edd2
use prepared env for xattr module's fakeroot version check
...
(cherry picked from commit 37a5442bef )
2017-09-30 02:00:24 +02:00
Thomas Waldmann
1ecab600f8
use prepared env for borg umount
...
(cherry picked from commit d6f810560c )
2017-09-30 01:54:12 +02:00
Thomas Waldmann
d5d2d6419f
use prepared env for calling BORG_PASSCOMMAND, fixes #3050
...
(cherry picked from commit 2f7d7bdbb8 )
2017-09-30 01:47:05 +02:00
TW
05454707d0
Merge pull request #3071 from ThomasWaldmann/exclude-cython027-1.0
...
exclude Cython 0.27(.0) in requirements, fixes #3066
2017-09-30 01:43:02 +02:00
Thomas Waldmann
55702777bb
refactor/fix subprocess env preparation
...
refactor: make a generally usable function
fix: remove support code for ancient pyinstaller
the "else" branch was needed for pyinstaller < 20160820 because it did
not have the LD_LIBRARY_PATH_ORIG env var, so we just killed LDLP
because we had no better way.
but with borg tests running under fakeroot, this is troublesome as
fakeroot uses this also and can't find its library without it.
so, just remove it, we do not need to support old pyinstaller.
(cherry picked from commit 5dd16672c0 )
2017-09-30 01:28:43 +02:00
Thomas Waldmann
2e1219d01e
exclude Cython 0.27(.0) in requirements, fixes #3066
...
https://github.com/cython/cython/issues/1880
(cherry picked from commit f170641bd4 )
2017-09-30 01:14:21 +02:00
TW
afbd7e373c
Merge pull request #3064 from ThomasWaldmann/rate-limit-faq-fix-1.0
...
Simplified rate limiting wrapper in FAQ (1.0-maint)
2017-09-26 23:57:12 +02:00
Alexander Meshcheryakov
61f0acd93b
Simplified rate limiting wrapper in FAQ
...
Exporting $RATE as environment variable is not need in this case.
And example does not use any bash specific features.
It should use default system shell instead.
(cherry picked from commit d3533de5f7 )
2017-09-26 23:55:25 +02:00
TW
81b058ab35
Merge pull request #3053 from ThomasWaldmann/update-docs-1.0
...
doc updates (1.0-maint)
2017-09-23 22:23:35 +02:00
Thomas Waldmann
9243293dff
docs: twitter account @borgbackup, fixes #2948
...
(cherry picked from commit 055f34f025 )
2017-09-23 22:17:24 +02:00
Thomas Waldmann
3e49a0d0d8
docs: add note about metadata dedup and --no[ac]time, fixes #2518
...
(cherry picked from commit eacea02d8c )
2017-09-23 22:17:21 +02:00
Thomas Waldmann
5007e3fbb4
docs: change-passphrase only changes the passphrase, fixes #2990
...
(cherry picked from commit b6abee4d68 )
2017-09-23 22:17:18 +02:00
TW
64b3c0fa10
Merge pull request #3045 from ThomasWaldmann/vagrant-updates-1.0
...
vagrant updates (1.0-maint)
2017-09-22 05:35:54 +02:00
Thomas Waldmann
f919339219
upgrade to FUSE for macOS 3.7.1
...
(cherry picked from commit ca34a33e7d )
2017-09-22 05:18:51 +02:00
Thomas Waldmann
4e5b06a179
use python 3.5.4 to build the binaries
...
(cherry picked from commit 3f6c14e854 )
2017-09-22 05:18:44 +02:00
TW
f45f9fcb64
Merge pull request #3023 from ThomasWaldmann/fix-2994-1.0
...
Fix #2994 (1.0-maint)
2017-09-15 00:15:12 +02:00
Thomas Waldmann
9529895ed4
get rid of datetime.isoformat to avoid bugs like #2994
...
(cherry picked from commit da2f8dbe81 )
2017-09-10 05:58:03 +02:00
Thomas Waldmann
9c3bae46e0
use safe parse_timestamp to parse timestamps, fixes #2994
...
also: refactor so it is possible to get tz-unaware datetime
objects from parse_timestamp.
(cherry picked from commit a9aa3c5f34 )
2017-09-10 05:41:08 +02:00
Thomas Waldmann
da30e54fc4
use ISO_FORMAT* constants
...
(cherry picked from commit 457f5ceb30 )
2017-09-10 05:27:59 +02:00
Thomas Waldmann
909c68a0d7
add ISO_FORMAT* constants to helpers module
...
no constants module here, so put it into helpers.
2017-09-10 05:17:40 +02:00
TW
1c6b38a0b4
Merge pull request #3004 from ThomasWaldmann/fd-cache-invalidation-1.0
...
FD cache invalidation (1.0-maint)
2017-09-07 21:38:37 +02:00
Thomas Waldmann
2798af3232
repo cleanup/write: invalidate cached FDs
...
(cherry picked from commit 88e1340445 )
2017-09-07 16:49:32 +02:00
Thomas Waldmann
90fdfd26d8
repository: test FD invalidation
2017-09-06 15:17:05 +02:00
TW
226062b9c8
Merge pull request #2984 from enkore/issue/2976-1.0
...
1.0 backport #2980 keymanager: don't depend on optional readline module
2017-08-30 23:16:19 +02:00
Marian Beermann
aa30be296b
keymanager: don't depend on optional readline module
...
(cherry picked from commit b8793d9577 )
2017-08-30 11:29:32 +02:00
TW
faa681ed06
Merge pull request #2971 from ThomasWaldmann/fix-timestamp-option-1.0
...
borg create --timestamp: set start time, fixes #2957
2017-08-27 20:46:06 +02:00
TW
4a4e2abfcb
Merge pull request #2972 from ThomasWaldmann/issue/2949-1.0
...
create: document exclusion through nodump
2017-08-27 20:45:46 +02:00
Marian Beermann
3b53823cbe
create: document exclusion through nodump
...
(cherry picked from commit 495f838d88 )
2017-08-27 15:42:45 +02:00
Thomas Waldmann
1d52b592cf
borg create --timestamp: set start time, fixes #2957
...
(cherry picked from commit ac404e3a74 )
2017-08-27 15:26:32 +02:00
TW
ab640a706c
Merge pull request #2969 from ThomasWaldmann/no-threadlocal-1.0
...
Buffer: fix wrong thread-local storage use (#2951 )
2017-08-27 14:49:30 +02:00
enkore
1163cb5179
Buffer: fix wrong thread-local storage use ( #2951 )
...
Buffer: delete support for multiple threads
Thread-local objects are a fairly complex footgun, so avoid them in
the first place. When a Compressor uses a Buffer (for example),
just create multiple Compressor instances for each thread, owned by
each thread. Minimize multiple ownership of objects across
threads if at all possible!
(cherry picked from commit f7ed5d7220 )
2017-08-25 05:12:52 +02:00
TW
349dc2fe29
Merge pull request #2941 from ThomasWaldmann/workaround-files-cache-corruption-1.0
...
ignore corrupt files cache, fixes #2939
2017-08-19 01:04:49 +02:00
Thomas Waldmann
5beaa5bd02
ignore corrupt files cache, fixes #2939
...
ignore the files cache when corrupt and emit a warning message
so the users notices that there is a problem.
2017-08-19 01:03:38 +02:00
TW
edda2e6989
Merge pull request #2932 from ThomasWaldmann/migrate-locks-1.0
...
migrate locks to child PID when daemonize is used
2017-08-14 17:52:28 +02:00
Thomas Waldmann
230e0feac6
migrate locks to child PID when daemonize is used
...
(cherry picked from commit 09e3a02fbc )
2017-08-14 00:25:51 +02:00
TW
1d8d1d8e8f
Merge pull request #2922 from ThomasWaldmann/fix-serve-exitcode-1.0
...
fix exitcode of borg serve, fixes #2910
2017-08-07 05:31:18 +02:00
Thomas Waldmann
3a7f0fea69
fix exitcode of borg serve, fixes #2910
...
(cherry picked from commit 583de3eeb1 )
2017-08-06 17:38:04 +02:00
TW
d68d7ac5da
Merge pull request #2907 from ThomasWaldmann/vagrant-fixes-1.0
...
backported vagrant-fixes for 1.0-maint
2017-08-03 04:59:26 +02:00
TW
2134a84895
Merge pull request #2908 from ThomasWaldmann/hash_modulo_speedup-1.0
...
replace modulo with if to check for wraparound in hashmap
2017-08-03 04:59:07 +02:00
Radu Ciorba
2cdd4353b6
replace modulo with if to check for wraparound in hashmap
...
Integer division is slow, and this improves the speed of all operations on the hashmap.
Benchmarked this patch on the rciorba/master-bench branch:
9e5d61e03c/results.html
(cherry picked from commit 12e0f55991 )
2017-08-01 06:01:03 +02:00
Thomas Waldmann
a07b771662
vagrant: netbsd: bash is already installed
...
(cherry picked from commit 4e40f8507d )
2017-08-01 04:49:37 +02:00
Thomas Waldmann
a01d595c85
vagrant: fix netbsd version in PKG_PATH
...
the VM is using netbsd 7.0.1, likely updating the version in the
PKG_PATH was forgotten when the machine itself was upgraded to a newer
version. it became visible now as the 6.1.5 stuff vanished from the
ftp server.
also: remove trailing /
(cherry picked from commit 1f5eba0cb8 )
2017-08-01 04:49:24 +02:00
Thomas Waldmann
0416bfdc5a
vagrant: add exe location to PATH when we build an exe
...
(cherry picked from commit c1f9ed991b )
2017-08-01 04:49:04 +02:00
TW
39f876229f
Merge pull request #2847 from borgbackup/rel1011
...
release 1.0.11
2017-07-21 03:51:39 +02:00
Thomas Waldmann
4367b568ab
python setup.py build_usage
2017-07-21 00:50:50 +02:00
Thomas Waldmann
1ece129ec9
set release date in changelog
2017-07-21 00:45:10 +02:00
TW
c89463add7
Merge pull request #2801 from ThomasWaldmann/update-changes-1.0
...
Update CHANGES (1.0-maint)
2017-07-21 00:41:41 +02:00