Commit Graph

5000 Commits

Author SHA1 Message Date
Thomas Waldmann c3d2315348 FUSE for macOS: upgrade 3.7.1 to 3.8.0 2018-06-02 21:27:44 +02:00
Thomas Waldmann 6f3a106b5e Vagrantfile fixes
remove borgbackup.egg-info dir in fs_init (after rsync)

exclude macOS High Sierra upgrade on the darwin64 machine
2018-06-02 21:26:11 +02:00
TW bff2a8256a
Merge pull request #3869 from ThomasWaldmann/review-progress-args
borg prune: improve progress display
2018-06-02 15:51:16 +02:00
TW 5f1e61f58a
Merge pull request #3871 from ThomasWaldmann/update-lz4-bundle
update bundled lz4 code
2018-06-02 15:28:00 +02:00
Thomas Waldmann f7c7384285 update bundled lz4 code to 1.8.2 2018-06-02 01:25:52 +02:00
Thomas Waldmann bf6fa04650 temporarily prefer bundled lz4 to test it 2018-06-02 01:15:10 +02:00
Thomas Waldmann 529bbfdeca borg prune: improve progress display
the old progress output was kind of broken:
Archiver() did output some progress when add_item was called.
Archive.delete() did output progress for a single archive deletion

but what we really want is a overall progress indication, advancing
the progress for each deleted archive.
2018-06-01 22:44:47 +02:00
TW 7af90d015e
Merge pull request #3855 from ThomasWaldmann/fix-pypi-desc
fix package long description, fixes #3854
2018-05-24 00:56:02 +02:00
TW 8177f388c6
Merge pull request #3853 from ThomasWaldmann/delete-dry-run
borg delete --dry-run
2018-05-24 00:55:30 +02:00
TW 34d81d378a
Merge pull request #3852 from ThomasWaldmann/delete-commit-once
borg delete: only commit once, fixes #3823
2018-05-24 00:55:03 +02:00
Thomas Waldmann a318c3bb66 fix package long description, fixes #3854 2018-05-22 23:06:14 +02:00
Thomas Waldmann 857c5635dd fixup: output stats in dry-run mode
it will just show nothing was deleted, but one sees how it would look
like.

this is also for consistency with borg prune --dry-run --stats, which
behaves the same.
2018-05-22 17:18:38 +02:00
Thomas Waldmann ec4ccc0b6b borg delete: implement --dry-run, fixes #3822 2018-05-22 16:58:52 +02:00
Thomas Waldmann a88a3153ad borg delete: only commit once, fixes #3823
borg delete was slower than required when it deleted multiple archives
as it committed repo and cache once per archive.

borg prune (doing a similar job) is faster as it commits only once for
all deleted archives.

borg delete now also only commits once and also (similar to borg prune)
only outputs a overall statistics for all deleted archives.

log output of borg delete was made similar to borg prune.
2018-05-22 15:29:08 +02:00
TW 1ac2bbb434
Merge pull request #3837 from ThomasWaldmann/py37_llfuse-1.1
Add a version hint for llfuse for python3.7 (1.1 backport)
2018-05-18 18:01:36 +02:00
TW 60dc493d49
Merge pull request #3838 from ThomasWaldmann/libzstd-docs-1.1
docs: describe what BORG_LIBZSTD_PREFIX does
2018-05-18 18:00:51 +02:00
André-Patrick Bubel dd5e0b913d docs: describe what BORG_LIBZSTD_PREFIX does
(cherry picked from commit 1ba0e85621)
2018-05-18 17:45:51 +02:00
Rémi Oudin af6d40560f Add a version hint for llfuse for python3.7 (1.1 backport)
Python 3.7 requires llfuse >= 1.3.4.

Fixes #3804
2018-05-18 17:41:41 +02:00
TW 7912fbc610
Merge pull request #3803 from ThomasWaldmann/config-repo-without-key
make "borg config repo" possible without key
2018-05-16 18:30:50 +02:00
TW aba2d590f0
Merge pull request #3812 from ThomasWaldmann/fix-3808-1.1
fix borg exception handling on ENOSPC error with xattrs, fixes #3808
2018-05-15 17:52:00 +02:00
Thomas Waldmann 959beb867b xattrs: fix borg exception handling on ENOSPC error, fixes #3808 2018-05-11 16:28:45 +02:00
Thomas Waldmann 322b442641 fix borg config --cache (make sure cache gets closed via try/finally) 2018-05-07 23:54:02 +02:00
Thomas Waldmann 697bb36402 fix borg config --cache (minimal change)
this was broken by previous changeset.

now doing just a minimal change for better diff display,
see also next commit.
2018-05-07 23:54:02 +02:00
Thomas Waldmann d593d17562 borg config repo ... does not need cache/manifest/key, fixes #3802
thus, we should not use the with_repository decorator to set up
the cache / key / manifest.

this enables running borg config on the repo without the key / key
passphrase (the config itself is in plaintext).
2018-05-07 23:54:02 +02:00
TW 694118e523
Merge pull request #3809 from ThomasWaldmann/fix-travis-osx
travis OS X: try newer xcode versions
2018-05-07 19:20:23 +02:00
Thomas Waldmann 2426bb5d20 travis OS X: use xcode 8.3 (not broken)
builds on xcode6.4 are broken since quite a while.
other xcode versions < 8.3 are also broken in the same way.
2018-05-07 18:30:21 +02:00
TW ee4d6fef40
Merge pull request #3801 from ThomasWaldmann/dump-objs-no-manifest
debug dump-repo-objs should not depend on a manifest obj
2018-05-02 01:19:25 +02:00
Thomas Waldmann 2e1f2e84d7 debug dump-repo-objs should not depend on a manifest obj
thus, we should not use the with_repository decorator to set up
the key as it uses Manifest.load() to set up the key.

if the Manifest is lost, that does not work.

but we can use some arbitrary object to set up the key, so just
do that.
2018-05-02 00:53:56 +02:00
TW cb90e8116c
docs: fix and deduplicate encryption quickstart docs (#3776)
docs: fix and deduplicate encryption quickstart docs

just refer to "borg init" docs rather than duplicating it in quickstart.

also: s/archive/repository/
2018-04-29 14:11:20 +02:00
TW 0bff5329f4
Merge pull request #3799 from ThomasWaldmann/include-coveragerc
include .coveragerc, needed by tox.ini
2018-04-29 14:10:20 +02:00
TW 003284b8dd
Merge pull request #3798 from ThomasWaldmann/more-check-output2
borg check: fixup for "deleting orphaned objs" msgs, fixes #3795
2018-04-28 21:41:38 +02:00
Thomas Waldmann c79156caf5 include .coveragerc, needed by tox.ini
I noticed that archlinux has an identical coveragerc and wondered why.

Then noticed that our tox.ini (which we bundle into the pypi package)
needs .coveragerc, but we did not bundle it until now.
2018-04-28 21:37:18 +02:00
Thomas Waldmann d671e9acf2 borg check: fixup for "deleting orphaned objs" msgs, fixes #3795
only output msgs if there is actually something to delete.
be more precise, show count of orphaned / superseded objects.
2018-04-28 21:03:08 +02:00
TW 9256e5c8b5
Merge pull request #3794 from ThomasWaldmann/manifest-rebuild-progress
borg check: show progress while rebuilding missing manifest, fixes #3787
2018-04-28 20:51:58 +02:00
Thomas Waldmann 85bc590c75 borg check: show progress while rebuilding missing manifest, fixes #3787 2018-04-28 19:58:22 +02:00
TW 6366502afa
Merge pull request #3793 from ThomasWaldmann/vagrant-jessie
vagrant: jessie-based build/test
2018-04-28 18:07:33 +02:00
Thomas Waldmann fdc7eb57ea use pyenv-based build/test on jessie32/62 2018-04-28 00:54:31 +02:00
TW 14855f919d
Merge pull request #3792 from ThomasWaldmann/more-check-output
more borg check --repair output
2018-04-28 00:14:31 +02:00
Thomas Waldmann e6e1d18f9a more borg check --repair output 2018-04-27 23:57:47 +02:00
TW 0d01b9ae27
Merge pull request #3769 from ThomasWaldmann/fuse-options
FUSE mount options: uid, gid, umask
2018-04-18 12:31:13 +02:00
Thomas Waldmann eb61c2153b borg mount: support umask= mount option 2018-04-18 12:30:28 +02:00
TW bd30784865
Merge pull request #3768 from ThomasWaldmann/zstd-update
zstd update
2018-04-18 12:25:03 +02:00
Thomas Waldmann f993f0fd49 borg mount: support uid= and gid= mount options
also: refactor popping an option, converting an options value
2018-04-14 15:34:50 +02:00
TW b15726f7ff
Merge pull request #3767 from ThomasWaldmann/msgpack-requirement
update msgpack requirement, fixes #3753
2018-04-13 12:30:19 +02:00
Thomas Waldmann 5be756a0c6 update msgpack requirement, fixes #3753 2018-04-13 11:01:47 +02:00
Thomas Waldmann 6a6ad89f5b temporarily prefer bundled zstd to test it 2018-04-13 00:26:19 +02:00
Thomas Waldmann d4d5f0c447 update bundled zstd to 1.3.4, fixes #3745 2018-04-13 00:24:29 +02:00
Thomas Waldmann dc36403c0e vagrant: use local 32 and 64bit debian jessie boxes 2018-04-08 23:41:54 +02:00
TW a21e8f6926
Merge pull request #3757 from ThomasWaldmann/vagrant-fix
vagrant: use "vagrant" as username for new xenial box
2018-04-06 23:38:35 +02:00
Thomas Waldmann 1eed4e4465 vagrant: use "vagrant" as username for new xenial box 2018-04-06 23:35:58 +02:00