Make the installed-package database lock reentrant, change some functions to take the lock, and fix the documentation on when a lock is expected to be taken outside of functions. original commit: 10e53e3bf4
10e53e3bf4
raco test'; demote
raco make' flags; add