Alexander Neumann
da2e9d447f
Make tests run by travis less verbose
2015-06-21 17:40:21 +02:00
Alexander Neumann
cd5b788e48
Ignore goverall errors
2015-06-21 17:40:21 +02:00
Alexander Neumann
e071ca57d5
Use run_tests.go
for testing coverage
2015-06-21 17:40:21 +02:00
Alexander Neumann
d8d09b6d69
Fix restic configuration for integration tests
2015-06-21 17:40:21 +02:00
Alexander Neumann
9c2478a291
Add run_tests.go
2015-06-21 17:40:21 +02:00
Alexander Neumann
12677b4f8a
Use flag instead of build tag to run integration tests
2015-06-21 17:40:21 +02:00
Alexander Neumann
7c107acf0b
More integration tests
2015-06-21 17:40:21 +02:00
Alexander Neumann
9b7db4df24
travis: Add new integration tests
2015-06-21 17:40:21 +02:00
Alexander Neumann
954025e399
Add integration test with the go testing framework
2015-06-21 17:40:21 +02:00
Alexander Neumann
c37ae44ff5
Merge pull request #196 from restic/minor-refactor
...
A collection of minor refactorings from #179
2015-06-08 19:24:35 +02:00
Alexander Neumann
9c375ea382
Refactor backup a bit
2015-06-07 19:08:37 +02:00
Alexander Neumann
fd80499954
Refactor terminal recognition, add --quiet parameter
2015-06-07 18:30:11 +02:00
Alexander Neumann
f5537e7a0e
Refactor configuration of cache dir and repository
2015-06-07 18:15:03 +02:00
Alexander Neumann
848793df84
Remove unused file
2015-06-07 18:13:22 +02:00
Alexander Neumann
8eec59ebb2
Merge pull request #194 from restic/fix-orphaned-check
...
Fix fsck orphaned check, add debug command 'dump', cleanup
2015-05-28 21:40:23 +02:00
Alexander Neumann
219f857c67
travis: Skip join/part for emitting messages
2015-05-18 00:02:51 +02:00
Alexander Neumann
0314d2b0c3
fsck: Fix check for orphaned blobs
2015-05-17 23:41:53 +02:00
Alexander Neumann
df1e3e03e9
Add 'dump' command
...
'dump' writes internal data structes pretty-printed as JSON to stdout.
This was done to debug fsck error messages.
In contrast to the 'cat' command, this one prints the data structures as
there are interpreted by restic, not as they are stored in the
repository. This means that only the merged index from all the index
files is printed out.
This is meant for debugging only, it's compiled only when the "debug"
tag is active.
2015-05-17 23:15:08 +02:00
Alexander Neumann
65c3aead3e
Add index.Dump()
2015-05-17 20:58:22 +02:00
Alexander Neumann
f773feeb04
Remove Repository.Close() and .Location()
2015-05-17 20:58:22 +02:00
Alexander Neumann
af381c2ab0
Remove Repository.Remove()
2015-05-17 20:58:22 +02:00
Alexander Neumann
eb6dfcf58c
Remove Repository.Test()
2015-05-17 20:58:22 +02:00
Alexander Neumann
6e38a8a033
Move FindSnapshot, make Repository.List() return IDs
2015-05-17 20:58:22 +02:00
Alexander Neumann
cf37b619fd
Merge pull request #191 from restic/fix-189
...
Fix restoring symlink timestamps for linux
2015-05-17 14:26:54 +02:00
Alexander Neumann
14a3ed4e9d
Move error annotation for symlink timestamp restore
2015-05-16 13:25:10 +02:00
Alexander Neumann
70f92433c3
Merge pull request #192 from restic/fix-linux-i386
...
Fix restic on i386
2015-05-16 13:20:10 +02:00
Alexander Neumann
eee93e9125
travis: Run tests for 386 and amd64
2015-05-14 23:20:12 +02:00
Alexander Neumann
d42242556b
Fix restic for i386
...
Some functions aren't implemented on Linux/i386, e.g. user.LookupId()
and user.Current(), so ignore these errors.
2015-05-14 23:16:35 +02:00
Alexander Neumann
44219c5afe
node/Linux: Implement setting timestamps for symlinks
2015-05-14 23:06:11 +02:00
Alexander Neumann
af06376b5b
Add tests for node.CreateAt()
2015-05-14 22:04:55 +02:00
Alexander Neumann
4e5094b7c9
Fix loading config on sftp backend
2015-05-14 18:08:45 +02:00
Alexander Neumann
3517229844
Merge pull request #186 from restic/directory_modtime
...
Fix ModTime for directories
2015-05-14 16:10:31 +02:00
Alexander Neumann
1fb8e332ce
Restore timestamps for directories earlier
2015-05-14 15:58:26 +02:00
Alexander Neumann
aa5fd9e9bc
Remove execute bit from node.go
2015-05-14 15:53:49 +02:00
Alexander Neumann
6bab4a8eda
Merge pull request #188 from restic/fix-185
...
Fix #185
2015-05-14 11:23:29 +02:00
Alexander Neumann
3ace557dbe
Makefile: Add dependency on all Go source code
2015-05-14 11:11:30 +02:00
Alexander Neumann
e1098eedac
Fix make -B (force rebuild)
2015-05-14 11:10:01 +02:00
Florian Weingarten
bace4607bf
Fix ModTime for directories
2015-05-13 23:11:31 -04:00
Alexander Neumann
396a69886c
README: Fix indent
2015-05-12 21:36:54 +02:00
Alexander Neumann
2a5bbe2b02
Merge pull request #183 from restic/fix-documentation
...
Fix compiling instructions
2015-05-12 21:23:28 +02:00
Alexander Neumann
2d0fc294b7
Fix compiling instructions
2015-05-12 21:22:52 +02:00
Alexander Neumann
0bb43fa0af
Merge pull request #181 from restic/compile-from-checkout
...
Vendor using godep, allow compiling from checkout
2015-05-12 21:08:42 +02:00
Alexander Neumann
8c684f91a3
travis/Makefile: output debug information
2015-05-11 22:18:28 +02:00
Alexander Neumann
aebfaec9c7
Add integration tests
2015-05-11 21:09:32 +02:00
Alexander Neumann
61f8169fa0
Makefile: Fix bench
2015-05-11 18:26:56 +02:00
Alexander Neumann
506bf61f32
travis: Fix env variables
2015-05-10 23:30:26 +02:00
Alexander Neumann
54793e9233
travis: Configure gox OS for cross-compilation
2015-05-10 23:19:46 +02:00
Alexander Neumann
b7e1d2788b
Makefile: Split out coverage into a shell script
2015-05-10 23:04:02 +02:00
Alexander Neumann
be8064cd97
Makefile: Add missing dependencies
2015-05-10 22:49:01 +02:00
Alexander Neumann
fdac4655c6
Integrate travis
2015-05-10 22:47:01 +02:00