[Concept] [PATCH 06/14] qconfig: Refactor to allow buildman to read the database