Daniel Örn
84421a7c68
structured file with gofmt
2016-10-05 07:30:46 +02:00
Daniel Örn
5c7325f44a
Added long paths fix for samba network shares
2016-10-05 07:09:56 +02:00
Alexander Neumann
c45b498a8b
Merge pull request #637 from ckemper67/s3-join
...
Use path.Join to create the s3 object name within the bucket.
2016-10-03 22:38:28 +02:00
Christian Kemper
a4261dcc9c
Use path.Join to create the s3 object name within the bucket.
...
path.Join already automatically skips empty path segments when
joining, so this simplifies the s3Path code.
2016-10-02 16:56:07 -07:00
Alexander Neumann
d1ecdf7441
Add VERSION file for 0.3.0
2016-10-02 18:24:14 +02:00
Alexander Neumann
088ca033f8
Reword README
2016-10-02 16:08:05 +02:00
Alexander Neumann
5b7dd32c20
Manual: Reword section about fuse support
2016-10-02 16:03:02 +02:00
Alexander Neumann
eb94395f3d
Merge pull request #635 from restic/fix-633
...
Fix short-hand option clash
2016-09-29 21:39:05 +02:00
Alexander Neumann
22f5fc5739
Improve help text for slice options
2016-09-29 20:39:55 +02:00
Alexander Neumann
e994cacbfe
Fix short-hand option clash
2016-09-29 20:37:45 +02:00
Alexander Neumann
3114d41cb7
Merge pull request #632 from restic/rework-debug
...
Rework debug message printing
2016-09-28 21:11:02 +02:00
Alexander Neumann
968b2ece43
Add section to the manual about debug message filters
2016-09-28 20:22:22 +02:00
Alexander Neumann
feed54caef
Remove timing, simplify function matching
2016-09-28 20:10:40 +02:00
Alexander Neumann
4eddcb344e
Update calls to debug.Log()
2016-09-28 19:56:03 +02:00
Alexander Neumann
2ae06a7a01
Rework debug log function
2016-09-28 19:56:03 +02:00
Alexander Neumann
25945718a1
Fix recursive call to debug.Log
2016-09-28 19:56:03 +02:00
Alexander Neumann
254188f38f
Merge pull request #631 from restic/switch-to-cobra
...
Switch to cobra/pflag for CLI
2016-09-28 19:54:59 +02:00
Alexander Neumann
3601c39177
Add comments
2016-09-27 20:22:01 +02:00
Alexander Neumann
02f7bb0d4c
Add mousetrap library for Windows
2016-09-27 20:13:22 +02:00
Alexander Neumann
565d72ef36
Use cobra for all commands
2016-09-27 19:53:03 +02:00
Alexander Neumann
3806623c23
Vendor cobra and pflag
2016-09-27 19:52:48 +02:00
Alexander Neumann
0fa12839a5
Remove go-flags
2016-09-27 19:52:48 +02:00
Alexander Neumann
a257a613d7
Fix debug log
2016-09-27 19:52:48 +02:00
Alexander Neumann
0a752b9fab
test helpers: Always print stack trace
2016-09-27 19:50:26 +02:00
Alexander Neumann
eeec0d63c2
Merge pull request #630 from restic/remove-unused
...
Remove unused bits and pieces
2016-09-24 12:03:26 +02:00
Alexander Neumann
04d6b5da2f
Remove more unused bits
2016-09-21 20:45:18 +02:00
Alexander Neumann
1dfd3b8aa3
Remove unused bits and pieces
...
Reported by https://github.com/dominikh/go-unused
2016-09-21 20:22:32 +02:00
Alexander Neumann
0873821b98
Add section about --one-file-system
to manual
2016-09-18 20:18:52 +02:00
Alexander Neumann
0a9cbd47c7
Merge pull request #626 from rfjakob/master
...
Add "-x", "--one-file-system" option
2016-09-18 20:03:58 +02:00
Alexander Neumann
b61027b48d
Merge pull request #627 from restic/fix-fuse-test
...
fuse: fix tests for snapshots with same timestamps
2016-09-18 19:55:12 +02:00
Jakob Unterwurzacher
53701891a1
Add "-x", "--one-file-system" option
...
Equivalent to rsync's "-x" option.
Notes to the naming:
"--exclude-other-filesystems"
is used by Duplicity,
"--one-file-system"
is used rsync and tar.
This latter should be more familiar to the user.
2016-09-18 18:52:30 +02:00
Alexander Neumann
68b462d057
fuse: Add test for same timestamps
2016-09-18 18:30:25 +02:00
Alexander Neumann
649f789190
fuse: Fix test for timestamps with same second
2016-09-18 18:13:39 +02:00
Alexander Neumann
7b3e319398
Merge pull request #625 from restic/fix-624
...
fuse: correctly handle snapshots
2016-09-18 15:35:50 +02:00
Alexander Neumann
5494c1858e
fuse: correctly handle snapshots
...
The fuse code kept adding snapshots to the top-level dir "snapshots". In
addition, snapshots with the same timestamp (same second) were not added
correctly, they will now be suffixed by an incrementing counter, e.g.:
dr-xr-xr-x 1 fd0 users 0 Sep 18 15:01 2016-09-18T15:01:44+02:00
dr-xr-xr-x 1 fd0 users 0 Sep 18 15:01 2016-09-18T15:01:48+02:00
dr-xr-xr-x 1 fd0 users 0 Sep 18 15:01 2016-09-18T15:01:48+02:00-1
Closes #624
2016-09-18 15:04:39 +02:00
Alexander Neumann
c5763e59d5
Merge pull request #623 from restic/fix-622
...
Improve error messages for open repo
2016-09-18 14:04:30 +02:00
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