TW
d64985dea2
Merge pull request #2248 from ThomasWaldmann/hashtable-minor-fix
...
rebuild hashtable if we have too little empty buckets, fixes #2246
2017-03-04 17:36:45 +01:00
Thomas Waldmann
c5cd8828b1
hashindex: rebuild hashtable if we have too little empty buckets, fixes #2246
...
if there are too many deleted buckets (tombstones), hashtable performance goes down the drain.
in the worst case of 0 empty buckets and lots of tombstones, this results in full table scans for
new / unknown keys.
thus we make sure we always have a good amount of empty buckets.
2017-03-04 00:53:44 +01:00
TW
12c7afa894
Merge pull request #2193 from bebehei/borg-remote-path-docs
...
[docs] improve remote-path description
2017-03-01 01:58:16 +01:00
enkore
9a5bc514b3
Merge pull request #2231 from leo-b/1.0-maint-patterns
...
Fix for PR #1971
2017-02-28 20:08:05 +01:00
Alexander 'Leo' Bergolth
fefe59589e
--patterns-from was accessing args.roots instead of args.paths
...
add a test case that parses a command containing --patterns-from
2017-02-28 12:01:37 +01:00
enkore
8b5ad3819c
Merge pull request #2228 from ThomasWaldmann/update-files-cache-inodes-1.0-maint
...
files cache: update inode number, backport fix for #2226
2017-02-27 16:53:18 +01:00
Thomas Waldmann
12ebbf9038
files cache: update inode number, backport fix for #2226
2017-02-27 16:02:41 +01:00
TW
dd8df84fe5
Merge pull request #2223 from kmq/1.0-maint
...
document snapshot usage #2178
2017-02-27 00:09:31 +01:00
kmq
96ebb096e9
Document relative path usage #1868
2017-02-27 00:51:44 +02:00
kmq
9f07d13c4a
document snapshot usage #2178
2017-02-27 00:30:26 +02:00
Benedikt Heine
f068d4e421
[docs] improve remote-path description
2017-02-22 02:03:39 +01:00
enkore
17537be13c
Merge pull request #2170 from ThomasWaldmann/fuse-integer-blocks
...
fuse: fix st_blocks to be an integer (not float) value
2017-02-17 17:37:39 +01:00
Thomas Waldmann
81d3a4eb22
fuse: fix st_blocks to be an integer (not float) value
...
it's basically ceil(dsize / blocksize) now (without doing floating point ops).
2017-02-16 23:55:27 +01:00
enkore
3a3dfcbef5
Merge pull request #2149 from borgbackup/release-1.0.10
...
Release 1.0.10
2017-02-13 13:29:14 +01:00
Thomas Waldmann
e5f7121296
paperkey.html - decode as utf-8, fixes #2150
...
hardcoded the encoding for reading it. while utf-8 is the default
encoding on many systems, it does not work everywhere.
and when it tries to decode with the ascii decoder, it fails.
2017-02-13 04:12:12 +01:00
Marian Beermann
bb626034ee
add paperkey.html to pyinstaller spec
2017-02-13 00:54:54 +01:00
Marian Beermann
33aeb22092
docs/api: cleanup
2017-02-12 22:49:47 +01:00
Marian Beermann
e208d1150e
setup.py: build_api: sort file list for determinism
2017-02-12 22:41:35 +01:00
Marian Beermann
6304556779
ran build_usage
2017-02-12 22:33:12 +01:00
Marian Beermann
1cf58fb633
ran build_api
2017-02-12 22:33:08 +01:00
Marian Beermann
32acaff5c3
docs: changes: fix two rST warnings
2017-02-12 22:29:28 +01:00
Marian Beermann
0d20a0d6f0
key export: center QR code on the page
2017-02-12 22:26:10 +01:00
Marian Beermann
cf1f409871
add test for export key --qr-html
2017-02-12 22:26:06 +01:00
Marian Beermann
e635f219b3
update CHANGES (1.0.10)
2017-02-12 22:25:12 +01:00
enkore
d188886269
Merge pull request #1971 from leo-b/1.0-maint-patterns
...
new --pattern and --patterns-from options
2017-02-12 19:06:35 +01:00
enkore
c688b1be85
Merge pull request #2146 from bebehei/samefs-mountpoints-doc-maint
...
clearify doc for same filesystems
2017-02-12 18:40:46 +01:00
Benedikt Heine
d3a2f36b03
clearify doc for same filesystems
2017-02-12 17:18:08 +01:00
enkore
4f9dd98a31
Merge pull request #2135 from textshell/feature/paperkey-doc-qr
...
paperkey+qr html+js template
2017-02-12 15:33:04 +01:00
Martin Hostettler
257e55f37e
Add qr html export mode to `key export` command
2017-02-10 22:32:01 +01:00
Martin Hostettler
52e84a6e2d
quickstart.rst: Add link to paperkey template.
2017-02-10 22:32:01 +01:00
Martin Hostettler
57bc1ff47d
paperkey.html: Add interactive html template for printing key backups.
2017-02-10 22:32:01 +01:00
TW
455a9c0292
Merge pull request #2136 from textshell/update-authors
...
Add myself to AUTHORS
2017-02-07 01:14:17 +01:00
Martin Hostettler
bd8be26e7f
Add myself to AUTHORS
2017-02-07 00:32:39 +01:00
textshell
5479ef469d
Merge pull request #2115 from textshell/fix/manifest-timestamp
...
Manifest: Make sure manifest timestamp is strictly monotonically increasing.
2017-02-04 16:17:45 +01:00
enkore
2209b9c01e
Merge pull request #2122 from ThomasWaldmann/pytest2x-compat
...
pytest: use [pytest] section in setup.cfg
2017-02-04 15:17:52 +01:00
Thomas Waldmann
acc44a1c57
pytest: use [pytest] section in setup.cfg
...
[tool:pytest] only works for pytest >= 3.0.
2017-02-04 00:54:15 +01:00
Martin Hostettler
6b8cf0aa8c
Manifest: Make sure manifest timestamp is strictly monotonically increasing.
...
Computer clocks are often not set very accurately set, but borg
assumes manifest timestamps are never going back in time.
Ensure that this is actually the case.
2017-01-30 00:21:33 +01:00
TW
d23dbb47ba
Merge pull request #2110 from ThomasWaldmann/release-1.0.10rc1
...
release 1.0.10rc1
2017-01-29 03:39:33 +01:00
Thomas Waldmann
e6c1931d47
ran build_usage
2017-01-28 23:36:56 +01:00
TW
62526149e6
Merge pull request #2090 from ThomasWaldmann/update-1.0-changes
...
update CHANGES (1.0-maint)
2017-01-28 23:28:56 +01:00
Thomas Waldmann
dc3492642d
update CHANGES (1.0-maint)
2017-01-28 23:26:25 +01:00
TW
2c1751cbd5
Merge pull request #2104 from ThomasWaldmann/fix-fadvise-fail
...
Work around fadvise fail
2017-01-28 23:10:16 +01:00
Thomas Waldmann
add38e8cde
ignore posix_fadvise errors in repository.py, work around #2095
...
note: we also ignore the call's return value in _chunker.c.
both is harmless as the call not working does not cause incorrect function,
just worse performance due to constant flooding of the cache (as if we
would not issue the call).
2017-01-28 22:38:25 +01:00
Thomas Waldmann
5a39d5c4f8
make LoggedIO.close_segment reentrant
...
if anything blows up in the middle of a (first) invocation of close_segment()
and an exception gets raised, it could happen that close_segment() gets called
again (e.g. in Repository.__del__ or elsewhere).
As the self._write_fd was set to None rather late, it would re-enter the if-block
then.
The new code gets the value of self._write_fd and also sets it to None in one tuple
assignment, so re-entrance does not happen.
Also, it uses try/finally to make sure the important parts (fd.close()) gets executed,
even if there are exceptions in the other parts.
2017-01-28 22:38:25 +01:00
TW
213e7b7364
Merge pull request #2109 from ThomasWaldmann/vagrantfile-improvements
...
vagrant: improve darwin64 VM settings
2017-01-28 16:57:08 +01:00
Thomas Waldmann
f74b533d6d
vagrant: improve darwin64 VM settings
...
somehow without these cpuid settings it does not work for everybody.
also nice if we can get away without the extensions pack, which is proprietary.
do not update iTunes, we just want the OS security / bugfix updates
2017-01-28 16:56:14 +01:00
TW
127250c400
Merge pull request #2102 from enkore/issue/2082
...
mount: umount on SIGINT/^C when in foreground
2017-01-28 15:14:22 +01:00
Marian Beermann
2cfaf03f84
mount: umount on SIGINT/^C when in foreground
2017-01-28 14:54:56 +01:00
TW
528891aee9
Merge pull request #2100 from ThomasWaldmann/fix-double-magic
...
creating a new segment: use "xb" mode, fixes #2099
2017-01-28 14:17:57 +01:00
TW
4e2171548e
Merge pull request #2107 from enkore/issue/2106
...
docs: add CVE numbers for issues fixed in 1.0.9
2017-01-27 18:37:06 +01:00