Commit Graph

4430 Commits

Author SHA1 Message Date
Thomas Kluyver 0edad19ee0 Update source-install about doc dependencies
Closes gh-2795
2017-07-15 15:49:55 +02:00
TW 68b44e8072 Merge pull request #2817 from Alexander-N/coala-requirements
Fix coala requirements
2017-07-15 10:46:51 +02:00
Alexander-N ad7f544e6b Fix coala requirements
Put each package on a separate line.

Error was:
  Invalid requirement: 'coala coala-bears'
2017-07-15 10:03:36 +02:00
enkore d16ed301be Merge pull request #2810 from enkore/issue/2809
create _endian.h
2017-07-14 17:45:14 +02:00
Marian Beermann 019a258709 create _endian.h 2017-07-11 19:12:19 +02:00
TW e36be956f1 Merge pull request #2792 from ThomasWaldmann/comment-placeholder
support borg list repo --format {comment}, fixes #2081
2017-07-06 03:12:01 +02:00
Thomas Waldmann 852505fb69 ItemFormatter: code defensively, always use new dict for returned object 2017-07-05 23:37:42 +02:00
Thomas Waldmann 75c602d294 support borg list repo --format {comment}, fixes #2081
Also supported: {bcomment} for binary and {end} for backup end time.

Refactor so ArchiveFormatter works similar to ItemFormatter.
2017-07-05 23:37:42 +02:00
Wladimir Palant 7be39af581 #2800 - Better explanation of the --ignore-inode option relevance (#2802)
Fixes #2800
2017-07-05 17:16:31 +02:00
enkore 6ffa797bde Merge pull request #2791 from ThomasWaldmann/dash_open
WIP dash_open
2017-07-05 10:02:34 +02:00
Thomas Waldmann e728d102ec use dash_open 2017-07-05 01:59:31 +02:00
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