Thomas Waldmann
a96dede632
dash_open: generalized and renamed open_file_or_stdin
2017-07-05 01:58:31 +02:00
TW
9ca666907b
use limited unpacker for outer key, fixes #2174 ( #2790 )
...
* use limited unpacker for outer key, fixes #2174
* fixup: higher inner key data size limit
2017-07-04 22:51:31 +02:00
enkore
2730571966
Merge pull request #2793 from ThomasWaldmann/commit-in-with-lock
...
use commit() in borg with-lock, fixes #1867
2017-07-04 22:50:39 +02:00
enkore
a0d849693e
Merge pull request #2794 from antlarr/master
...
Fix openSUSE command and add openSUSE section
2017-07-04 12:33:56 +02:00
Antonio Larrosa
6c7b9a338c
Fix openSUSE command and add openSUSE section
...
Fix the name of the borgbackup package in openSUSE and
add an openSUSE section on how to install development dependencies
to build borgbackup from sources.
2017-07-04 12:27:58 +02:00
Thomas Waldmann
808d24d088
use commit() in borg with-lock, fixes #1867
2017-07-04 05:50:22 +02:00
TW
9bd522819e
Merge pull request #2778 from enkore/f/fuse-versions-numbering
...
fuse: versions view, linear numbering by archive time
2017-07-03 22:43:07 +02:00
TW
6b20f2af93
Merge pull request #2784 from ThomasWaldmann/prune-enhancements
...
prune enhancements / fixes
2017-07-03 20:44:18 +02:00
Thomas Waldmann
ac98fe3fbe
prune: fix checkpoints processing with --glob-archives
...
before the fix, the archives_checkpoints list could not always contain
checkpoints as the glob regex matched the end of the name, so there
could be no additional ".checkpoint" after the match.
2017-07-03 19:34:48 +02:00
Thomas Waldmann
d33b853f66
shellpattern: add match_end arg
...
match_end=r"\Z" is the default, same behaviour as before
(create a full match up to the string end from the globbing pattern).
match_end=otherregex can be flexibly used to match anything else
after the regex generated from the globbing pattern.
2017-07-03 19:34:48 +02:00
Thomas Waldmann
35a3a6adfb
prune: do globbing in Archives.list
2017-07-03 17:40:03 +02:00
enkore
e8bad14639
Merge pull request #2785 from ThomasWaldmann/fix-2700
...
patching objects does not work with the borg.exe binary, fixes #2700
2017-07-03 14:09:29 +02:00
Marian Beermann
9a856533ba
fuse: versions view, linear numbering by archive time
2017-07-03 12:38:10 +02:00
Thomas Waldmann
116a60f979
patching objects does not work with the borg.exe binary, fixes #2700
2017-07-03 01:55:11 +02:00
TW
99ff779908
Merge pull request #2777 from ThomasWaldmann/editorconfig
...
add a basic .editorconfig, fixes #2734
2017-07-03 01:33:25 +02:00
enkore
0f1797ba27
Merge pull request #2780 from enkore/fix/broken-filters
...
fix reversed archive ordering with --last
2017-07-03 00:03:55 +02:00
Marian Beermann
41b52ff0f5
Archives.list: reverse result after applying all other filters
2017-07-03 00:02:26 +02:00
Marian Beermann
2db377d6fb
fix --last, --first accepting negative values
...
also don't accept zero, because every use of these doesn't cover that case,
and it arguably doesn't make a lot of sense.
2017-07-03 00:02:26 +02:00
Marian Beermann
51c1c22c1f
fix reversed archive ordering with --last
2017-07-02 22:48:54 +02:00
enkore
46f363a27b
Merge pull request #2779 from enkore/docs/mount-examples
...
docs: mount: show usage of archive filters
2017-07-02 22:48:11 +02:00
Thomas Waldmann
8253dd23da
add a basic .editorconfig, fixes #2734
2017-07-02 22:43:16 +02:00
Marian Beermann
946f1a4eec
docs: mount: show usage of archive filters
...
this is pretty vital, since the versions view is basically
useless without them.
2017-07-02 22:15:14 +02:00
TW
c624e715ad
Merge pull request #2775 from ThomasWaldmann/fuse-versions-file-ext
...
FUSE versions view: keep original file extension at end, fixes #2769
2017-07-02 19:12:19 +02:00
Thomas Waldmann
51458b6b58
FUSE versions view: keep original file extension at end, fixes #2769
...
some tools depend on seeing the correct file extension to operate
correctly, so put our version to the left of the file extension.
2017-07-02 19:11:24 +02:00
enkore
b9392360e4
Merge pull request #2774 from enkore/f/cleanup-c
...
Some C/Cython cleanup
2017-07-02 18:31:17 +02:00
Marian Beermann
9827578df5
hashindex: don't pass side effect into macro
...
Py_XDECREF and friends are explicitly written to use op
only once in CPython (and other code relies on this,
Py_XDECREF(something()) is fairly common), but other
implementations don't guarantee this.
So, let's make a rule: don't pass side effects into macros, full stop.
2017-07-02 15:20:52 +02:00
Marian Beermann
336d0426db
crypto low_level: don't mutate local bytes()
...
CPython kind-of permits this (even by the docs),
other implementations don't. Allocate the result on the stack,
then copy to fresh bytes.
2017-07-02 15:19:50 +02:00
enkore
5cdd0294c0
Merge pull request #2768 from enkore/docs/no-l3toc
...
docs: no third level toc on command usage pages ("Description", "Examples")
2017-06-30 17:48:28 +02:00
Marian Beermann
f6c3d1d2cc
docs: no third level toc on command usage pages ("Description", "Examples")
2017-06-30 17:41:58 +02:00
enkore
193c1850e4
Merge pull request #2767 from enkore/issue/2462
...
docs: mount: add repository example
2017-06-30 11:05:47 +02:00
Marian Beermann
52f76d2cd6
docs: mount: add repository example
2017-06-30 10:54:18 +02:00
enkore
50066d75fc
Merge pull request #2766 from enkore/issue/2765
...
docs: info: update and add examples
2017-06-29 11:52:20 +02:00
Marian Beermann
4009a764ed
docs: info: update and add examples
...
The form of the output has changed and
new output has been added.
2017-06-29 11:49:27 +02:00
enkore
0a7c4a86d7
Merge pull request #2762 from enkore/issue/2760
...
key import: allow reading from stdin
2017-06-27 20:32:49 +02:00
enkore
1f08ab4cf7
Merge pull request #2761 from enkore/f/missing-tests
...
archiver: add test for "create -" and "extract --stdout"
2017-06-27 18:20:03 +02:00
Marian Beermann
29646d5b5e
key import: allow reading from stdin
2017-06-27 16:18:21 +02:00
Marian Beermann
f037e2b64f
archiver: add test for "create -" and "extract --stdout"
2017-06-27 16:06:01 +02:00
enkore
c9e71672bb
Merge pull request #2759 from enkore/f/missing-tests
...
Add some missing tests
2017-06-27 15:48:21 +02:00
Marian Beermann
4af1142693
archiver: add test_benchmark_crud, fix bug
...
benchmark crud would just crash with a TypeError due to the missing return
2017-06-27 14:56:27 +02:00
Marian Beermann
5d60669c50
archiver: add test for debug info
2017-06-27 14:56:26 +02:00
Marian Beermann
38d601619e
archiver: add test for debug refcount-obj
2017-06-27 14:56:12 +02:00
enkore
d0c1ea5935
Merge pull request #2758 from enkore/f/missing-tests
...
Add some missing tests
2017-06-27 14:21:23 +02:00
Marian Beermann
6c67b64ab6
xattr: test split_lstring
2017-06-27 12:22:33 +02:00
Marian Beermann
78f0e5d473
archiver: add test for paperkey import, fix bug
2017-06-27 12:22:33 +02:00
Marian Beermann
7965efd5d9
version: add missing test for format_version, fix bug
2017-06-27 10:11:57 +02:00
enkore
12fd244801
Merge pull request #2748 from enkore/f/cleanup-argparse2
...
archiver: more argparse cleanup, redundant options, missing metavars
2017-06-27 10:05:21 +02:00
TW
d14711c220
Merge pull request #2749 from ThomasWaldmann/include-attic-tgz
...
include attic.tar.gz when installing the package
2017-06-27 02:48:27 +02:00
Marian Beermann
39a09123ef
archiver: more consistent arguments formatting
2017-06-26 23:20:24 +02:00
Marian Beermann
97a76c296f
archiver: rename "filters" argument group to "Archive filters"
2017-06-26 23:10:43 +02:00
Marian Beermann
12bcccc0d6
docs: html: include group description in output
2017-06-26 23:10:12 +02:00