git-annex/Database
Joey Hess b801812660
init: probe if sqlite works
Help the user get annex.dbdir configured when their filesystem is not
one that sqlite works on.

The change in Database.Handle makes an error from sqlite not be ignored
besides being displayed, which it was before. I can't see any reason
git-annex would want to ignore these errors.

I chose to use the fsck database rather than the keys database because
opening the keys database populates it, and see commit
b3c4579c79.

The placement of the call to checkSqliteWorks inside checkInitializeAllowed
avoids annex.uuid getting set before it's called.

Sponsored-by: Dartmouth College's Datalad project
2022-08-17 13:12:26 -04:00
..
Keys add debugLocks around database operations 2022-06-03 14:16:28 -04:00
Benchmark.hs eliminate single/multi writer distinction 2021-10-20 12:26:30 -04:00
ContentIdentifier.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Export.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Fsck.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Handle.hs init: probe if sqlite works 2022-08-17 13:12:26 -04:00
Init.hs use a subdirectory of annex.dbdir 2022-08-12 13:18:15 -04:00
Keys.hs add annex.dbdir (WIP) 2022-08-11 16:58:53 -04:00
Queue.hs fix MVar deadlock when sqlite commit fails 2022-06-06 12:16:55 -04:00
Types.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00