Thomas Waldmann
73e5ac4a2b
setup.py: fix same loop variables
...
lgtm:
Nested loops in which the target variable is the same for each loop make
the behavior of the loops difficult to understand.
(not really here, just wanted to get rid of lgtm warning)
2017-07-22 02:03:42 +02:00
Thomas Waldmann
b7b428edc2
repository: fix assert expression to not have a side effect
...
lgtm:
This 'assert' statement contains an expression which may have side effects.
2017-07-22 01:51:19 +02:00
TW
98090102c2
Merge pull request #2851 from ThomasWaldmann/upgrade-osxfuse
...
upgrade FUSE for macOS (osxfuse) from 3.5.8 to 3.6.3, fixes #2706
2017-07-21 23:28:00 +02:00
Thomas Waldmann
f2472b2fb6
upgrade FUSE for macOS (osxfuse) from 3.5.8 to 3.6.3, fixes #2706
2017-07-21 22:52:15 +02:00
TW
0c6a11a9f2
Merge pull request #2832 from rciorba/hash_modulo_speedup
...
replace modulo with if to check for wraparound in hashmap
2017-07-21 22:32:21 +02:00
TW
c2f7e738ba
Merge pull request #2846 from wzyboy/segment-filename
...
Document consequences of changing the segments_per_dir value
2017-07-21 22:23:13 +02:00
Zhuoyun Wei
f0de6a4c90
Doc: add warning about changing segments_per_dir values
2017-07-21 12:26:24 -04:00
Zhuoyun Wei
7d07a9629e
Doc: update default values in sample config file
2017-07-21 12:26:17 -04:00
enkore
a72b2e363b
Merge pull request #2849 from borgbackup/enkore-patch-1
...
docs: recreate: fix wrong "remove unwanted files" example
2017-07-21 11:52:35 +02:00
enkore
a61462693a
docs: recreate: fix wrong "remove unwanted files" example
2017-07-21 11:51:46 +02:00
Radu Ciorba
12e0f55991
replace modulo with if to check for wraparound in hashmap
...
Integer division is slow, and this improves the speed of all operations on the hashmap.
Benchmarked this patch on the rciorba/master-bench branch:
9e5d61e03c/results.html
2017-07-20 13:22:34 +03:00
rugk
c5c361be0c
Fix bashism in shell scripts ( #2820 )
...
Fix bashism in shell scripts, also fixes #2816
This makes the scripts fully POSIX-compatible.
Used shellcheck to check.
2017-07-20 00:23:59 +02:00
TW
ffe7bdb88c
Merge pull request #2838 from milkey-mouse/fix2834
...
Use archive creation time as mtime for FUSE mount (fixes #2834 )
2017-07-19 02:22:44 +02:00
Alexander-N
2149e7847d
Ignore more pylint rules in .coafile ( #2823 )
...
Ignore them for now, so that they can be fixed later one by one.
2017-07-19 01:50:22 +02:00
TW
06f711e16d
Merge pull request #2828 from milkey-mouse/fix2730
...
Reference list of status chars in borg recreate --filter description
2017-07-19 01:41:07 +02:00
TW
3b354eef0e
Merge pull request #2839 from Alexander-N/e0211
...
Enable pylint check E0211 (method has no argument) in .coafile
2017-07-19 00:27:56 +02:00
Milkey Mouse
6ef5c9c960
Use archive creation time as mtime for FUSE mount ( fixes #2834 )
2017-07-18 15:07:59 -07:00
Milkey Mouse
bcbf80287c
Add list of status chars to borg create --filter help text
2017-07-18 14:31:15 -07:00
Alexander-N
f7c843fd21
Enable pylint check E0211 (method has no argument) in .coafile
...
Adapt Attic013Item in test_attic013_acl_bug so that as_dict takes `self` as
first argument. This was the only case where E0211 was violated.
2017-07-17 11:21:30 +02:00
TW
26bc80f210
Merge pull request #2818 from takluyver/i2815
...
Use code markup for command line option headings
2017-07-15 17:01:05 +02:00
TW
fafa18b0a9
Merge pull request #2824 from takluyver/i2811
...
Name backup directories with 'before-upgrade'
2017-07-15 16:56:58 +02:00
TW
b9f47aba1f
Merge pull request #2822 from takluyver/i2795
...
Update source-install about doc dependencies
2017-07-15 16:51:21 +02:00
TW
b81a507b29
Merge pull request #2819 from Alexander-N/coala-config
...
Update path to chunker.c in .coafile
2017-07-15 16:47:57 +02:00
Thomas Kluyver
ae2a1b8135
Name backup directories with 'before-upgrade'
...
Closes gh-2811
2017-07-15 16:23:08 +02:00
Alexander-N
bb26709cf5
Update path to chunker.c in .coafile
2017-07-15 16:02:20 +02:00
Thomas Kluyver
0edad19ee0
Update source-install about doc dependencies
...
Closes gh-2795
2017-07-15 15:49:55 +02:00
Thomas Kluyver
0fcdb97f5d
Fix cross reference
2017-07-15 15:03:46 +02:00
Thomas Kluyver
84940e32b2
Use code markup for command line options
...
Closes gh-2815
2017-07-15 15:02:41 +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