peter-facko / PPpackage

PP package manager.
0 stars 0 forks source link

Move installation into the meta-manager. #193

Closed peter-facko closed 7 months ago

peter-facko commented 7 months ago

Installation should be a part of the meta-manager, not submanagers.

Installer - simple or pacman.

simple just unpacks the archive and updates the DB in the installation pacman executes pacman -U archive.pkg.tar.zst with fakealpm

installer.is_ordered(archive) -> bool installer.install(archive, destination) -> None

Part of package product is the backend it should be installed with. product:=(backend_name, archive)

Unordered products can be installed in any order and produce equivalent installations. The installation order must still respect dependencies.

peter-facko commented 7 months ago

Part of other issues.