Martin Hostettler
fd0250d34a
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-09 23:13:31 +02:00
enkore
9bc00f01aa
Merge pull request #2641 from Gelma/master
...
Fix typos
2017-06-09 16:59:42 +02:00
Andrea Gelmini
e4247cc0d2
Fix typos
2017-06-09 16:49:30 +02:00
Marian Beermann
13fe802713
docs: deployment: hosting repositories
2017-06-09 16:08:47 +02:00
Marian Beermann
c5d2c7c799
docs: split deployment
2017-06-09 16:00:46 +02:00
enkore
7d400a3f46
Merge pull request #2639 from enkore/docs/experimental
...
docs: highlight experimental features in online docs
2017-06-09 15:09:59 +02:00
Marian Beermann
3664adb95d
docs: highlight experimental features in online docs
2017-06-09 14:19:55 +02:00
Marian Beermann
1d5d50463c
hashindex_compact: use memmove for possibly overlapping copy
2017-06-09 12:23:27 +02:00
Marian Beermann
a75bfae2cf
testsuite: Corruption test_chunks_archive, adapt for .compact
2017-06-09 12:23:27 +02:00
Marian Beermann
92a01f9d6c
cache sync: fix incorrect .integrity location for .compact
2017-06-09 12:23:27 +02:00
Marian Beermann
3789459a41
cache sync: extract read_archive_index function
2017-06-09 12:23:26 +02:00
Marian Beermann
09a9d892cf
cache sync: convert existing archive chunks idx to compact
2017-06-09 12:23:26 +02:00
Marian Beermann
295ac86d71
testsuite: hashindex: test compact -> merge
2017-06-09 12:23:26 +02:00
Marian Beermann
1379af22de
HashIndexCompactTestCase
2017-06-09 12:23:26 +02:00
Marian Beermann
6e011b9354
cache: compact hashindex before writing to chunks.archive.d
2017-06-09 12:23:26 +02:00
TW
eeaeaf9e12
Merge pull request #2634 from ThomasWaldmann/cygwin
...
enable remote tests on cygwin
2017-06-09 00:08:01 +02:00
enkore
554ac7455e
Merge pull request #2636 from enkore/issue/2634
...
hashindex: Cython defines PY_SSIZE_T_CLEAN
2017-06-08 17:39:43 +02:00
Marian Beermann
b75c214af5
hashindex: Cython defines PY_SSIZE_T_CLEAN
2017-06-08 15:16:52 +02:00
enkore
6add4daa54
Merge pull request #2635 from borgbackup/enkore-patch-1
...
gitattributes: docs/usage/*.rst.INC merge=ours
2017-06-08 13:11:58 +02:00
enkore
63d94cd14b
gitattributes: docs/usage/*.rst.INC merge=ours
2017-06-08 13:11:49 +02:00
enkore
524e0b5322
docs: development: vagrant, windows10 requirements
2017-06-08 12:27:16 +02:00
Thomas Waldmann
4766d66875
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).
2017-06-08 02:23:57 +02:00
enkore
19c8adb109
Merge pull request #2632 from enkore/docs/nanorst
...
nanorst for --help
2017-06-08 02:00:55 +02:00
enkore
b0e4c432a5
Merge pull request #2633 from enkore/precise-pangolin
...
borg.algorithms definition
2017-06-08 00:19:38 +02:00
Marian Beermann
5b9c34f523
borg.algorithms definition
2017-06-07 23:53:19 +02:00
Marian Beermann
3f8a0221ee
Revert "move chunker to borg.algorithms"
...
This reverts commit 956b50b29c
.
# Conflicts:
# setup.py
# src/borg/archive.py
# src/borg/helpers.py
2017-06-07 23:51:42 +02:00
Marian Beermann
1cf031045c
nanorst for --help
2017-06-07 18:16:11 +02:00
enkore
300f2955a9
Merge pull request #2631 from enkore/docs/man-examples-fix
...
docs: fix build_man for relocated examples
2017-06-07 16:31:02 +02:00
Marian Beermann
0d6064e7f3
docs: fix build_man for relocated examples
2017-06-07 16:29:37 +02:00
enkore
2118fb45a2
Merge pull request #2630 from enkore/issue/2252
...
docs: faq: Can I use Borg on SMR hard drives?
2017-06-07 11:29:40 +02:00
Marian Beermann
cd67628646
docs: changes: fix rst warning
2017-06-07 11:28:45 +02:00
Marian Beermann
07deaf14cb
docs: faq: Can I use Borg on SMR hard drives?
2017-06-07 11:28:43 +02:00
enkore
fa28d483f0
Merge pull request #2629 from enkore/f/gitignore
...
update .gitignore
2017-06-07 11:06:58 +02:00
Marian Beermann
ee821a70f5
update .gitignore
2017-06-07 11:06:37 +02:00
enkore
02a8205395
Merge pull request #2627 from enkore/docs/split-usage
...
docs: split usage
2017-06-07 10:00:08 +02:00
TW
af979c2b2a
Merge pull request #2617 from ThomasWaldmann/fix-parse-version
...
fix parse_version, add tests, fixes #2556
2017-06-07 02:04:25 +02:00
Thomas Waldmann
a7e8e8ccd9
fix parse_version, add tests, fixes #2556
2017-06-07 01:15:58 +02:00
enkore
fb26b3c728
Merge pull request #2622 from enkore/issue/2557
...
repository: truncate segments before unlinking
2017-06-07 00:49:02 +02:00
Marian Beermann
13adc80cde
docs: usage: avoid bash highlight, [options] instead of <options>
2017-06-07 00:44:53 +02:00
Marian Beermann
22311abe02
docs: usage: add benchmark page
...
Previously, benchmark crud was not contained in the usage pages
at all.
2017-06-07 00:42:43 +02:00
Marian Beermann
8fb7db71bc
docs: split usage
2017-06-07 00:38:48 +02:00
enkore
bc23890259
Merge pull request #2626 from enkore/docs/broken-changelog
...
docs: fix broken changes listing of 1.1.0b6
2017-06-07 00:17:21 +02:00
Marian Beermann
52afd5f4ff
docs: fix broken changes listing of 1.1.0b6
2017-06-07 00:17:05 +02:00
enkore
bdd5f7c1e9
Merge pull request #2625 from enkore/issue/2623
...
docs: don't suggest to leak BORG_PASSPHRASE
2017-06-06 21:32:11 +02:00
Marian Beermann
3faafb1dee
docs: faq: specify "using inline shell scripts"
2017-06-06 21:30:58 +02:00
Marian Beermann
aa7fbff55f
docs: quickstart: delete problematic BORG_PASSPRHASE use
2017-06-06 21:29:31 +02:00
Marian Beermann
1135114520
helpers: truncate_and_unlink doc
2017-06-06 19:52:08 +02:00
Marian Beermann
ed0a5c798f
platform.SaveFile: truncate_and_unlink temporary
...
SaveFile is typically used for small files where this is not
necessary. The sole exception is the files cache.
2017-06-06 18:13:20 +02:00
Marian Beermann
95064cd241
repository: truncate segments before unlinking
2017-06-06 17:21:45 +02:00
enkore
68b61acffd
Merge pull request #2619 from ThomasWaldmann/remove-attic-dependency
...
remove attic dependency of the tests, fixes #2505
2017-06-06 11:43:52 +02:00