Closed peter-facko closed 7 months ago
Installation should be a part of the meta-manager, not submanagers.
Installer - simple or pacman.
simple
pacman
simple just unpacks the archive and updates the DB in the installation pacman executes pacman -U archive.pkg.tar.zst with fakealpm
pacman -U archive.pkg.tar.zst
installer.is_ordered(archive) -> bool installer.install(archive, destination) -> None
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.
Part of other issues.
Installation should be a part of the meta-manager, not submanagers.
Installer -
simple
orpacman
.simple
just unpacks the archive and updates the DB in the installationpacman
executespacman -U archive.pkg.tar.zst
with fakealpminstaller.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.