🔧 Speedup package upgrades

Now we can just remove the necessary files and let the installation
handle the rest
This commit is contained in:
Ettore Di Giacinto
2021-12-24 11:44:50 +01:00
parent c98f427156
commit a363b53043
3 changed files with 152 additions and 236 deletions

View File

@@ -16,7 +16,9 @@
package installer
import (
"github.com/mudler/luet/pkg/api/core/types"
artifact "github.com/mudler/luet/pkg/api/core/types/artifact"
"github.com/mudler/luet/pkg/tree"
//"github.com/mudler/luet/pkg/solver"
)
@@ -27,3 +29,9 @@ type Client interface {
}
type Repositories []*LuetSystemRepository
type Repository interface {
GetTree() tree.Builder
Client(types.Context) Client
GetName() string
}