Do implement a real cache

Instead of merely storing files into disk use a real cache.

This also makes possible finally to reference artifacts in the cache with the
package checksum, which solves the cache hit checksum failures we had
previously.
This commit is contained in:
Ettore Di Giacinto
2021-10-19 17:06:48 +02:00
parent 2eeb464946
commit 5b4e930fc3
26 changed files with 328 additions and 212 deletions

View File

@@ -19,7 +19,7 @@ import (
"io/ioutil"
"github.com/mudler/luet/cmd/util"
artifact "github.com/mudler/luet/pkg/compiler/types/artifact"
artifact "github.com/mudler/luet/pkg/api/core/types/artifact"
. "github.com/mudler/luet/pkg/logger"
pkg "github.com/mudler/luet/pkg/package"