Abogical
f9b3d28c19
Add progress messages for cache.commit
2016-11-24 15:44:00 +02:00
Abogical
e999f3ff51
Add ProgressIndicatorMessage and abstract class ProgressIndicatorBase
2016-11-24 15:43:51 +02:00
Abogical
34f529c7df
satisfy codecov
2016-11-14 17:39:42 +02:00
Abogical
3896f26ab2
use monkeypatch
2016-11-14 16:41:37 +02:00
Abogical
76638d0562
If there is a small space for ellipsis_truncate, show '...' only
2016-11-14 15:16:14 +02:00
Abogical
af925d2723
do not justify if we're not outputing to a terminal
2016-11-14 14:49:24 +02:00
Abogical
3232769ffc
Respond to feedback
2016-11-14 11:43:46 +02:00
Abogical
1362d2e90f
Set COLUMNS & LINES as if it was a terminal
2016-11-14 01:00:11 +02:00
Abogical
467fe38b15
Compatibility with python 3.4
2016-11-14 00:25:27 +02:00
Abogical
b737866905
Improve extract progress display and ProgressIndicatorPercent
2016-11-13 23:41:01 +02:00
enkore
80b86709ef
Merge pull request #1833 from enkore/issue/1821
...
borg init: fix free space check crashing if disk is full
2016-11-12 01:23:34 +01:00
enkore
e26348a055
Merge pull request #1834 from enkore/issue/1813
...
Clarify cache/repository README file
2016-11-11 21:25:30 +01:00
Marian Beermann
bd4a0fe23b
Clarify cache/repository README file
2016-11-11 21:24:17 +01:00
Marian Beermann
ac5f9b61ec
debug, key: enable --help
...
A small merge mishap in 2a864be8; 1.0-maint has it correctly.
2016-11-11 19:54:11 +01:00
Marian Beermann
6c955579a8
repository: test_additional_free_space, assert it still exists
2016-11-11 16:39:11 +01:00
Marian Beermann
5b31a2cd61
borg init: fix free space check crashing if disk is full
2016-11-11 16:21:05 +01:00
enkore
223f7890fe
Merge pull request #1819 from enkore/issue/1800
...
Add BLAKE2b key types
2016-11-11 03:11:38 +01:00
Marian Beermann
a31ca4f022
crypto: link against system libb2, if possible
2016-11-11 03:08:11 +01:00
Marian Beermann
76c93bb80b
crypto blake2: don't release the GIL during key hashing
2016-11-11 03:07:05 +01:00
Marian Beermann
00ac7b14be
Add BLAKE2b key types
2016-11-11 03:07:05 +01:00
TW
dc4325be25
Merge pull request #1826 from textshell/feature/repository-cleanup-rollback-api
...
Repository: rollback's cleanup parameter is internal.
2016-11-10 17:24:01 +01:00
Martin Hostettler
79c77e7a68
Repository: rollback's cleanup parameter is internal.
2016-11-10 13:44:58 +01:00
Marian Beermann
09f470bd85
Add crypto.blake2b_256
2016-11-10 00:06:50 +01:00
Marian Beermann
05a52ec8ec
Merge branch '1.0-maint' into merge/1.0-maint
2016-11-09 23:56:54 +01:00
Marian Beermann
676e69cac4
Parse & pass BORG_HOSTNAME_IS_UNIQUE env var to enable stale lock killing
2016-11-07 21:56:40 +01:00
Marian Beermann
cc14975f2d
Add tests for stale lock killing and platform.process_alive
2016-11-07 21:56:07 +01:00
Marian Beermann
2bd8ac7762
platform: bump API version (and check consistency)
2016-11-07 21:54:16 +01:00
Marian Beermann
7930d055ec
import platform module instead of functions
...
(testability)
2016-11-07 21:54:16 +01:00
Marian Beermann
8e1df7a364
Use logging instead of prints
2016-11-07 21:54:16 +01:00
Marian Beermann
c562f7750c
Move platform-dependent code to platform package
2016-11-07 21:54:16 +01:00
Oleg Drokin
d490292be3
Detect and delete stale locks when it's safe
...
If BORG_UNIQUE_HOSTNAME shell variable is set, stale locks
in both cache and repository are deleted.
Stale lock is defined as a lock that's originating from the same
hostname as us, and correspond to a pid that no longer exists.
This fixes #562
2016-11-07 21:54:16 +01:00
Thomas Waldmann
8a15916284
Merge branch '1.0-maint' into merge-1.0-maint
...
# Conflicts:
# docs/changes.rst
# docs/usage/help.rst.inc
# src/borg/cache.py
# src/borg/remote.py
# src/borg/testsuite/__init__.py
# src/borg/testsuite/archiver.py
2016-10-31 18:24:13 +01:00
Thomas Waldmann
09e74af7bf
Merge branch '1.0-maint'
2016-10-24 21:41:20 +02:00
TW
0ff2352691
Merge pull request #1748 from rciorba/shortcut_hashindex_set
...
shortcut hashindex_set by having hashindex_lookup hint about address
2016-10-23 16:48:43 +02:00
Radu Ciorba
766a43afc3
shortcut hashindex_set by having hashindex_lookup hint about address
2016-10-22 12:33:15 +03:00
TW
1a272ddd48
Merge pull request #1739 from ThomasWaldmann/borg-check-refactor
...
borg check --first / --last / --sort / --prefix, fixes #1663
2016-10-20 17:21:27 +02:00
Thomas Waldmann
4c884fd075
borg check --first / --last / --sort / --prefix, fixes #1663
2016-10-20 16:51:26 +02:00
Thomas Waldmann
e02d1a66b8
fix byte range error in test, fixes #1740
2016-10-20 03:04:19 +02:00
Thomas Waldmann
5a12c6377a
fuse mount options: add tests
2016-10-15 01:24:05 +02:00
Thomas Waldmann
b5f9858055
move first/last/sort_by-multiple functionality into Manifest.list
...
also: rename list_filtered to list_considering
2016-10-15 01:04:56 +02:00
Thomas Waldmann
694c3978a1
refactor Archiver._get_filtered_archives -> Archives.list_filtered
...
it did not belong into Archiver class (did not use "self"), but in into Archives.
2016-10-15 01:03:16 +02:00
Thomas Waldmann
26e6ac4fea
borg mount --first / --last / --sort / --prefix, fixes #1542
...
also: use consider_part_files when dealing with multiple archives / whole repo mount
2016-10-15 01:03:16 +02:00
Thomas Waldmann
775440fdcc
Merge branch '1.0-maint' into merge-1.0-maint
2016-10-15 00:25:41 +02:00
enkore
34bd7cb4e2
Merge pull request #1716 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0-maint
2016-10-14 21:18:30 +02:00
Thomas Waldmann
4e4847ccce
point XDG_*_HOME to temp dirs for tests, fixes #1714
...
otherwise it spoils the user's nonces and cache dirs with lots of files.
also: remove all BORG_* env vars from the outer environment
2016-10-13 23:59:28 +02:00
Thomas Waldmann
b0cc4fd74a
Merge branch '1.0-maint' into merge-1.0-maint
2016-10-13 19:10:04 +02:00
TW
a2dfe68609
Merge pull request #1706 from ThomasWaldmann/remove-debug-xxx
...
remove debug-xxx commands, fixes #1627
2016-10-12 23:25:43 +02:00
Thomas Waldmann
9ad9ae8ff0
Repository.scan(): avoid iterating same repo segments/objects repeatedly
...
segments: avoid some listdir()
objects: avoid repeatedly re-reading object headers / seeking in segment
Fixes #1610 .
2016-10-10 05:39:38 +02:00
Thomas Waldmann
b88e82d99d
remove debug-xxx commands, fixes #1627
...
we use "debug xxx" subcommands now. docs updated.
also makes "borg help" shorter as not all debug-xxx commands
show up, but just 1 main "debug" command.
2016-10-10 00:22:01 +02:00
enkore
8567fcfe58
Merge pull request #1418 from textshell/fix/preload
...
Cleanup prefetch code in RemoteRepository
2016-10-07 09:49:16 +02:00