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
Marian Beermann
0a496c1064
archiver: define_archive_filters_group
2017-06-26 22:50:57 +02:00
Marian Beermann
0fabefdb59
archiver: define_exclusion_group to avoid repetition
2017-06-26 22:48:55 +02:00
Thomas Waldmann
8aba5772b5
include attic.tar.gz when installing the package
2017-06-26 22:23:02 +02:00
Marian Beermann
cbeda1d8e3
archiver: more argparse cleanup, redundant options, missing metavars
2017-06-26 21:04:39 +02:00
TW
1932fe8ea9
Merge pull request #2731 from ThomasWaldmann/limit-unpacker-manifest
...
Manifest: use limited unpacker
2017-06-26 01:42:11 +02:00
Thomas Waldmann
89f3cab6cd
move get_limited_unpacker to helpers
...
also: move some constants to borg.constants
2017-06-25 23:36:28 +02:00
Thomas Waldmann
6c2c51939d
Manifest: use limited unpacker
2017-06-25 23:36:28 +02:00
TW
c83c4d633a
Merge pull request #2744 from edgewood/master
...
Split up interval parsing and filtering for --keep-within
2017-06-25 23:28:21 +02:00
Ed Blackman
9c5425dda8
Split up interval parsing from filtering for --keep-within
...
Fixes #2610
Parse --keep-within argument early, via new validator method interval
passed to argparse type=, so that better error messages can be given.
Also swallows ValueError stacktrace per the comment in the old code that
including it wasn't desirable.
2017-06-25 12:10:13 -04:00
TW
f3fc546c9d
Merge pull request #2742 from htgoebel/patch-2
...
Vagrantfile: Fix set-up of cygwin and its sshd.
2017-06-25 17:34:06 +02:00
TW
ec4958fb1c
Merge pull request #2740 from ThomasWaldmann/fuse-writing
...
FUSE vs. fuse
2017-06-25 00:37:09 +02:00
Hartmut Goebel
045a676825
Vagrantfile: cygwin: Fix installation of pip.
...
cygwin is at python-3.6 now. Use version-independent `ensurepip`
to be future-proof.
2017-06-24 19:44:36 +02:00