1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
Commit graph

4690 commits

Author SHA1 Message Date
Thomas Waldmann
6049a07b74 don't brew update, hopefully fixes #2532 2017-10-12 03:37:48 +02:00
TW
c8bf9dba4a Merge pull request #3122 from ThomasWaldmann/logging-config-fix
logging with fileConfig: set json attr on "borg" logger, fixes #3114
2017-10-11 01:08:31 +02:00
TW
13a4439bb8 Merge pull request #3120 from ThomasWaldmann/fix-nonlocal-path-detection
fix detection of non-local path, fixes #3108
2017-10-11 01:01:17 +02:00
TW
0bddbb32b4 Merge pull request #3119 from ThomasWaldmann/no-time-end
recreate: don't crash on attic archives w/o time_end, fixes #3109
2017-10-11 00:55:22 +02:00
TW
8455ab3ff2 Merge pull request #3121 from ThomasWaldmann/support-no-hardlinks
catch ENOTSUP for os.link, fixes #3107
2017-10-11 00:32:37 +02:00
TW
17cfc2c4a4 Merge pull request #3118 from ThomasWaldmann/fallback-no-truncate
don't crash in first part of truncate_and_unlink, fixes #3117
2017-10-11 00:11:30 +02:00
Thomas Waldmann
afba813706 logging with fileConfig: set json attr on "borg" logger, fixes #3114 2017-10-10 02:18:13 +02:00
Thomas Waldmann
203a5c8f19 catch ENOTSUP for os.link, fixes #3107 2017-10-10 01:57:58 +02:00
Thomas Waldmann
60e9249100 fix detection of non-local path, fixes #3108
filenames like ..foobar are valid, so, to detect stuff in upper dirs,
we need to include the path separator and check if it starts with '../'.
2017-10-10 01:36:44 +02:00
Thomas Waldmann
7a689b1295 don't crash in first part of truncate_and_unlink, fixes #3117 2017-10-10 01:25:19 +02:00
Thomas Waldmann
9d3daebd5f recreate: don't crash on attic archives w/o time_end, fixes #3109 2017-10-10 01:17:56 +02:00
TW
b853ad8f85 Merge pull request #3112 from FabioPedretti/master
use --format rather than --list-format in examples, the latter is deprecated
2017-10-09 14:48:19 +02:00
Fabio Pedretti
bc42f58c04 use --format rather than --list-format in examples, the latter is
deprecated
2017-10-09 14:09:43 +02:00
TW
ebd811b352 Merge pull request #3104 from enkore/issue/3103
init: fix wrong encryption choices in command line parser
2017-10-09 04:15:06 +02:00
Marian Beermann
b00179ff78 init: fix wrong encryption choices in command line parser 2017-10-08 12:29:03 +02:00
TW
5436a253b0 Merge pull request #3085 from ThomasWaldmann/compressed-not-larger
auto compression: make sure expensive compression is actually better
2017-10-07 13:52:38 +02:00
TW
c3ba00c28e Merge pull request #3095 from ThomasWaldmann/manpage-issue-role
implement simple "issue" role for manpage generation, fixes #3075
2017-10-07 13:49:52 +02:00
TW
37347e6e6e Merge pull request #3094 from ThomasWaldmann/fix-man-typo
manpage: fix typos, update homepage
2017-10-07 13:48:43 +02:00
Thomas Waldmann
bf3f8e5672 implement simple "issue" role for manpage generation, fixes #3075 2017-10-07 04:11:29 +02:00
Thomas Waldmann
62e0f7a64e manpage: fix typos, update homepage 2017-10-07 03:34:03 +02:00
TW
0f0cf0877c Merge pull request #3087 from ThomasWaldmann/faq-eta
faq: we do not implement futile attempts of ETA / progress displays
2017-10-06 20:30:03 +02:00
TW
902581a96c Merge pull request #3090 from ThomasWaldmann/fuse-version-comments
add some comments about recent fuse versions to setup.py
2017-10-06 20:25:41 +02:00
TW
8cccd63df1 Merge pull request #3089 from ThomasWaldmann/py35-requirement
check for py 3.5 minimum requirement in setup.py
2017-10-06 20:24:24 +02:00
Thomas Waldmann
ce956fa0af add some comments about recent fuse versions to setup.py 2017-10-06 20:01:17 +02:00
Thomas Waldmann
be9fb349de check for py 3.5 minimum requirement in setup.py
we do not test on 3.4 any more and have dropped support for it.
so we better enforce it in setup.py also.
2017-10-06 19:38:28 +02:00
Thomas Waldmann
fe08437337 faq: we do not implement futile attempts of ETA / progress displays 2017-10-05 22:19:39 +02:00
Timothy Burchfield
21601d5f53 Quickstart guide minor corrections (#3084)
quickstart: minor grammar correction and added consistency with substitution of 'Borg'
2017-10-03 23:18:33 +02:00
Thomas Waldmann
011e0fd3fa auto compression: make sure expensive compression is actually better
if it is not significantly better compressed, we just store lz4
compressed data (which we already have computed anyway), because
that at least decompressed super fast.
2017-10-03 21:11:43 +02:00
TW
35c042b97b Merge pull request #3078 from ThomasWaldmann/fix-subprocess-env
fix LDLP restoration for subprocesses, fixes #3077
2017-10-01 20:48:54 +02:00
Thomas Waldmann
b5069770b7 fix LDLP restoration for subprocesses, fixes #3077 2017-10-01 19:17:23 +02:00
TW
08e2053075 Merge pull request #3024 from ThomasWaldmann/files-cache-ctime
implement files cache mode control, fixes #911
2017-10-01 01:15:13 +02:00
Thomas Waldmann
5e2de8ba67 implement files cache mode control, fixes #911
You can now control the files cache mode using this option:

--files-cache={ctime,mtime,size,inode,rechunk,disabled}*

(only some combinations are supported)

Previously, only these modes were supported:
- mtime,size,inode (default of borg < 1.1.0rc4)
- mtime,size (by using --ignore-inode)
- disabled (by using --no-files-cache)

Now, you additionally get:
- ctime alternatively to mtime (more safe), e.g.:
  ctime,size,inode (this is the new default of borg >= 1.1.0rc4)
- rechunk (consider all files as changed, rechunk them)

Deprecated:
- --ignore-inodes (use modes without "inode")
- --no-files-cache (use "disabled" mode)

The tests needed some changes:
- previously, we use os.utime() to set a files mtime (atime) to specific
  values, but that does not work for ctime.
- now use time.sleep() to create the "latest file" that usually does
  not end up in the files cache (see FAQ)
2017-10-01 00:52:32 +02:00
TW
dcf5e77253 Merge pull request #3069 from ThomasWaldmann/exclude-cython027
exclude Cython 0.27(.0) in requirements, fixes #3066
2017-09-29 02:16:59 +02:00
Thomas Waldmann
7e94d42853 exclude Cython 0.27(.0) in requirements, fixes #3066
https://github.com/cython/cython/issues/1880
2017-09-29 01:36:22 +02:00
TW
e8e204833c Merge pull request #3058 from ThomasWaldmann/fix-partial-json
remote: deal with partial lines, fixes #2637
2017-09-26 22:03:26 +02:00
TW
ea1dc4d822 Merge pull request #3061 from Self-Perfection/patch-1
Simplified rate limiting wrapper in FAQ
2017-09-25 21:22:48 +02:00
Alexander Meshcheryakov
f7ec13eabb Simplified rate limiting wrapper in FAQ
Exporting $RATE as environment variable is not need in this case.

And example does not use any bash specific features.
It should use default system shell instead.
2017-09-25 15:43:07 +03:00
TW
7f68283352 Merge pull request #3051 from ThomasWaldmann/fix-spawn-passcommand
fix subprocess environments
2017-09-25 05:27:29 +02:00
Thomas Waldmann
a57e23fdb3 use prepared env for xattr module's fakeroot version check 2017-09-25 04:36:07 +02:00
Thomas Waldmann
cf59f653e5 use prepared env for borg export-tar --tar-filter subprocess 2017-09-25 04:36:07 +02:00
Thomas Waldmann
b88da10641 use prepared env for borg umount 2017-09-25 04:36:07 +02:00
Thomas Waldmann
6da5bf4b85 use prepared env for borg with-lock 2017-09-25 04:36:07 +02:00
Thomas Waldmann
6a6fd31804 use prepared env for calling BORG_PASSCOMMAND, fixes #3050 2017-09-25 04:36:06 +02:00
Thomas Waldmann
ba941b0801 refactor/fix subprocess env preparation
refactor: make a generally usable function

fix: remove support code for ancient pyinstaller

the "else" branch was needed for pyinstaller < 20160820 because it did
not have the LD_LIBRARY_PATH_ORIG env var, so we just killed LDLP
because we had no better way.

but with borg tests running under fakeroot, this is troublesome as
fakeroot uses this also and can't find its library without it.

so, just remove it, we do not need to support old pyinstaller.
2017-09-25 04:34:58 +02:00
Thomas Waldmann
8646216a06 remote: deal with partial lines, fixes #2637
due to block buffering (in borg, pipes, sshd, ssh) partial lines might
be received. for plain text, this causes cosmetic issues, for json it
causes tracebacks due to parse errors.

the code now makes sure handle_remote_line() only gets called with a
complete line (which is terminated by any universal newline char, a
pure \r seems to be needed for remote progress displays).

it also fixes a yet undiscovered partial utf-8-sequence decoding issue
that might occur for the same reason.
2017-09-25 02:44:54 +02:00
TW
d719c1eb70 Merge pull request #3037 from ThomasWaldmann/remove-110b-logger
remove client_supports_log_v3 flag, fixes #3033
2017-09-25 00:50:36 +02:00
TW
ed36839f96 Merge pull request #3057 from ThomasWaldmann/pyi-use-py36
use Python 3.6.2 for the pyinstaller binary
2017-09-24 22:16:32 +02:00
Thomas Waldmann
2ee068317c use Python 3.6.2 for the pyinstaller binary 2017-09-24 22:15:07 +02:00
TW
ad2bdef9f6 Merge pull request #3056 from ThomasWaldmann/pyi33-get-from-fixes-branch
pyinstaller: use v3.3, fetch from v3.3-fixed branch
2017-09-24 22:05:00 +02:00
Thomas Waldmann
eaa1290502 pyinstaller: use v3.3, fetch from v3.3-fixed branch 2017-09-24 22:01:33 +02:00