Commit graph

97 commits

Author SHA1 Message Date
Cyryl Płotnicki
20373325a9 delete vfs 2021-05-16 19:53:13 +01:00
Cyryl Płotnicki
12dce7e676 Fix lint 2021-05-16 11:51:33 +01:00
Cyryl Płotnicki
86fe8541c4 Clarify constant 2021-05-16 11:26:31 +01:00
Cyryl Płotnicki
5fde2887bd Update dependencies 2021-05-16 11:22:03 +01:00
Cyryl Płotnicki
3730443237 Fix lints 2021-05-16 10:44:38 +01:00
Cyryl Płotnicki
4113a997d6 Basic error correction working, but slow 2021-05-16 10:39:22 +01:00
Cyryl Płotnicki
6ba7045301 encode small amounts 2021-05-16 10:37:23 +01:00
Cyryl Płotnicki
657428ee4d empty encoder but the structure with green tests in place 2021-05-16 09:09:38 +01:00
Cyryl Płotnicki
b7e74d9437 fixed corruption test itself 2021-05-15 21:20:30 +01:00
Cyryl Płotnicki
a95b5d840f back to all but corruption tests green 2021-05-15 21:07:32 +01:00
Cyryl Płotnicki
c6e34c5756 wip on error correction 2021-05-15 20:10:26 +01:00
Cyryl Płotnicki
a413879cf7 Move encoder out 2021-02-07 12:23:06 +00:00
Cyryl Płotnicki
5cc2bacc6b add placeholder for encoding 2021-02-07 00:13:41 +00:00
Cyryl Płotnicki
88688f8a68 add basic re-load test 2021-02-06 23:13:08 +00:00
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