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

5070 commits

Author SHA1 Message Date
TW
37f2c8944f
Merge pull request #3896 from ThomasWaldmann/make-swidth-better-available
make swidth available on all posix platforms, fixes #2667
2018-06-12 22:49:52 +02:00
TW
80d94f5e5e
Merge pull request #3897 from ThomasWaldmann/cleanup-setup
Cleanup setup.py
2018-06-12 22:12:42 +02:00
Thomas Waldmann
b419098fa4 make swidth available on all posix platforms, fixes #2667
it is assumed that posix == everything else than win32.
2018-06-12 21:25:17 +02:00
Thomas Waldmann
06f2378458 setup.py: move build_man / build_usage code to setup_docs.py
brings setup.py down from 800 to 300 lines.
2018-06-12 21:06:01 +02:00
Thomas Waldmann
39a7078741 modernize / simplify llfuse requirements
DO NOT BACKPORT TO 1.1-maint / 1.0-maint.

master branch will still take a while until next release,
so we can safely require llfuse >= 1.1 (May 2016).
2018-06-12 20:49:23 +02:00
Thomas Waldmann
d0bed00e9a remove pyzmq package requirement, not used yet 2018-06-12 20:38:21 +02:00
TW
9d20aaab83
Merge pull request #3895 from ThomasWaldmann/msgpack-new-name
switch to "msgpack" pypi pkg name, fixes #3890
2018-06-12 20:33:43 +02:00
Thomas Waldmann
715c3d6824 switch to "msgpack" pypi pkg name, fixes #3890
MASTER BRANCH ONLY, DO NOT BACKPORT TO 1.1 or 1.0!

As there are no 0.4.x msgpack releases (under this new name, 0.4.x
used to be named "msgpack-python"), currently only 0.5.6 can be
recommended. See comments for other versions that are acceptable
under certain conditions.

We will add new msgpack versions later, after testing them.
2018-06-12 19:34:40 +02:00
TW
2b796950be
Merge pull request #3892 from eli-schwartz/environment-markers
Embrace environment markers (a.k.a. PEP 508 compliance)!
2018-06-12 18:45:09 +02:00
Eli Schwartz
b5d22b5fba
Embrace environment markers (a.k.a. PEP 508 compliance)!
Failure to use environment markers means the dependencies are
unconditionally added at build time based on the host instead of being
always present and evaluated at runtime on the target; e.g. wheels have
the wrong information.

Also use python_requires. This teaches pip how to natively comprehend
when the current version of python is not supported by borg.

Returns errors in the format:
borgbackup requires Python '>=3.5' but the running Python is $oldver
2018-06-11 22:29:16 -04:00
TW
511371fcd8
Merge pull request #3886 from saurvs/syslibs_forwardport
revert to using system compression libs, fixes #3797 (fwd port to master)
2018-06-10 10:49:45 +02:00
Thomas Waldmann
ab6e6314dd revert to using system compression libs, fixes #3797
we temporarily used the updated, bundled lz4 and zstd code for testing
purposes, but now going back to using system provided libs by default.

(cherry picked from commit 66084c7234)
2018-06-10 09:49:04 +05:30
TW
66736eda51
Merge pull request #3884 from saurvs/lz4_forwardport
update bundled lz4 code (fwd port to master)
2018-06-09 22:49:44 +02:00
TW
ceaa7e9210
Merge pull request #3883 from saurvs/prune_forwardport
borg prune: improve progress display (fwd port to master)
2018-06-09 22:39:03 +02:00
Thomas Waldmann
60a5d6e59e temporarily prefer bundled lz4 to test it
(cherry picked from commit bf6fa04650)
2018-06-08 17:03:35 +05:30
Thomas Waldmann
7ed60b7efa update bundled lz4 code to 1.8.2
(cherry picked from commit f7c7384285)
2018-06-08 17:03:21 +05:30
Thomas Waldmann
c454bf6fa6 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.

(cherry picked from commit 529bbfdeca)
2018-06-08 15:08:30 +05:30
TW
a6c3168006
Merge pull request #3882 from ThomasWaldmann/vagrant-fixes-master
vagrantfile fixes (fwd port to master)
2018-06-08 09:11:53 +02:00
Thomas Waldmann
7e59a6c229 vagrantfile fixes (fwd port to master) 2018-06-08 09:01:25 +02:00
Rémi Oudin
73410861ae borg config --list <repo>, fixes #3612
Add --list option to dump the repo configuration / the default values.

Also: fixes argument order in borg config tests
2018-06-08 08:26:32 +02:00
TW
c97006ecf2
Merge pull request #3863 from saurvs/doc
Clarify --append-only flag
2018-05-28 01:47:13 +02:00
Saurav Sachidanand
5225dbfc4e Clarify --append-only flag 2018-05-27 19:56:57 +05:30
TW
ac7fd2cbe9
Merge pull request #3861 from ThomasWaldmann/delete-dry-run-master
borg delete improvements (fwd port to master)
2018-05-27 16:23:46 +02:00
TW
c6a12dc686
Merge pull request #3860 from saurvs/master
Update docs on deleting multiple archives
2018-05-27 16:20:48 +02:00
TW
ecba3517fa
Merge pull request #3862 from ThomasWaldmann/fix-pypi-desc-master
fix package long description, fixes #3854
2018-05-27 12:22:25 +02:00
Saurav Sachidanand
b3c1104760 Update docs on deleting multiple archives 2018-05-27 09:38:23 +05:30
Thomas Waldmann
89c7093048 fix package long description, fixes #3854
(cherry picked from commit a318c3bb66)
2018-05-26 23:30:21 +02:00
Thomas Waldmann
0377fb38fd 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.

(cherry picked from commit 857c5635dd)
2018-05-26 23:23:24 +02:00
Thomas Waldmann
7ed377679b borg delete: implement --dry-run, fixes #3822
(cherry picked from commit ec4ccc0b6b)
2018-05-26 23:23:16 +02:00
Thomas Waldmann
3dfee5d71c 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.

(cherry picked from commit a88a3153ad)
2018-05-26 23:23:06 +02:00
TW
3931340baa
Merge pull request #3857 from milkey-mouse/fp-3776
docs: fix and deduplicate encryption quickstart docs (forward-port)
2018-05-24 00:50:54 +02:00
TW
485368d50d
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-05-23 14:17:01 -07:00
TW
ce069035ce
Merge pull request #3849 from ThomasWaldmann/hashindex-debug-print
add debug_print macro for hashindex debugging, see #3807
2018-05-19 22:58:23 +02:00
Thomas Waldmann
ce4d248e0b add debug_print macro for hashindex debugging, see #3807 2018-05-19 22:26:56 +02:00
TW
491d69a5d6
Merge pull request #3848 from ThomasWaldmann/manifest-rebuild-progress-master
borg check: show progress while rebuilding missing manifest, fixes #3787
2018-05-19 22:08:01 +02:00
Thomas Waldmann
e064fcd99b borg check: show progress while rebuilding missing manifest, fixes #3787
(cherry picked from commit 85bc590c75)
2018-05-19 01:28:55 +02:00
TW
036b501d82
Merge pull request #3847 from ThomasWaldmann/config-repo-without-key--master
Config repo without key (fwd port to master)
2018-05-19 01:05:20 +02:00
TW
6290f44425
Merge pull request #3844 from ThomasWaldmann/more-check-output-master
More check output (fwd port to master)
2018-05-19 00:47:35 +02:00
TW
e67b3ec96f
Merge pull request #3846 from ThomasWaldmann/dump-objs-no-manifest-master
debug dump-repo-objs should not depend on a manifest obj (fwd port to master)
2018-05-19 00:05:16 +02:00
TW
ae2077e883
Merge pull request #3845 from ThomasWaldmann/zstd-update-master
Zstd update (fwd port to master)
2018-05-18 23:49:28 +02:00
TW
02fef39e60
Merge pull request #3843 from ThomasWaldmann/fuse-options-master
Fuse options (fwd port to master)
2018-05-18 23:11:20 +02:00
Thomas Waldmann
6783894ff3 fix borg config --cache (make sure cache gets closed via try/finally)
(cherry picked from commit 322b442641)
2018-05-18 22:40:42 +02:00
Thomas Waldmann
0405c1a1bb 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.

(cherry picked from commit 697bb36402)
2018-05-18 22:40:33 +02:00
Thomas Waldmann
219fce3fe8 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).

(cherry picked from commit d593d17562)
2018-05-18 22:40:24 +02:00
Thomas Waldmann
0874bcbbf1 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.

(cherry picked from commit 2e1f2e84d7)
2018-05-18 22:35:23 +02:00
Thomas Waldmann
d2884d3317 temporarily prefer bundled zstd to test it
(cherry picked from commit 6a6ad89f5b)
2018-05-18 22:30:38 +02:00
Thomas Waldmann
3d3154fd49 update bundled zstd to 1.3.4, fixes #3745
(cherry picked from commit d4d5f0c447)
2018-05-18 22:29:55 +02:00
Thomas Waldmann
7792cec03a 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.

(cherry picked from commit d671e9acf2)
2018-05-18 22:05:38 +02:00
Thomas Waldmann
be4fdee3ae more borg check --repair output
(cherry picked from commit e6e1d18f9a)
2018-05-18 22:03:03 +02:00
TW
ea7c543471
Merge pull request #3840 from ThomasWaldmann/env-cleanup-uname-master
sysinfo() related forward ports (master)
2018-05-18 21:58:19 +02:00