Commit Graph

4594 Commits

Author SHA1 Message Date
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
Thomas Waldmann 6d2b3bc7cd test json timestamps for iso format 2017-08-07 23:35:10 +02:00
Thomas Waldmann 6133f1bb60 repo last_modified: use iso8601 timestamp format with --json
like yyyy-mm-ddThh:mm:ss - no tz yet, this likely needs more refactoring
to tz aware and utc datetime objects everywhere, currently there are
naive datetime objects and also localtime at quite some places.
2017-08-07 23:35:10 +02:00
Thomas Waldmann 1df7af58ae archives list: use iso8601 timestamp format with --json
like yyyy-mm-ddThh:mm:ss - no tz yet, this likely needs more refactoring
to tz aware and utc datetime objects everywhere, currently there are
naive datetime objects and also localtime at quite some places.
2017-08-07 23:35:10 +02:00
Thomas Waldmann 09c111bb44 archive listing: use iso8601 timestamp format with --json-lines
like yyyy-mm-ddThh:mm:ss - no tz yet, this likely needs more refactoring
to tz aware and utc datetime objects everywhere, currently there are
naive datetime objects and also localtime at quite some places.
2017-08-07 23:35:10 +02:00
TW 70c7f481fc Merge pull request #2905 from ThomasWaldmann/refactor-helpers
Refactor helpers
2017-08-07 23:06:15 +02:00
Thomas Waldmann 3e78549f76 helpers: split into smaller modules 2017-08-07 23:05:46 +02:00
Thomas Waldmann a5f7c7a1ce helpers: fix imports and helpers.exit_code location
code expects to be able to assign to helpers.exit_code (which stopped
working correctly when exit_code was moved to helpers.misc module).
2017-08-07 23:05:46 +02:00
Thomas Waldmann 558282df58 helpers: create package
just created package dir and __init__.py and
moved helpers.py to helpers/misc.py - no other changes.

not functional, some imports need fixing...
2017-08-07 23:05:45 +02:00
enkore a1840e9238 Merge pull request #2918 from ThomasWaldmann/fix-serve-exitcode
fix exitcode of borg serve, fixes #2910
2017-08-06 10:56:34 +02:00
Thomas Waldmann 583de3eeb1 fix exitcode of borg serve, fixes #2910 2017-08-06 04:18:49 +02:00
Simon Frei 37f75519cf Only style changes - still NOT functional 2017-08-06 01:46:20 +02:00
Simon Frei 9f6df7d999 Only move and change indendation of code - NOT functional 2017-08-06 01:42:32 +02:00
TW eee4542f3b Merge pull request #2900 from imsodin/fix-2899
Only compare contents when chunker params match (fixes #2899)
2017-08-06 01:20:24 +02:00
TW 5a7614012d Merge pull request #2906 from ThomasWaldmann/vagrant-archlinux
vagrant: add archlinux VM
2017-08-03 04:59:58 +02:00
Thomas Waldmann 7dc76a7f40 vagrant: add archlinux VM
has python 3.6, openssl 1.1.

and most of the stuff we need is preinstalled on this box. \o/
2017-08-01 04:46:31 +02:00
Simon Frei b6c2055276 Only compare contents when chunker params match (fixes #2899) 2017-07-30 21:39:35 +02:00
enkore 4f57e3a7c4 Merge pull request #2890 from enkore/f/mt-1c
archive: create FilesystemObjectProcessors class
2017-07-30 18:22:50 +02:00
enkore d968eae4e5 Merge pull request #2892 from ThomasWaldmann/drop-py34
increase Python minimum requirement to 3.5.0
2017-07-30 10:25:09 +02:00
Thomas Waldmann 074beec1ca minimal Vagrantfile (py3.5+, openssl 1.0/1.1)
- killed many VMs that missed python 3.5 and/or openssl 1.1
- refer to 1.1-maint branch Vagrantfile if you want to re-add some
- kept xenial64 for openssl 1.0 testing
- kept stretch64 for openssl 1.1 testing and future binary builds
2017-07-30 02:01:10 +02:00
Thomas Waldmann 12df5e625a use python 3.5's os.scandir
the removed stuff was only required for < 3.5.
2017-07-29 21:13:57 +02:00
Thomas Waldmann 4c840ee24d use python 3.5's os.set_blocking 2017-07-29 21:13:57 +02:00
Thomas Waldmann 8cd451bd33 python 3.5+ does not generate .pyo any more 2017-07-29 21:13:57 +02:00