Commit Graph

2820 Commits

Author SHA1 Message Date
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 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
Marian Beermann fbaefc98c9 docs: add CVE numbers for issues fixed in 1.0.9
https://www.cvedetails.com/product/35461/Borg-Borg.html?vendor_id=16008
2017-01-27 11:58:08 +01:00
Thomas Waldmann 6996fa6dc0 creating a new segment: use "xb" mode, fixes #2099
"ab" seems to make no sense here (if there is already a (crap, but non-empty) segment file,
we would write a MAGIC right into the middle of the resulting file) and cause #2099.
2017-01-24 23:06:40 +01:00
TW cf0192cdd3 Merge pull request #2094 from enkore/issue/2092
Fix invalid hard links
2017-01-24 22:54:18 +01:00
Marian Beermann 8fe047ec8d mount: handle invalid hard link refs 2017-01-24 14:33:07 +01:00
TW b6191ececc Merge pull request #2096 from ThomasWaldmann/fix-use-after-close
SyncFile: fix use of fd object after close
2017-01-24 14:02:20 +01:00
Thomas Waldmann fc8be58b63 SyncFile: fix use of fd object after close 2017-01-22 16:54:06 +01:00
Marian Beermann d350e3a2e1 create: don't create hard link refs to failed files 2017-01-22 02:21:26 +01:00
enkore 739578ebba Merge pull request #2091 from enkore/issue/2073
detect mingw byte order
2017-01-22 02:09:06 +01:00
enkore 5f5b1b2ef6 Merge pull request #2089 from ThomasWaldmann/fix-manifest
Manifest.in: simplify, also exclude *.so *.dll *.orig
2017-01-22 00:54:10 +01:00
Marian Beermann fafd5e0399 hashindex: separate endian-dependent defs from endian detection
also make macro style consistent with other macros in the codebase.
2017-01-21 17:25:38 +01:00
Marian Beermann 90ae9076a4 hashindex: detect mingw byte order 2017-01-21 15:04:07 +01:00
TW ca0c1dab11 Merge pull request #2015 from ThomasWaldmann/fix-location-regex
fix bad parsing of wrong syntax
2017-01-21 05:46:58 +01:00
Thomas Waldmann ddd9d77e5d Manifest.in: simplify, exclude *.{so,dll,orig}, fixes #2066 2017-01-21 05:41:58 +01:00
TW 0b2321a13d Merge pull request #2085 from ThomasWaldmann/use-freebsd-release
vagrant freebsd: some fixes, fixes #2067
2017-01-20 05:00:08 +01:00
Thomas Waldmann 74c33463dc vagrant freebsd: some fixes, fixes #2067
- use -RELEASE, it can be updated via binaries
- more RAM, otherwise the 4 workers run out of memory.
- do not install / use fakeroot, it seems broken.
- set a hostname, this VM has none
2017-01-20 02:59:36 +01:00
TW bdab5deb2f Merge pull request #2084 from ThomasWaldmann/binaries-with-py353
Binaries with py353
2017-01-19 21:25:37 +01:00
Thomas Waldmann 7b9ff75960 use osxfuse 3.5.4 for tests / to build binaries 2017-01-19 19:02:13 +01:00
Thomas Waldmann 2b6e8a19e3 use python 3.5.3 to build binaries, fixes #2078 2017-01-19 18:58:14 +01:00
TW c44d9ad3c2 Merge pull request #2076 from ThomasWaldmann/fix-pyinstaller-bootloader
pyinstaller: use fixed AND freshly compiled bootloader, fixes #2002
2017-01-19 18:38:01 +01:00
Thomas Waldmann cdffd93139 pyinstaller: use fixed AND freshly compiled bootloader, fixes #2002 2017-01-17 02:09:28 +01:00
TW e022cf117c Merge pull request #2064 from ThomasWaldmann/update-1.0-changes
update CHANGES (1.0-maint)
2017-01-15 01:06:28 +01:00
Thomas Waldmann 9e8af73d7f update CHANGES (1.0-maint) 2017-01-15 01:05:40 +01:00