From 5a5ec1883a933b2a778f05c567076d9fb342ae88 Mon Sep 17 00:00:00 2001 From: Aleksey Hariton Date: Tue, 25 Aug 2020 17:26:28 +0300 Subject: [PATCH] feat: add charts versions in output of dependencies downloader Signed-off-by: Aleksey Hariton --- pkg/downloader/manager.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/downloader/manager.go b/pkg/downloader/manager.go index bcd5dcec4..fcdb2ce0a 100644 --- a/pkg/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -294,7 +294,7 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error { } if strings.HasPrefix(dep.Repository, "file://") { if m.Debug { - fmt.Fprintf(m.Out, "Archiving %s from repo %s\n", dep.Name, dep.Repository) + fmt.Fprintf(m.Out, "Archiving %s %s from repo %s\n", dep.Name, dep.Version, dep.Repository) } ver, err := tarFromLocalDir(m.ChartPath, dep.Name, dep.Repository, dep.Version) if err != nil { @@ -314,11 +314,11 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error { } if _, ok := churls[churl]; ok { - fmt.Fprintf(m.Out, "Already downloaded %s from repo %s\n", dep.Name, dep.Repository) + fmt.Fprintf(m.Out, "Already downloaded %s %s from repo %s\n", dep.Name, dep.Version, dep.Repository) continue } - fmt.Fprintf(m.Out, "Downloading %s from repo %s\n", dep.Name, dep.Repository) + fmt.Fprintf(m.Out, "Downloading %s %s from repo %s\n", dep.Name, dep.Version, dep.Repository) dl := ChartDownloader{ Out: m.Out,