Right now package location (overlay, sync or automated) is located in PackageRecord entry that is being serialized into the database.
|
phmap::flat_hash_map<Core::Domain::PoolLocation, Description> descriptions; |
Moving it into Id (so LMDB key will become something like branch/repository/architecture/package/location) and flatting PackageRecord structure will potentially greatly reduce code complexity/control flow related to multiple package locations persistence.
Right now package location (overlay, sync or automated) is located in PackageRecord entry that is being serialized into the database.
bxt/daemon/persistence/box/record/PackageRecord.h
Line 70 in 89b27da
Moving it into Id (so LMDB key will become something like
branch/repository/architecture/package/location) and flatting PackageRecord structure will potentially greatly reduce code complexity/control flow related to multiple package locations persistence.