Compute upgrades

Make solver compute simply upgrades and the installer execute them.

Add simple upgrade test
This commit is contained in:
Ettore Di Giacinto
2019-11-29 19:01:56 +01:00
parent ff3b322ea2
commit 30a7312911
15 changed files with 303 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ import (
type Installer interface {
Install([]pkg.Package, *System) error
Uninstall(pkg.Package, *System) error
Upgrade(s *System) error
Repositories([]Repository)
}