Commit Graph

4583 Commits

Author SHA1 Message Date
Alexander-N 61b53f8995 Remove several linting rules from ignored list in .coafile
These rules are not violated and don't need to be ignored.
2017-07-24 13:26:21 +02:00
enkore 77797a2fbf Merge pull request #2837 from milkey-mouse/fix392
Detail how to use macOS/GNOME/KDE keyrings for repo passwords (fixes #392)
2017-07-24 11:03:00 +02:00
Marian Beermann 2623e330a4 cache: write_archive_index: truncate_and_unlink on error 2017-07-24 10:45:57 +02:00
TW b85076db6f Merge pull request #2867 from ThomasWaldmann/rel110rc1
WIP: release 1.1.0rc1
2017-07-24 01:27:19 +02:00
Thomas Waldmann 43ecde1bde python setup.py build_usage 2017-07-23 17:12:01 +02:00
Thomas Waldmann 6b08ec78bb add release date to CHANGES 2017-07-23 17:07:43 +02:00
TW 090d2fead9 Merge pull request #2804 from ThomasWaldmann/update-changes
update CHANGES (master)
2017-07-23 17:04:55 +02:00
Thomas Waldmann 6c39c1c515 update CHANGES (master) 2017-07-23 17:00:56 +02:00
enkore eb3e7604d8 Merge pull request #2836 from enkore/docs/installation
Cleanup installation
2017-07-23 16:04:47 +02:00
Marian Beermann b3e0dd3761 docs: file system requirements, update segs per dir 2017-07-23 16:03:45 +02:00
TW 22bbe45f98 Merge pull request #2860 from ThomasWaldmann/fix-2853
give known chunk size to chunk_incref, fixes #2853
2017-07-23 14:31:07 +02:00
Thomas Waldmann 2edbcd7703 chunk_incref: compute "_size or size" only once 2017-07-23 13:53:48 +02:00
Thomas Waldmann fc3498ac53 chunk_incref: use "size" for public api 2017-07-23 13:53:48 +02:00
Thomas Waldmann 663d3c544a chunk_incref size assertion: fail early 2017-07-23 13:53:48 +02:00
Thomas Waldmann 186123cb68 give known chunk size to chunk_incref, fixes #2853
chunk_incref was called when dealing with part files without giving the
known chunk size in the size_ parameter.

adjusted LocalCache.chunk_incref to have same signature.
2017-07-23 13:53:47 +02:00
TW 1d008e87ab Merge pull request #2855 from lfos/add-mailmap
Add .mailmap
2017-07-23 02:02:07 +02:00
TW 4fa8805407 Merge pull request #2852 from ThomasWaldmann/lgtm-fixes
lgtm fixes
2017-07-23 02:01:29 +02:00
Thomas Waldmann 199f192a65 archive: closely wrap next() called from generator
lgtm:
Calling next() in a generator may cause unintended early termination of
an iteration.

It seems that lgtm did not detect the more loose wrapping that we used
before.
2017-07-23 02:00:55 +02:00
Thomas Waldmann 5cc2b900ee constants: avoid comparing constants
lgtm:
Comparison of constants is always constant, but is harder to read than
a simple constant.
2017-07-23 02:00:55 +02:00
TW d806d5213d fix checkpoints/parts reference in FAQ, fixes #2859 (#2861)
fix checkpoints/parts reference in FAQ, fixes #2859
2017-07-23 01:47:13 +02:00
Lukas Fleischer 631f857a67 Add .mailmap
Coalesce together commits by the same person in git-shortlog(1).

For people with different aliases, prefer full names over abbreviations
or nick names. For people with different email addresses, use the most
recent email address.
2017-07-22 16:29:03 +02:00
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
Marian Beermann cc93cbb202 docs: usage; remove strange blurb about tested platforms 2017-07-21 12:32:30 +02:00
Marian Beermann 735339c209 docs: streamline installation: platforms table 2017-07-21 12:32:30 +02:00
Marian Beermann ab773956c1 docs: streamline installation (2)
I can't give a good reason why anyone would care about this here.
This is right before distribution packages, which are per definition
compatible (sometimes tested, even).

Instead, mention it where it applies.
2017-07-21 12:32:30 +02:00
Marian Beermann 3d5a8016e6 docs: streamline installation: file systems 2017-07-21 12:32:30 +02: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
Milkey Mouse 756dea7e20
Detail how to use macOS/GNOME keyrings for repo passwords (fixes #392) 2017-07-19 14:20:28 -07: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