7 Commits

Author SHA1 Message Date
Jacob Hinkle
07ccef601c Change to using UUID and SHA256 as DB keys
This is important for distributed settings, and will make merging
databases much simpler. This change is pretty extensive and includes a
lot of other stuff like moving some fields between tables, and
introducing the `local_metadata` table which is a key-value store and
holds the uuid of the "local" store, i.e. the one corresponding to the
directory holding that particular nancy.db.
2022-10-10 15:14:47 -04:00
Jacob Hinkle
c4648ec042 Add tox with mypy, fix typehints. Upgrade black pre-commit hook 2022-10-04 20:56:38 -04:00
Jacob Hinkle
b72051ff75 Run "black" on all python code 2022-09-28 12:21:49 -04:00
45c2046fd6 Update schema putting more into filedir_version 2022-09-27 11:26:05 -04:00
a5cbce3c66 Rename do_record as record in order to facilitate re-use 2022-09-22 09:58:33 -04:00
f55d110e49 Programs are now recorded in the store.
The record() program and cli is not yet working. For that we need a
working `FSDiff` next.  Then we'll finally be ready to start recording
file information.
2022-09-21 21:23:20 -04:00
311990d5f6 Update schema and add tests which don't rely on python 2022-09-20 12:07:32 -04:00