Commit Graph

2936 Commits

Author SHA1 Message Date
Thomas Waldmann 0b46c0d192 enable remote tests on cygwin
the cygwin issue that caused these tests to break was fixed in cygwin
at least since cygwin 2.8.0 (maybe even since 2.7.0).

also added a comment to our workaround (os_write wrapper, that is needed
still for people running older cygwin versions) that it can be removed
when cygwin 2.8.0 is considered ancient (and everybody has upgraded to
some fixed version).

(cherry picked from commit 4766d66875)
2017-06-21 00:49:29 +02:00
Steve Groesz b40e819363 Add bountysource badge (at right), fixes #2558
(cherry picked from commit a9aab705cc)
(cherry picked from commit 6571cb1726)
2017-06-21 00:46:21 +02:00
edgimar de2dd9f23c Update changes.rst
fix denglish
(cherry picked from commit b57fb1a5e5)
2017-06-21 00:43:15 +02:00
Marian Beermann 1de042f9e5 key file names: limit to 100 characters (not bytes)
(cherry picked from commit 38ed9a20af)
2017-06-21 00:39:24 +02:00
Marian Beermann 649afe0c17 key file names: remove colons from host name
(cherry picked from commit 4b8a04b5e7)
2017-06-21 00:37:46 +02:00
enkore d67597a11e Create empty docs.txt reequirements (see #2694) 2017-06-18 01:46:59 +02:00
textshell 41193eac51 Merge pull request #2134 from textshell/feature/mandatory-features
Add minimal version of in repository mandatory feature flags.
2017-06-09 22:11:06 +02:00
Martin Hostettler 6ce476a42b Add tests for cache compatibility code. 2017-06-08 21:38:59 +02:00
Martin Hostettler fb128fbf84 Cache: Wipe cache if compatibility is not sure
Add detection of possibly incompatible combinations
of the borg versions maintaining the cache and the featues used.
2017-06-08 20:36:56 +02:00
Martin Hostettler 7f57086223 permit manifest version 2 as well 1 one. 2017-06-08 20:36:55 +02:00
Martin Hostettler ca5ea4f53d Add tests for mandatory repository feature flags. 2017-06-08 20:36:55 +02:00
Martin Hostettler 8783460fc3 Add minimal version of in repository mandatory feature flags.
This should allow us to make sure older borg versions can be cleanly
prevented from doing operations that are no longer safe because of
repository format evolution. This allows more fine grained control than
just incrementing the manifest version. So for example a change that
still allows new archives to be created but would corrupt the repository
when an old version tries to delete an archive or check the repository
would add the new feature to the check and delete set but leave it out
of the write set.

This is somewhat inspired by ext{2,3,4} which uses sets for
compat (everything except fsck), ro-compat (may only be accessed
read-only by older versions) and features (refuse all access).
2017-06-08 20:36:54 +02:00
enkore 3a5ae844a1 Merge pull request #2559 from enkore/bp2
Backports for 1.0.11
2017-05-23 16:24:27 +02:00
Thomas Waldmann 73dea37432 use _host to store host/ipv4/ipv6
for ipv6, it includes the outer square brackets.

the host property strips any outer square brackets.
2017-05-23 15:31:08 +02:00
Benedikt Neuffer 97c770e318 ipv6 address support
also: Location: more informative exception when parsing fails
2017-05-23 15:31:04 +02:00
Thomas Waldmann 93a7c82d84 README: how to help the project 2017-05-23 15:28:16 +02:00
Marian Beermann d9681c6b15 fuse: fix crash if empty (None) xattr is read 2017-05-23 15:27:39 +02:00
Marian Beermann fa9cef7abf mount: do pre-mount checks before opening repository 2017-05-23 15:26:12 +02:00
Marian Beermann 450146e6ca mount: check llfuse is installed before asking for passphrase 2017-05-23 15:25:41 +02:00
enkore ecf45d33bc Merge pull request #2545 from enkore/issue/2542
note -v/--verbose requirement on affected options
2017-05-21 17:19:31 +02:00
Marian Beermann 8ca7faaf1e note -v/--verbose requirement on affected options
This is fixed in 1.1.
2017-05-21 16:55:19 +02:00
enkore 6f3a9f8ba9 Merge pull request #2512 from enkore/issue/2463
Remove patterns from 1.0-maint branch
2017-05-16 19:42:29 +02:00
Marian Beermann 1c6cefbee7 Revert "Merge pull request #1971 from leo-b/1.0-maint-patterns"
This reverts commit d188886269, reversing
changes made to c688b1be85.

# Conflicts:
#	borg/archiver.py
2017-05-15 23:41:09 +02:00
Marian Beermann 6335d593ab Revert "Merge pull request #2231 from leo-b/1.0-maint-patterns"
This reverts commit 9a5bc514b3, reversing
changes made to 8b5ad3819c.
2017-05-15 23:38:17 +02:00
Marian Beermann 173ecfddb4 Revert "Merge pull request #2401 from ThomasWaldmann/patterns-style-default-1.0"
This reverts commit 7a4e9e7a6f, reversing
changes made to b007808706.
2017-05-15 23:37:28 +02:00
TW 967a40dcdb Merge pull request #2464 from ThomasWaldmann/limit-y2038-1.0
embrace y2038 issue to support 32bit platforms (1.0-maint)
2017-04-30 00:19:37 +02:00
Thomas Waldmann 6a929c689e embrace y2038 issue to support 32bit platforms
(cherry picked from commit de76a6b821)
2017-04-29 23:56:53 +02:00
enkore 939855af79 Merge pull request #2456 from ThomasWaldmann/doc-updates-backports-1.0
doc updates backported to 1.0
2017-04-28 22:09:31 +02:00
enkore 3451135536 Merge pull request #2457 from ThomasWaldmann/beyond-repair-1.0
be more clear that this is a "beyond repair" case, fixes #2427
2017-04-28 22:09:10 +02:00
Thomas Waldmann 5ed63479c1 be more clear that this is a "beyond repair" case, fixes #2427
(cherry picked from commit 697942cd01)
2017-04-28 21:30:16 +02:00
Thomas Waldmann dcaf997c28 document borg init behaviour via append-only borg serve, fixes #2440
(cherry picked from commit ba20d8d131)
2017-04-28 21:28:15 +02:00
Thomas Waldmann 0de22594a6 be clear about what buzhash is used for, fixes #2390
and want it is not used for (deduplication).

also say already in the readme that we use a cryptohash
for dedupe, so people don't worry.

(cherry picked from commit bf69b049e9)
2017-04-28 21:28:15 +02:00
Thomas Waldmann a87f35b0cc add hint about chunker params to borg upgrade docs, fixes #2421
(cherry picked from commit f0188449c3)
2017-04-28 19:37:28 +02:00
Thomas Waldmann c8c773bac3 clarify borg upgrade docs, fixes #2436
(cherry picked from commit ca6257dd48)
2017-04-28 19:34:58 +02:00
TW b60f42f8f3 Merge pull request #2452 from ThomasWaldmann/upgrade-osxfuse-1.0
upgrade FUSE for macOS to 3.5.8, fixes #2346
2017-04-28 06:01:22 +02:00
Thomas Waldmann 3e650e0aa3 upgrade FUSE for macOS to 3.5.8, fixes #2346 2017-04-28 04:59:36 +02:00
TW b1d8e98baa Merge pull request #2409 from ThomasWaldmann/update-changes-1.0
update CHANGES (1.0-maint)
2017-04-20 14:16:55 +02:00
Thomas Waldmann 7d69f8c685 update CHANGES (1.0-maint) 2017-04-09 21:34:07 +02:00
TW 1cf4740c59 Merge pull request #2400 from ThomasWaldmann/rename-with-placeholders-1.0
borg rename: expand placeholders, fixes #2386
2017-04-09 20:48:05 +02:00
TW 7a4e9e7a6f Merge pull request #2401 from ThomasWaldmann/patterns-style-default-1.0
support switching the pattern style default in patterns file
2017-04-09 20:47:51 +02:00
TW b007808706 Merge pull request #2402 from ThomasWaldmann/test-delete-force-1.0
add test for borg delete --force
2017-04-09 20:47:39 +02:00
TW cdc0f2172a Merge pull request #2403 from ThomasWaldmann/use-pyi321-1.0
use pyinstaller v3.2.1, fixes #2396
2017-04-08 19:28:19 +02:00
Thomas Waldmann 5deac22834 use pyinstaller v3.2.1, fixes #2396
this fixes that the prelink cronjob on some distros kills the
borg binary by stripping away parts of it.
2017-04-07 17:10:08 +02:00
Thomas Waldmann 8f86f2a732 add test for borg delete --force
(cherry picked from commit 2ad5f903fe)
2017-04-07 05:53:14 +02:00
Thomas Waldmann e653e1e273 support switching the pattern style default in patterns file
(cherry picked from commit 42371181fc)
2017-04-07 05:35:33 +02:00
Thomas Waldmann 11b974289a borg rename: expand placeholders, fixes #2386
(cherry picked from commit c7256abd84)
2017-04-07 05:24:19 +02:00
enkore bb7d4bac13 Merge pull request #2382 from ThomasWaldmann/backports2
1.0-maint backports
2017-04-04 19:39:57 +02:00
Marian Beermann 949871d463 serve: fix forced command lines containing BORG_ env vars
(cherry picked from commit 88dfb3e9c5)
2017-04-04 18:50:09 +02:00
Thomas Waldmann c07c911643 fix error msg, it is --keep-within, not --within
(cherry picked from commit 9957282315)
2017-04-03 22:47:09 +02:00
Thomas Waldmann 1e44ea8869 fix borg key/debug/benchmark crashing without subcommand, fixes #2240
(cherry picked from commit a38a7d0293)
2017-04-03 22:42:59 +02:00