Alexander Neumann
b090c73bd4
Remove wrapper functions in errors package
...
This way, our own errors package does not appear in the stack traces.
2016-09-18 13:28:59 +02:00
Alexander Neumann
2b9a408ccc
Return a fatal for location.Parse
2016-09-18 13:28:41 +02:00
Alexander Neumann
83c35bd6b5
Do not print stack trace when open repo failed
...
Closes #622
2016-09-18 13:24:46 +02:00
Alexander Neumann
98b012a04e
Merge pull request #620 from restic/watch-529
...
Add verbose error when marshalling a node fails
2016-09-17 11:05:00 +02:00
Alexander Neumann
a9af896ddd
Add verbose error when marshalling a node fails
...
This code is introduced to watch for issue #529 , in which two users
describe that restic failed encoding a time in a node to JSON with the
error message:
panic: json: error calling MarshalJSON for type *restic.Node: json: error calling MarshalJSON for type time.Time: Time.MarshalJSON: year outside of range [0,9999]
The error message now is:
panic: Marshal: json: error calling MarshalJSON for type *restic.Node: node /home/fd0/shared/work/restic/restic/.git/hooks/applypatch-msg.sample has invalid ModTime year -1: -0001-01-02 03:04:05.000000006 +0053 LMT
2016-09-17 10:43:04 +02:00
Alexander Neumann
309dca8179
Merge pull request #619 from restic/update-deps
...
Update all vendored dependencies
2016-09-15 22:50:44 +02:00
Alexander Neumann
8144cd24d6
Add golang.org/x/crypto/ed25519
2016-09-15 22:36:49 +02:00
Alexander Neumann
0ce8191be5
Add golang.org/x/crypto/curve25519
2016-09-15 22:36:29 +02:00
Alexander Neumann
595f2582fa
Update golang.org/x/sys/unix
2016-09-15 22:35:45 +02:00
Alexander Neumann
da83bd8265
Upadte golang.org/x/net/context
2016-09-15 22:34:06 +02:00
Alexander Neumann
799cc37c22
Update golang.org/x/crypto/ssh
2016-09-15 22:33:32 +02:00
Alexander Neumann
35ba817128
Update golang.org/x/crypto/scrypt
2016-09-15 22:32:38 +02:00
Alexander Neumann
29a61950dd
Update golang.org/x/crypto/poly1305
2016-09-15 22:32:17 +02:00
Alexander Neumann
acd39eaab5
Update golang.org/x/crypto/pbkdf2
2016-09-15 22:31:49 +02:00
Alexander Neumann
3d55b54f3d
Update github.com/pkg/sftp
2016-09-15 22:31:18 +02:00
Alexander Neumann
daae3500dd
Update branch for github.com/kr/fs
2016-09-15 22:30:27 +02:00
Alexander Neumann
64fe9ec048
Update github.com/jessevdk/go-flags
2016-09-15 22:29:49 +02:00
Alexander Neumann
cb80a70aca
Update bazil.org/fuse
2016-09-15 22:26:23 +02:00
Alexander Neumann
24398d2b9d
Merge pull request #618 from restic/rework-ci-fuse-tests
...
Cleanup CI tests for fuse
2016-09-15 21:53:44 +02:00
Alexander Neumann
d4a2d70089
Retry umount for integration tests
2016-09-15 21:37:50 +02:00
Alexander Neumann
9add72e9d6
Exclude unneeded test run without fuse tests
2016-09-15 21:37:50 +02:00
Alexander Neumann
e7fc908ff1
Run fuse tests on Linux
2016-09-15 21:25:59 +02:00
Alexander Neumann
4ffca0f4b4
Improve integration tests for fuse
2016-09-15 21:17:20 +02:00
Alexander Neumann
a0f3e94655
fuse: handle duplicate timestamps for snapshots
...
This closes #606 , which fails because several snapshots are created with
exactly the same timestamp, and the code checks that for each snapshot
there is a dir in the fuse mount. This fails for colliding timestamps,
so we now add a suffix "-1", "-2" etc for each duplicate timestamp.
2016-09-15 21:15:49 +02:00
Alexander Neumann
6485a6cdc0
Simplify mount logic
2016-09-15 19:59:07 +02:00
Alexander Neumann
931f5cdd33
Merge pull request #616 from restic/add-snapshot-tags
...
Add tags to snapshots
2016-09-14 20:58:12 +02:00
Alexander Neumann
3975d76f23
Correct filenames for expire policy tests
2016-09-13 21:20:41 +02:00
Alexander Neumann
bf6602bc1b
Update golden file
2016-09-13 21:19:57 +02:00
Alexander Neumann
a85ffc66ae
Add documentation for tags
2016-09-13 21:09:55 +02:00
Alexander Neumann
828267aaa3
Fix status for stdin archiver
2016-09-13 21:01:29 +02:00
Alexander Neumann
a77c615909
Fix 'forget' command with tags
2016-09-13 20:56:18 +02:00
Alexander Neumann
cfdf4c92f7
Add --keep-tag
to forget
command
2016-09-13 20:37:11 +02:00
Alexander Neumann
0f9fb37c78
Add tags to forget command
2016-09-13 20:20:55 +02:00
Alexander Neumann
673bce936e
Add tags to 'backup' and 'snapshots' commands
2016-09-13 20:20:52 +02:00
Alexander Neumann
1f83635267
Add tags to snapshots and filter
2016-09-13 20:12:55 +02:00
Alexander Neumann
2d7e1b5804
Merge pull request #615 from kerel-fs/fix/manual
...
doc/Manual: Update usage help listing
2016-09-12 21:20:18 +02:00
Fabian P. Schmidt
085cf36199
doc/Manual: Update usage help listing
2016-09-12 20:42:38 +02:00
Alexander Neumann
ceb4a3ecc0
Merge pull request #613 from restic/read-password-from-file
...
Read password from file
2016-09-12 20:37:08 +02:00
Alexander Neumann
cf7795ce64
Merge pull request #614 from restic/improve-prune-stats
...
Improve statistics for `prune`
2016-09-12 20:37:00 +02:00
Alexander Neumann
223dc78acb
Improve statistics for prune
...
Sample:
counting files in repo
building new index for repo
[0:00] 100.00% 22 / 22 packs
repository contains 22 packs (1377 blobs) with 90.610 MiB bytes
processed 1377 blobs: 0 duplicate blobs, 0B duplicate
load all snapshots
find data that is still in use for 1 snapshots
[0:00] 100.00% 1 / 1 snapshots
found 409 of 1377 data blobs still in use, removing 968 blobs
will delete 10 packs and rewrite 10 packs, this frees 64.232 MiB
creating new index
[0:00] 100.00% 7 / 7 packs
saved new index as df467c6e
done
Closes #581
2016-09-12 14:26:47 +02:00
Alexander Neumann
f63cd12569
Document new option
2016-09-12 14:10:36 +02:00
Alexander Neumann
65afeba19a
Add option to read the password from a file
2016-09-12 14:09:22 +02:00
Alexander Neumann
791f73e0db
Merge pull request #608 from rosetree/patch-1
...
Fix a small typo in `stdin` example
2016-09-05 19:27:26 +02:00
Micha Rosenbaum
8ded453ab0
Fix a small typo in stdin
example
...
s/--stdin-filenam/--stdin-filename/
2016-09-05 19:01:53 +02:00
Alexander Neumann
e443454c4b
Add OS and Arch to 'version' output
2016-09-04 15:46:50 +02:00
Alexander Neumann
1dd9a58e5a
Merge pull request #600 from restic/restructure
...
WIP: restructure code
2016-09-04 15:36:26 +02:00
Alexander Neumann
b628bcee27
Remove redundant ParseID
2016-09-04 14:38:18 +02:00
Alexander Neumann
dfc0cbf3a8
Use one test password
2016-09-04 14:30:14 +02:00
Alexander Neumann
512a92895f
Rename WithTestEnvironment -> Env
2016-09-04 14:29:04 +02:00
Alexander Neumann
6ab425f130
Remove SetupRepo
2016-09-04 13:24:51 +02:00