1
0
mirror of https://github.com/restic/restic.git synced 2024-06-27 07:55:08 +02:00
restic/internal
Alexander Neumann 939f3e972c node: Make sure year of all timestamps is valid
Sometimes restic gets bogus timestamps which cannot be converted to
JSON, because the stdlib JSON encoder returns an error if the year is
not within [0, 9999]. We now make sure that we at least record _some_
timestamp and cap the year either to 0000 or 9999. Before, restic would
refuse to save the file at all, so this improves the status quo.

This fixes #2174 and #1173
2019-04-24 16:39:36 +02:00
..
archiver Fix gofmt 2019-03-16 13:29:05 +01:00
backend Merge pull request #2217 from restic/improve-memory-usage 2019-04-13 15:07:07 +02:00
cache Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00
checker check: Reduce default parallelism from 40 to 5 2019-04-13 13:38:39 +02:00
crypto crypto: Rework Seal/Open to use sliceForAppend 2017-11-01 10:30:40 +01:00
debug Remove build tag release 2018-10-11 19:40:38 +02:00
errors backup: Improve error message for invalid pattern 2018-10-03 11:12:51 +02:00
filter filter: Allow double wildcard in ChildMatch 2018-06-09 23:18:13 +02:00
fs Return error when reading zero byte from stdin 2019-01-06 14:52:20 +01:00
fuse Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
hashing Moves files 2017-07-23 14:19:13 +02:00
index index.New: Test various error conditions 2018-10-28 14:02:31 +01:00
limiter rclone: Respect bandwith limits 2018-05-22 20:48:17 +02:00
migrations clean up some errors from 'go vet ./...' 2018-09-05 08:04:55 -04:00
mock mock: Remove unused repository type 2019-04-13 13:38:39 +02:00
options errors: Add "Fatal" prefix for Fatalf() 2018-01-06 23:27:47 +01:00
pack backend: Improve Save() 2018-03-03 15:49:44 +01:00
repository Reuse buffer in worker functions 2019-04-13 13:38:39 +02:00
restic node: Make sure year of all timestamps is valid 2019-04-24 16:39:36 +02:00
restorer Fix rare 'file already closed' during restore 2019-03-16 17:01:20 +01:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test Add test.Helper, also works with Go 1.8 2018-04-22 11:37:05 +02:00
textfile Add textfile 2018-05-01 14:38:59 +02:00
ui Merge pull request 2138 from restic/fix-2136 2019-02-10 12:32:50 +01:00
walker walk: Pass parent tree ID to WalkFunc 2018-08-19 23:28:04 +02:00