Thomas Waldmann
928bde8676
get rid of datetime.isoformat to avoid bugs like #2994
2017-09-07 14:11:07 +02:00
Thomas Waldmann
7996a87357
use safe parse_timestamp to parse timestamps, fixes #2994
...
also: refactor so it is possible to get tz-unaware datetime
objects from parse_timestamp.
2017-09-05 05:51:00 +02:00
Thomas Waldmann
eebb117349
use ISO_FORMAT* constants
2017-09-05 05:02:44 +02:00
Thomas Waldmann
1cb158a4b5
move ISO_FORMAT to constants module
...
also: add ISO_FORMAT_NO_USECS
2017-09-05 04:44:38 +02:00
TW
9afec263c9
Merge pull request #2997 from ThomasWaldmann/cleanup-vagrant-1.2
...
vagrant: clean up shell profile init, user name (master)
2017-09-04 21:44:52 +02:00
Thomas Waldmann
ebb4eaed5a
vagrant: clean up shell profile init, user name (master)
...
- deduplicated .bash_profile creation
- now we always have XDISTN=... and LANG=... (not just for pyenv)
- username is just given where needed ("ubuntu" vs "vagrant")
- override for cygwin not needed as init is not global any more
2017-09-04 21:33:23 +02:00
enkore
436be10edb
Merge pull request #2996 from mgee/improve-macos-faq-entry
...
Improve macOS faq entry
2017-09-03 20:14:09 +02:00
Markus Engelbrecht
e157328228
Use correct casing for macOS
2017-09-03 20:04:28 +02:00
Markus Engelbrecht
aadb9cd2ee
Fix macOS keychain integration command
2017-09-03 20:03:11 +02:00
TW
86c0b66de3
Merge pull request #2988 from ThomasWaldmann/recover-segments-memory-usage
...
recover_segment: use mmap(), fixes #2982
2017-09-02 17:48:04 +02:00
enkore
4433078414
Merge pull request #2986 from ThomasWaldmann/cleanup-log
...
add debug logging for repository cleanup
2017-09-02 16:46:32 +02:00
Thomas Waldmann
9fc4d00bf6
recover_segment: use mmap(), fixes #2982
2017-09-01 05:26:27 +02:00
Thomas Waldmann
57f808e4bb
add debug logging for repository cleanup
...
so we can know whether it did a cleanup and if so,
which and how many segments were cleaned up.
2017-08-31 22:49:30 +02:00
TW
4a22dec340
Merge pull request #2979 from enkore/issue/2975
...
test_detect_attic_repo: don't test mount
2017-08-30 23:22:36 +02:00
enkore
a2ea6cfc7d
Merge pull request #2980 from enkore/issue/2976
...
keymanager: don't depend on optional readline module
2017-08-30 11:27:31 +02:00
Marian Beermann
a6be34f8f7
test_detect_attic_repo: don't test mount
...
since mount is not always available and if it works for all the other
commands, then it is likely it works for mount as well.
2017-08-28 10:17:52 +02:00
Marian Beermann
b8793d9577
keymanager: don't depend on optional readline module
2017-08-28 10:15:38 +02:00
enkore
f7ed5d7220
Buffer: fix wrong thread-local storage use ( #2951 )
...
Buffer: delete support for multiple threads
Thread-local objects are a fairly complex footgun, so avoid them in
the first place. When a Compressor uses a Buffer (for example),
just create multiple Compressor instances for each thread, owned by
each thread. Minimize multiple ownership of objects across
threads if at all possible!
2017-08-25 04:45:22 +02:00
TW
95d267493e
Merge pull request #2959 from ThomasWaldmann/fix-timestamp-option
...
borg create --timestamp: set start time, fixes #2957
2017-08-25 04:36:44 +02:00
TW
cab9c0533f
Merge pull request #2962 from enkore/f/travis-stop
...
travis: only short-circuit docs-only changes for pull requests
2017-08-25 04:28:38 +02:00
Marian Beermann
920d974b25
travis: only short-circuit docs-only changes for pull requests
...
if a branch build is stopped, then codecov will complain about
missing base branch coverage.
2017-08-24 16:24:44 +02:00
Thomas Waldmann
8a299ae24c
borg create --timestamp: set start time, fixes #2957
2017-08-24 04:07:37 +02:00
TW
e9b892feb5
Merge pull request #2955 from enkore/issue/2310
...
docs/internals: note segment size limitation
2017-08-22 23:22:08 +02:00
Marian Beermann
10a7b6b727
docs/internals: note segment size limitation
2017-08-22 17:48:48 +02:00
enkore
1ac49380b1
Merge pull request #2925 from enkore/issue/2376
...
Datetime formatting
2017-08-22 17:33:17 +02:00
Marian Beermann
ab4981eff6
always use microseconds for ISO 8601 output
2017-08-22 17:32:25 +02:00
Marian Beermann
2ff29891f1
list: fix weird mixup of mtime/isomtime
2017-08-22 17:32:21 +02:00
Marian Beermann
a836f451ab
one datetime formatter to rule them all
...
# Conflicts:
# src/borg/helpers.py
2017-08-22 17:32:21 +02:00
enkore
5fb2b4b0a6
Merge pull request #2842 from imsodin/diffmount-diff_refactor
...
Refactor diff functionality
2017-08-21 13:49:50 +02:00
enkore
8af5a0a272
Merge pull request #2953 from enkore/issue/2949
...
create: document exclusion through nodump
2017-08-21 12:20:22 +02:00
enkore
8dc79aea7a
Merge pull request #2950 from enkore/f/mt-1.5b
...
cache: adjust AdHocCache API
2017-08-21 12:19:20 +02:00
enkore
584886a22a
Merge pull request #2946 from ThomasWaldmann/workaround-files-cache-corruption
...
ignore corrupt files cache, fixes #2939
2017-08-20 21:38:37 +02:00
Marian Beermann
495f838d88
create: document exclusion through nodump
2017-08-20 21:37:17 +02:00
Marian Beermann
c5a154985f
cache: adjust AdHocCache API (test_create_no_cache_sync)
2017-08-20 21:23:55 +02:00
Lukas Fleischer
03dea8c78b
development.rst: Miscellaneous improvements ( #2944 )
...
development.rst: misc. improvements
* Improved wording / grammar.
* Use proper Git terminology for operations on patches.
* Unify capitalization of "GitHub".
* Add proper formatting to branch names.
2017-08-19 21:12:51 +02:00
Thomas Waldmann
c8920fa2e6
ignore corrupt files cache, fixes #2939
...
ignore the files cache when corrupt and emit a warning message
so the users notices that there is a problem.
(cherry picked from commit 4eadb59c10
)
2017-08-19 01:13:12 +02:00
enkore
132b618cbe
Merge pull request #2930 from enkore/mtpleasant
...
adjust logo colour to a more pleasant green
2017-08-16 17:51:18 +02:00
Marian Beermann
fd21893591
revert logo colour to #00dd00 (per @TW)
2017-08-16 17:50:59 +02:00
enkore
11653d8bc2
Merge pull request #2920 from lfos/detect-attic-repos
...
Detect non-upgraded Attic repositories
2017-08-16 17:47:02 +02:00
Lukas Fleischer
0943b322e3
Detect non-upgraded Attic repositories
...
When opening a repository, always try to read the magic number of the
latest segment and compare it to the Attic segment magic (unless the
repository is opened for upgrading). If an Attic segment is detected,
raise a dedicated exception, telling the user to upgrade the repository
first.
Fixes #1933 .
2017-08-15 19:58:30 +02:00
rugk
df8205a4ba
Renew asciinema/screencasts
...
Created with borg v1.1.0, so more up-to-date and split into different
parts (install, basic, advanced)…
Fixes https://github.com/borgbackup/borg/issues/669
2017-08-14 21:07:52 +02:00
Simon Frei
9dc22d230f
Refactor the diff functionality
...
This factors out a lot of the logic in do_diff in archiver.py to Archive in
archive.py and a new class ItemDiff in item.pyx. The idea is to move methods
to the classes that are affected and to make it reusable, primarily for a new
option to fuse (#2475 ).
2017-08-13 21:23:04 +02:00
TW
9d758d56cd
Merge pull request #2924 from ThomasWaldmann/migrate-locks
...
migrate locks to child PID when daemonize is used
2017-08-13 19:49:37 +02:00
Marian Beermann
671418a794
docs: adjust CSS to updated logo colour
2017-08-13 16:52:28 +02:00
Marian Beermann
9b0c03ba48
docs: delete unused CSS directives
2017-08-13 16:52:20 +02:00
Marian Beermann
0b37e59217
logo: add makefile to create PNG and PDF versions from master SVG
2017-08-13 16:49:44 +02:00
Marian Beermann
cfb4a5fbd0
adjust logo colour to a more pleasant green
2017-08-13 16:49:44 +02:00
Thomas Waldmann
5bad764637
fixup: use asserts for the old_id check
2017-08-11 23:24:33 +02:00
Thomas Waldmann
6f94949a36
migrate locks to child PID when daemonize is used
...
also:
increase platform api version due to change in get_process_id behaviour.
2017-08-08 03:46:44 +02:00
TW
72c8ec2583
Merge pull request #2928 from ThomasWaldmann/json-isoformat
...
Json isoformat
2017-08-08 01:46:13 +02:00