Commit Graph

4730 Commits

Author SHA1 Message Date
Thomas Waldmann 24400fcecd update CHANGES (1.1-maint) 2017-08-27 21:48:29 +02:00
TW 84d13f92b3 Merge pull request #2968 from ThomasWaldmann/fix-timestamp-option-1.1
borg create --timestamp: set start time, fixes #2957
2017-08-27 15:19:26 +02:00
TW 1b7b58e712 Merge pull request #2964 from ThomasWaldmann/detect-attic-repos-1.1
Detect non-upgraded Attic repositories
2017-08-27 14:52:53 +02:00
TW 143d82c640 Merge pull request #2965 from ThomasWaldmann/issue/2376-1.1
Issue/2376 PR backported to 1.1
2017-08-27 14:51:23 +02:00
TW 4abbc8639c Merge pull request #2967 from ThomasWaldmann/f/travis-stop-1.1
travis: only short-circuit docs-only changes for pull requests
2017-08-25 04:42:38 +02:00
TW e2b01dc05b Merge pull request #2966 from ThomasWaldmann/issue/2949-1.1
create: document exclusion through nodump
2017-08-25 04:42:15 +02:00
Thomas Waldmann ac404e3a74 borg create --timestamp: set start time, fixes #2957
(cherry picked from commit 8a299ae24c)
2017-08-25 04:38:24 +02:00
Marian Beermann d2f9e28683 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.

(cherry picked from commit 920d974b25)
2017-08-25 04:30:02 +02:00
Marian Beermann 987a99dffe create: document exclusion through nodump
(cherry picked from commit 495f838d88)
2017-08-25 04:25:18 +02:00
Marian Beermann d5697fb4a8 always use microseconds for ISO 8601 output
(cherry picked from commit ab4981eff6)
2017-08-25 04:20:06 +02:00
Marian Beermann 008571228f one datetime formatter to rule them all
(cherry picked from commit a836f451ab)
2017-08-25 04:00:26 +02:00
Marian Beermann fa65c9b143 list: fix weird mixup of mtime/isomtime
(cherry picked from commit 2ff29891f1)
2017-08-25 03:38:30 +02:00
Lukas Fleischer ff93b6b972 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.

(cherry picked from commit 0943b322e3)
2017-08-25 03:30:31 +02:00
enkore 818e5c8e01 Merge pull request #2952 from enkore/f/killthreads
delete various nogil and threading related lines
2017-08-21 12:19:03 +02:00
enkore 1a05e8f446 Merge pull request #2945 from ThomasWaldmann/workaround-files-cache-corruption-1.1
ignore corrupt files cache, fixes #2939
2017-08-20 21:39:05 +02:00
Marian Beermann dc6049cb73 delete various nogil and threading related lines 2017-08-20 21:30:41 +02:00
Thomas Waldmann 4eadb59c10 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 5beaa5bd02)
2017-08-19 01:09:26 +02:00
TW 5a7825f090 Merge pull request #2940 from rugk/asciinema-backport
Renew asciinema/screencasts (backport)
2017-08-16 00:48:23 +02:00
rugk 0b3f8ad261
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-15 23:47:32 +02:00
TW 2e481107a6 Merge pull request #2931 from ThomasWaldmann/migrate-locks-1.1
migrate locks to child PID when daemonize is used
2017-08-13 22:18:40 +02:00
Thomas Waldmann 09e3a02fbc migrate locks to child PID when daemonize is used
also:

increase platform api version due to change in get_process_id behaviour.

(cherry picked from commit 6f94949a36)
(cherry picked from commit 5bad764637)
2017-08-13 21:40:56 +02:00
enkore 7b8c43ba88 Merge pull request #2926 from ThomasWaldmann/json-isoformat-1.1
json isoformat
2017-08-07 23:26:34 +02:00
Thomas Waldmann eb7d473dc7 test json timestamps for iso format
(cherry picked from commit c3b0214e89)
2017-08-07 21:56:39 +02:00
Thomas Waldmann 74c9277d76 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.

(cherry picked from commit 32174dd9c8)
2017-08-07 21:56:28 +02:00
Thomas Waldmann 65940be21a 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.

(cherry picked from commit b64561fe6f)
2017-08-07 21:56:15 +02:00
Thomas Waldmann d17553add6 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.

(cherry picked from commit 043d794b91)
2017-08-07 21:56:02 +02:00
enkore 51bcba332b Merge pull request #2921 from ThomasWaldmann/fix-serve-exitcode-1.1
fix exitcode of borg serve, fixes #2910
2017-08-07 12:21:58 +02:00
TW 2cc9307f17 Merge pull request #2915 from imsodin/fix-2899-1.1
Only compare contents when chunker params match (fixes #2899)
2017-08-06 23:57:45 +02:00
Thomas Waldmann 68d505c974 fix exitcode of borg serve, fixes #2910
(cherry picked from commit 583de3eeb1)
2017-08-06 17:34:10 +02:00
Simon Frei a1bffc193b Only compare contents when chunker params match (fixes #2899) 2017-08-06 01:24:53 +02:00
enkore 6f7d67d0f9 Merge pull request #2901 from ThomasWaldmann/vagrant-fixes
Vagrant fixes
2017-07-31 16:21:58 +02:00
Thomas Waldmann 4e40f8507d vagrant: netbsd: bash is already installed 2017-07-30 22:02:43 +02:00
Thomas Waldmann 1f5eba0cb8 vagrant: fix netbsd version in PKG_PATH
the VM is using netbsd 7.0.1, likely updating the version in the
PKG_PATH was forgotten when the machine itself was upgraded to a newer
version. it became visible now as the 6.1.5 stuff vanished from the
ftp server.

also: remove trailing /
2017-07-30 22:01:14 +02:00
Thomas Waldmann c1f9ed991b vagrant: add exe location to PATH when we build an exe 2017-07-30 21:43:59 +02:00
enkore 8d89ee981c Merge pull request #2882 from enkore/docs/minor-fixes
docs: minor formatting fixes
2017-07-26 14:01:49 +02:00
Marian Beermann 405e5ac9e1 docs: common options: don't wrap options 2017-07-26 13:57:48 +02:00
Marian Beermann 8727b79325 docs: don't narrow right margin in sidebar toc
avoids overly narrow text in the FAQ toc
2017-07-26 13:54:55 +02:00
enkore 153da8a9e6 Merge pull request #2881 from enkore/docs/tarpipe
docs: tar: tarpipe example
2017-07-26 10:41:10 +02:00
Marian Beermann 2ff4550d4b docs: tar: tarpipe example 2017-07-26 10:40:35 +02:00
enkore daa88e07f2 Merge pull request #2877 from Alexander-N/pylint-rules
Activate more linting rules in .coafile
2017-07-25 09:56:25 +02:00
enkore c1d7cd9b90 Merge pull request #2873 from enkore/issue/2869
with-lock, info docs
2017-07-24 23:50:51 +02:00
Marian Beermann b4b58e7225 info: explain max. archive size 2017-07-24 23:50:18 +02:00
Marian Beermann 24de8514fa with-lock: fix help text 2017-07-24 23:50:18 +02:00
enkore 836bc33a4d Merge pull request #2876 from enkore/issue/2628
cache: write_archive_index: truncate_and_unlink on error
2017-07-24 21:22:24 +02:00
enkore 3c0f8b7943 Merge pull request #2875 from enkore/issue/2863
umount: try fusermount, then try umount
2017-07-24 21:08:44 +02:00
Marian Beermann 2fe37dba7f umount: try fusermount, then try umount 2017-07-24 13:55:32 +02:00
Alexander-N eff492a8d8 Replace assert_true(False) with fail and don't ignore pylint rule W1503
assert_true(False) violates W1503 (redundant-unittest-assert) and is less clear than using fail().
2017-07-24 13:30:35 +02:00
Alexander-N 61b53f8995 Remove several linting rules from ignored list in .coafile
These rules are not violated and don't need to be ignored.
2017-07-24 13:26:21 +02:00
enkore 77797a2fbf Merge pull request #2837 from milkey-mouse/fix392
Detail how to use macOS/GNOME/KDE keyrings for repo passwords (fixes #392)
2017-07-24 11:03:00 +02:00
Marian Beermann 2623e330a4 cache: write_archive_index: truncate_and_unlink on error 2017-07-24 10:45:57 +02:00