From f107f472425f91e4f00fa77ea7aba3bd0032cd95 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 17 Nov 2019 19:45:20 +0100 Subject: [PATCH] Prepare for 0.1 tag --- cmd/root.go | 4 ++-- pkg/compiler/backend/simpleimg.go | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index ae577525..89df6b1d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -29,13 +29,13 @@ import ( var cfgFile string var Verbose bool -const LuetCLIVersion = "0.1-dev" +const LuetCLIVersion = "0.1" // RootCmd represents the base command when called without any subcommands var RootCmd = &cobra.Command{ Use: "luet", Short: "Package manager for the XXth century!", - Long: `Package manager which supports Gentoo and Entropy packages`, + Long: `Package manager which uses containers to build packages`, Version: LuetCLIVersion, } diff --git a/pkg/compiler/backend/simpleimg.go b/pkg/compiler/backend/simpleimg.go index fa081b00..e269d2d6 100644 --- a/pkg/compiler/backend/simpleimg.go +++ b/pkg/compiler/backend/simpleimg.go @@ -65,8 +65,6 @@ func (*SimpleImg) DownloadImage(opts compiler.CompilerBackendOptions) error { name := opts.ImageName buildarg := []string{"pull", name} - Spinner(22) - defer SpinnerStop() Debug("Downloading image "+name+" - running img with: ", buildarg) cmd := exec.Command("img", buildarg...) @@ -74,7 +72,6 @@ func (*SimpleImg) DownloadImage(opts compiler.CompilerBackendOptions) error { if err != nil { return errors.Wrap(err, "Failed building image: "+string(out)) } - Info(string(out)) return nil } func (*SimpleImg) CopyImage(src, dst string) error { @@ -87,7 +84,6 @@ func (*SimpleImg) CopyImage(src, dst string) error { if err != nil { return errors.Wrap(err, "Failed tagging image: "+string(out)) } - Info(string(out)) return nil } @@ -108,14 +104,11 @@ func (*SimpleImg) ExportImage(opts compiler.CompilerBackendOptions) error { name := opts.ImageName path := opts.Destination buildarg := []string{"save", name, "-o", path} - Spinner(22) Debug("Saving image "+name+" - running img with: ", buildarg) out, err := exec.Command("img", buildarg...).CombinedOutput() if err != nil { return errors.Wrap(err, "Failed building image: "+string(out)) } - SpinnerStop() - Info(out) return nil }