Skip to content

Move location to package id #153

@LordTermor

Description

@LordTermor

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.

Metadata

Metadata

Assignees

Labels

DaemonChanges related to the backendRefactoringReadability code changesenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions