Commit Graph

3330 Commits

Author SHA1 Message Date
Thomas Waldmann cabcbc5887 fix determination of newest mtime, fixes #1860
bug:
if no files were added/modified, _newest_mtime stayed at its initial 0 value.
when saving the files cache, this killed all age 0 entries.

Now using None as initial value, so we can spot that circumstance.

The 2 ** 63 - 1 value is just so it is MAX_INT on a 64bit platform, for better performance.
It can be easily increased when y2262 is coming.
2016-11-20 00:08:33 +01:00
enkore 1fc368c0e9 Merge pull request #1863 from ThomasWaldmann/doc-updates
doc updates
2016-11-19 23:42:53 +01:00
Thomas Waldmann 5fe5b6b339 docs: different pattern matching for --exclude, fixes #1779 2016-11-19 22:26:07 +01:00
Thomas Waldmann d8e806aac1 docs: datetime formatting examples for {now} placeholder, fixes #1822 2016-11-19 22:04:13 +01:00
Thomas Waldmann 3d174aef35 docs: clarify passphrase mode attic repo upgrade, fixes #1854 2016-11-19 21:52:11 +01:00
Thomas Waldmann d7284a92f0 docs: clarify --umask usage, fixes #1859 2016-11-19 21:38:13 +01:00
enkore dfc6f03649 Merge pull request #1858 from ThomasWaldmann/merge-1.0-maint
Merge 1.0 maint
2016-11-19 19:18:40 +01:00
Marian Beermann 44935aa8ea recreate: remove interruption blah, autocommit blah, resuming blah 2016-11-19 16:49:20 +01:00
Thomas Waldmann afab1cc9b0 Merge branch '1.0-maint'
# Conflicts:
#	borg/platform.py
#	src/borg/archiver.py
#	src/borg/helpers.py
#	src/borg/platform/darwin.pyx
#	src/borg/platform/freebsd.pyx
#	src/borg/platform/linux.pyx
#	src/borg/testsuite/__init__.py
2016-11-17 23:56:34 +01:00
TW ea6515d1aa Merge pull request #1856 from ThomasWaldmann/umount
borg umount, fixes #1855
2016-11-17 22:18:20 +01:00
enkore c14b962bad Merge pull request #1419 from textshell/feature/rpc-named-arguments
RFC: Make rpc protocol more extensible
2016-11-17 22:12:24 +01:00
Thomas Waldmann e17fe2b295 borg umount, fixes #1855
this refactors umount code we already used for the testsuite into the platform module's namespace.

also, it exposes that functionality via the cli api, so users can use it via "borg umount <mountpoint>",
which is more consistent than using borg to mount and fusermount -u (or umount) to un-mount.
2016-11-17 20:16:28 +01:00
Martin Hostettler f37109848f remote: Remove unused type variable. 2016-11-17 20:03:33 +01:00
Martin Hostettler 1edff44b3d Repository,remote: Rename argument of get to 'id'. 2016-11-17 20:03:32 +01:00
Martin Hostettler 8955d8bb2a remote: Test that the legacy free rpc bootstrap works. 2016-11-17 20:03:32 +01:00
Martin Hostettler bd3a4a2f92 Add testing for exception transport. 2016-11-17 20:03:32 +01:00
Martin Hostettler e14406fdbf remote: Redo exception handling 2016-11-17 20:03:32 +01:00
Martin Hostettler 4854fcef2e remote: Move open to a normal api stub. 2016-11-17 19:56:30 +01:00
Martin Hostettler ba553ec628 remote: Introduce rpc protocol with named parameters. 2016-11-17 19:56:30 +01:00
Martin Hostettler 6c1b337ce2 remote: Replace broken exception argument restoration with code that uses a fixed value. 2016-11-17 19:56:29 +01:00
Martin Hostettler d25e9aa4f0 remote: Use single quotes 2016-11-17 19:56:29 +01:00
Martin Hostettler 0da913f8ed remote: Decode method name as utf-8 instead of ascii for consistency. 2016-11-17 19:56:29 +01:00
Martin Hostettler c580d9c173 version: Add version parsing and formating 2016-11-17 19:56:29 +01:00
enkore d871efc04a Merge pull request #1851 from Abogical/patch-1
Typo
2016-11-14 23:13:34 +01:00
Abdel-Rahman 9cf4846c27 Typo 2016-11-15 00:11:32 +02:00
enkore 58024c0b1b Merge pull request #1850 from enkore/f/redpepper
fixes for flake 3.1.1
2016-11-14 22:28:47 +01:00
Marian Beermann c380d91805 fixes for flake 3.1.1 2016-11-14 21:50:20 +01:00
enkore cf8f8fb746 Merge pull request #1846 from Abogical/master
Improve extract progress display, for #1721
2016-11-14 21:43:35 +01: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
enkore c055dd2636 Merge pull request #1848 from ThomasWaldmann/clarify-pr-targets
developers docs: clarify how to choose PR target branch
2016-11-14 08:11:14 +01:00
Thomas Waldmann c81f861ba6 developers docs: clarify how to choose PR target branch 2016-11-14 03:26:39 +01:00
Thomas Waldmann 38fe61947e Merge branch '1.0-maint' 2016-11-14 03:22:36 +01:00
TW cda88e1207 Merge pull request #1847 from ThomasWaldmann/travis-osx
travis: allow OS X failures until the brew cask osxfuse issue is fixed
2016-11-14 03:19:34 +01:00
Thomas Waldmann 372ebb4e55 travis: allow OS X failures until the brew cask osxfuse issue is fixed 2016-11-14 02:08:11 +01: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 ddb8839076 Merge pull request #1845 from enkore/merge/1.0-maint
merge 1.0-maint
2016-11-13 17:53:46 +01:00
Marian Beermann dfd748689c test_attic013_acl_bug: use def instead of lambda 2016-11-13 17:30:42 +01:00
Marian Beermann c2eb2539b9
Document maintenance merge command 2016-11-13 16:07:06 +01:00
Marian Beermann 0d2b76fa7d Merge branch '1.0-maint' into merge/1.0-maint 2016-11-13 15:58:42 +01:00
enkore 4b5a17c096 Merge pull request #1841 from enkore/issue/1837
Fix check incorrectly reporting attic 0.13 and earlier archives as corrupt
2016-11-13 15:26:19 +01:00
Marian Beermann a898297669
check: improve "did not get expected metadata dict" diagnostic 2016-11-13 15:25:40 +01:00
Marian Beermann 639eba1635 Fix check incorrectly reporting attic 0.13 and earlier archives as corrupt 2016-11-13 15:25:10 +01:00
TW 9b1241eecd Merge pull request #1844 from enkore/issue/1815
check: catch two kinds of different repos
2016-11-13 14:44:17 +01:00
Marian Beermann 2261709e78
check: handle repo w/o objects gracefully
normal check would complete, --repair would crash when trying
to write the rebuilt (empty) manifest out, since self.key was None
2016-11-13 11:45:42 +01:00