From 07dff7f197cf366bb7f609fb0e529487d6297972 Mon Sep 17 00:00:00 2001 From: Daniele Rondina Date: Mon, 12 Oct 2020 08:42:19 +0200 Subject: [PATCH] installer: log packages ignored on create-repo --- pkg/installer/repository.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/installer/repository.go b/pkg/installer/repository.go index 7353fd2a..7e40a8e9 100644 --- a/pkg/installer/repository.go +++ b/pkg/installer/repository.go @@ -265,6 +265,8 @@ func buildPackageIndex(path string, db pkg.PackageDatabase) ([]compiler.Artifact // We want to include packages that are ONLY referenced in the tree. // the ones which aren't should be deleted. (TODO: by another cli command?) if _, notfound := db.FindPackage(artifact.GetCompileSpec().GetPackage()); notfound != nil { + Info(fmt.Sprintf("Package %s not found in tree. Ignoring it.", + artifact.GetCompileSpec().GetPackage().HumanReadableString())) return nil }