Commit graph

83 commits

Author SHA1 Message Date
Cyryl Płotnicki
1d29b33f90 more consistent logging 2021-02-06 16:34:42 +00:00
Cyryl Płotnicki
175e5e327f test cleanup 2021-01-09 21:31:43 +00:00
Cyryl Płotnicki
6567d38e23 remove redundant error conversion 2020-12-27 22:37:21 +00:00
Cyryl Płotnicki
43fb1d86fd make sure we give up waiting on lock eventually 2020-12-27 22:17:22 +00:00
Cyryl Płotnicki
b1f8e8a709 test under lock contention 2020-12-27 21:10:13 +00:00
Cyryl Płotnicki
d363227643 Migrate to VFS to make tests faster 2020-12-27 17:47:47 +00:00
Cyryl Płotnicki
94ccf98a1c more consistent use of asref 2020-12-25 16:43:28 +00:00
Cyryl Płotnicki
769bc6b9f7 migrate some api to use AsRef 2020-12-25 16:29:00 +00:00
Cyryl Płotnicki
3ad21574a4 do not use proptest for the repo unittests as it was quite slow 2020-11-28 14:20:53 +00:00
Cyryl Płotnicki
f9613cb266 better name for the test source 2020-11-28 12:22:13 +00:00
Cyryl Płotnicki
8ea7e3d950 port data weight test to proptest 2020-11-28 12:04:18 +00:00
Cyryl Płotnicki
6629977515 duplicates testing uses proptest now 2020-11-28 11:48:37 +00:00
Cyryl Płotnicki
ee13dd22be add ability to save raw bytes in tests 2020-11-13 23:04:59 +00:00
Cyryl Płotnicki
f83baa0515 rename to lock 2020-11-13 22:37:41 +00:00
Cyryl Płotnicki
55958820bf Moved version into a folder 2020-11-08 20:03:34 +00:00
Cyryl Płotnicki
8da325341b Cleanup top level modules 2020-11-08 20:02:26 +00:00
Cyryl Płotnicki
be7f27d48d cleaner drop impl for lock 2020-11-08 19:27:50 +00:00
Cyryl Płotnicki
59c6c5465b Make sure version increases on save 2020-11-08 19:20:55 +00:00
Cyryl Płotnicki
7d44a998c9 ensure lock is released when dropped 2020-11-08 19:11:00 +00:00
Cyryl Płotnicki
de6705c0fc stronger checks 2020-11-08 18:04:48 +00:00
Cyryl Płotnicki
d706826279 Remove all unwraps from production code 2020-11-08 14:47:45 +00:00
Cyryl Płotnicki
90a86ef95f Add basic safety around running multiple backup processes concurrently. 2020-11-08 14:31:02 +00:00
Cyryl Płotnicki
502fc153a3 Upgrade dependencies 2020-11-07 10:40:32 +00:00
Cyryl Płotnicki
dd675bcbd5 Remove unneccessary clone 2020-11-07 10:21:07 +00:00
Cyryl Płotnicki
af2dec3c2c minor rename 2019-09-23 17:08:09 +01:00
Cyryl Płotnicki
62a0e0981a Store duplicated data just once 2019-09-23 17:04:23 +01:00
Cyryl Płotnicki
2fac1b2d77 Versions should increase 2019-09-23 16:30:40 +01:00
Cyryl Płotnicki
a20859597f First working version of support for versions 2019-09-23 12:47:04 +01:00
Cyryl Płotnicki
3ac27c1021 WIP on adding verions support 2019-09-23 12:18:18 +01:00
Cyryl Płotnicki
a0bea5ef3e Prevent source being within repository 2019-09-07 15:08:47 +01:00
Cyryl Płotnicki
66391862c1 Cleanup tests 2019-09-07 14:42:30 +01:00
Cyryl Płotnicki
0a53f8c1f5 Extract common test functions 2019-09-07 14:19:03 +01:00
Cyryl Płotnicki
8c43efcdce Restoring older versions works 2019-09-07 13:58:32 +01:00
Cyryl Płotnicki
a3f979c32d Store files under their versions 2019-09-07 13:37:51 +01:00
Cyryl Płotnicki
8f67cccac9 remove dead code 2019-09-07 11:39:19 +01:00
Cyryl Płotnicki
2228534a9c Extract ItemVersion 2019-09-07 11:37:31 +01:00
Cyryl Płotnicki
5643ea3ee1 better verbosity 2019-09-07 10:59:44 +01:00
Cyryl Płotnicki
6ed47937ee Fix test check for file contents 2019-09-07 10:29:27 +01:00
Cyryl Płotnicki
f397c99659 Fix index loading problems 2019-09-07 09:51:38 +01:00
Cyryl Płotnicki
14490bbe78 better verbosity 2019-09-07 09:01:30 +01:00
Cyryl Płotnicki
34c12508f5 wip on new tests 2019-09-01 22:21:34 +01:00
Cyryl Płotnicki
e275877d73 Better file hasing 2019-09-01 22:17:51 +01:00
Cyryl Płotnicki
1464cd26c8 started working on better versions and index persistence 2019-09-01 22:16:00 +01:00
Cyryl Płotnicki
0c715852d6 remove warnings 2019-09-01 21:23:15 +01:00
Cyryl Płotnicki
36cff8cb06 back to the point where one test works 2019-09-01 21:19:40 +01:00
Cyryl Płotnicki
18881df4a9 refactoring, still wip on versioning 2019-09-01 20:10:00 +01:00
Cyryl Płotnicki
ae4ed1f985 WIP on index - needs original source path stored 2019-09-01 17:39:42 +01:00
Cyryl Płotnicki
4800901f23 simple backup works 2019-09-01 17:30:45 +01:00
Cyryl Płotnicki
02ddaf27b6 saving repo items 2019-09-01 17:03:27 +01:00
Cyryl Płotnicki
d88fc90f05 basic store works 2019-09-01 12:57:37 +01:00