Commit graph

3623 commits

Author SHA1 Message Date
Alexander Neumann
ac8d01ac8c Merge pull request #231 from restic/implement-filter-functions
Add filter implementation for files
2015-07-20 21:33:16 +02:00
Alexander Neumann
258b6a77ee Refactor skipping symlink ModTime checks, add OpenBSD 2015-07-20 21:29:21 +02:00
Alexander Neumann
bd3ce5d4a3 Fix tests on freebsd 2015-07-20 21:08:29 +02:00
Alexander Neumann
1da89253cf Add include filter for restore
Include and exclude filter are mutually exclusive.
2015-07-20 19:21:01 +02:00
Alexander Neumann
c0337a2675 Add exclude filter to restorer and 'restore' command 2015-07-20 19:21:01 +02:00
Alexander Neumann
7fd52f9f57 Add exclude filter to archiver and 'backup' command 2015-07-20 19:21:01 +02:00
Alexander Neumann
0d8bad273d Remove combined include/exclude filters 2015-07-20 19:21:01 +02:00
Alexander Neumann
b425ea19e5 filter: fix bug, copy slice with new pattern 2015-07-20 19:21:01 +02:00
Alexander Neumann
e9285539be filter: implement handling ** 2015-07-20 19:21:01 +02:00
Alexander Neumann
bbdb2ebfa0 Add filter implementation for files 2015-07-20 19:21:01 +02:00
Alexander Neumann
7e0a9aa565 Merge pull request #122 from rakoo/fuse
Add fuse mount for browsing snapshots
2015-07-19 23:34:02 +02:00
Matthieu Rakotojaona
77c0f69dd0 Don't test fuse on non-darwin 2015-07-19 23:24:52 +02:00
Matthieu Rakotojaona
3767eb2675 Unmount and remove directory for mount in tests 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
e44716381c Unmount when closing application from cli 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
eadfcd3f9e Add waitForMount for OSX 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
fe6f1c01f3 Make inodeFromBackendId more explicit 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
a4d122e5ae Cleanup mount after test 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
d7888d4dd5 Fix checks in fuse tests 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
ca6b7ec533 Add Index.LookupSize 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
c9d8ab9be5 Skip fuse tests for non-darwin 2015-07-19 23:04:18 +02:00
Matthieu Rakotojaona
b1426826cc Extract fuse structs 2015-07-19 23:03:33 +02:00
Matthieu Rakotojaona
0606b9884e Make file.Read more intelligible 2015-07-19 23:03:33 +02:00
Matthieu Rakotojaona
3731a94367 Use functions to create names 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
a016f82051 Fix coding style 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
e654a9659c Protect the snapshots cache with a RWMutex 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
0e7c1668d5 Make mountpoint readable by owner only 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
9ff98d34ef Add build and test instructions
* Don't build on openbsd
* Don't test fuse on travis
2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
1f79a19293 Comment the go trick about static verification of a struct implementing an interface 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
a8cd74ba7e Cache known snapshots instead of re-traversing the repository every time 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
c9b3eebc09 Check that mountpoints are created 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
25b090a074 Add integration tests for mount command 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
414ade5b3f Signal readiness of mount to potential callers 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
a6ce7d9845 Use more restic-y idioms 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
3a82612244 Update bazil.org/fuse version 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona
32a321e51e Add simple mount command 2015-07-19 23:03:32 +02:00
Alexander Neumann
a8e04d1826 Travis: Fix installing osxfuse on darwin 2015-07-19 21:51:36 +02:00
Alexander Neumann
c3fe396bdd Merge pull request #237 from restic/refactor-cleanup-handlers
Allow more than one cleanup handler
2015-07-19 18:15:45 +02:00
Alexander Neumann
9441442a4d Add darwin test box to Vagrantfile 2015-07-19 18:13:27 +02:00
Alexander Neumann
3cabadab43 Allow more than one cleanup handler 2015-07-19 18:13:27 +02:00
Alexander Neumann
76817da922 Run cleanup handlers in main function 2015-07-19 17:57:18 +02:00
Alexander Neumann
dac89bf544 Allow more than one cleanup handler 2015-07-19 17:50:55 +02:00
Florian Weingarten
b6b1f41f2e Merge pull request #234 from restic/osxfuse
osxfuse for travis on darwin
2015-07-19 01:05:11 +02:00
Alexander Neumann
60d3f831f6 Merge pull request #235 from restic/add-vagrantfile
Add Vagrantfile
2015-07-19 00:05:56 +02:00
Alexander Neumann
ed499440cc Add note about vagrant 2015-07-19 00:05:04 +02:00
Florian Weingarten
7725dedf2d fix permissions 2015-07-18 17:59:25 -04:00
Alexander Neumann
149b634333 Add Vagrantfile
This defines Linux, FreeBSD and OpenBSD VMs and creates a Go
environment.

Micro-tutorial:

    $ vagrant up freebsd
    [wait...]

    $ vagrant ssh freebsd -c 'cd restic/restic; go test -v ./...'
    [test output]
2015-07-18 23:25:30 +02:00
Florian Weingarten
a8401973a8 osxfuse for travis on darwin 2015-07-18 17:13:37 -04:00
Alexander Neumann
528dba2255 Add demo recording 2015-07-16 23:35:18 +02:00
Alexander Neumann
3f8f391d0b Merge pull request #230 from restic/refresh-locks
Refresh locks
2015-07-13 20:12:26 +02:00
Alexander Neumann
159b9e80c4 cmd/restic: implement lock refresh 2015-07-12 22:10:01 +02:00