Dustin J. Mitchell
|
c72cae648d
|
Apply snapshots automatically on empty taskdbs
|
2021-10-20 21:23:29 -04:00 |
|
Dustin J. Mitchell
|
b8d892878c
|
document sync data formats
|
2021-10-11 20:56:45 -04:00 |
|
Dustin J. Mitchell
|
4d19ca7bdb
|
add server-side config --snapshot-{days,versions}
|
2021-10-10 01:28:05 +00:00 |
|
Dustin J. Mitchell
|
bcef6bf392
|
remove redundant {..}
|
2021-10-01 22:18:24 -04:00 |
|
Dustin J. Mitchell
|
a143660124
|
Switch to pretty_assertions
|
2021-10-02 01:08:26 +00:00 |
|
dbr
|
f8ed4cecdd
|
Reset operation auto-increment ID
|
2021-09-04 13:05:21 +10:00 |
|
dbr
|
89e9a42374
|
Refactor calculation of next working set ID
As per Dustin's code-review comment
|
2021-09-04 13:02:03 +10:00 |
|
dbr
|
1d62799437
|
Deduplicate StoredUuid wrapper
|
2021-09-04 12:53:37 +10:00 |
|
dbr/Ben
|
477bf9e328
|
Tweaks from code review
Co-authored-by: Dustin J. Mitchell <dustin@v.igoro.us>
|
2021-09-04 12:05:30 +09:30 |
|
dbr
|
75f0447c7b
|
Fix empty-dir problem with server also, and add tests
|
2021-06-15 22:09:54 +10:00 |
|
dbr
|
e72b990ea2
|
Avoid error if DB folder does not exist
|
2021-06-15 20:01:47 +10:00 |
|
dbr
|
ff894f6ff6
|
Comments and rustfmt
|
2021-04-29 11:01:46 +10:00 |
|
dbr
|
a3c9a76f1d
|
Explicit check that rusqlite::Transaction isn't auto-commited on drop
|
2021-04-29 10:58:34 +10:00 |
|
dbr
|
23531d73c4
|
Remove debug junk
|
2021-04-29 10:57:43 +10:00 |
|
dbr
|
e479c25c34
|
Tidier
|
2021-04-29 10:41:17 +10:00 |
|
dbr
|
cefd6fd6cc
|
Serialize Uuid as string for nicer debugging
Also implement ToSql/FromSql for Operation/TaskMap so errors are handled properly
|
2021-04-29 10:39:29 +10:00 |
|
dbr
|
d5724c4dc2
|
Unused
|
2021-04-29 10:37:04 +10:00 |
|
dbr
|
e06e33bee4
|
Remove kv storage backend
Now uses sqlite by default
|
2021-04-29 00:20:13 +10:00 |
|
dbr
|
cf70ef49ed
|
Minor tidying
|
2021-04-29 00:10:53 +10:00 |
|
dbr
|
5ae828b1eb
|
Implement working set methods
|
2021-04-29 00:09:54 +10:00 |
|
dbr
|
2b7e121e7e
|
Implement operations storage for SQLite
|
2021-04-28 12:35:50 +10:00 |
|
dbr
|
1959f0c63a
|
Implement all_task_uuids and base version methods
|
2021-04-27 19:35:45 +10:00 |
|
dbr
|
305e6e2ede
|
Appease clippy
|
2021-04-22 14:16:07 +10:00 |
|
dbr
|
11d0172bf8
|
fmt
|
2021-04-22 14:15:50 +10:00 |
|
dbr
|
a9b93e7c20
|
Use names for row.get(...)
|
2021-04-22 13:33:54 +10:00 |
|
dbr
|
4bd6c40daf
|
Use uuid feature of rusqlite
|
2021-04-22 13:31:15 +10:00 |
|
dbr
|
0f3729d4c8
|
sqlite: Get all rows
Needs some improvement to error handling
|
2021-04-22 12:54:34 +10:00 |
|
dbr
|
e40724b381
|
Start of SQLite backed storage #131
|
2021-04-22 11:48:05 +10:00 |
|
Dustin J. Mitchell
|
c8d6619d71
|
Replace tempfile with tempdir
|
2021-04-16 19:29:27 -04:00 |
|
Dustin J. Mitchell
|
fdeadfd981
|
Fix upper_case_acronyms lint
|
2021-03-29 13:26:02 +00:00 |
|
dbr
|
5ee67d65e2
|
Remove whitespace in comment to avoid cargo fmt doing weird things
|
2021-03-25 18:29:53 +11:00 |
|
dbr
|
4d9755c43b
|
Replace 'failure' crate with anyhow+thiserror
Closes #148
|
2021-03-25 16:33:35 +11:00 |
|
Dustin J. Mitchell
|
ae4cee1ac3
|
add docs for the 'server' and 'storage' modules
|
2021-01-10 22:22:18 -05:00 |
|
Dustin J. Mitchell
|
02d9c577ab
|
use StorageConfig instead of ReplicaConfig
|
2021-01-10 22:22:18 -05:00 |
|
Dustin J. Mitchell
|
15ffc62279
|
rename taskstorage to storage
|
2021-01-10 22:22:17 -05:00 |
|