Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package okteto for openSUSE:Factory checked in at 2022-10-20 11:11:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/okteto (Old) and /work/SRC/openSUSE:Factory/.okteto.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "okteto" Thu Oct 20 11:11:23 2022 rev:29 rq:1030001 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/okteto/okteto.changes 2022-10-19 13:18:17.129297768 +0200 +++ /work/SRC/openSUSE:Factory/.okteto.new.2275/okteto.changes 2022-10-20 11:11:50.544035576 +0200 @@ -1,0 +2,6 @@ +Wed Oct 19 13:04:24 UTC 2022 - kastl@b1-systems.de + +- Update to version 2.8.1: + * fix: use the correct param on the API call (#3172) (#3173) + +------------------------------------------------------------------- Old: ---- okteto-2.8.0.tar.gz New: ---- okteto-2.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ okteto.spec ++++++ --- /var/tmp/diff_new_pack.LLqnOg/_old 2022-10-20 11:11:51.312037132 +0200 +++ /var/tmp/diff_new_pack.LLqnOg/_new 2022-10-20 11:11:51.316037140 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: okteto -Version: 2.8.0 +Version: 2.8.1 Release: 0 Summary: Develop your applications directly in your Kubernetes Cluster License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.LLqnOg/_old 2022-10-20 11:11:51.352037213 +0200 +++ /var/tmp/diff_new_pack.LLqnOg/_new 2022-10-20 11:11:51.356037221 +0200 @@ -3,10 +3,10 @@ <param name="url">https://github.com/okteto/okteto</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">2.8.0</param> + <param name="revision">2.8.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> - <param name="match-tag">2.8.0</param> + <param name="match-tag">2.8.1</param> </service> <service name="set_version" mode="disabled"> <param name="basename">okteto</param> @@ -16,7 +16,7 @@ <param name="compression">gz</param> </service> <service name="go_modules" mode="disabled"> - <param name="archive">okteto-2.8.0.tar.gz</param> + <param name="archive">okteto-2.8.1.tar.gz</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.LLqnOg/_old 2022-10-20 11:11:51.376037262 +0200 +++ /var/tmp/diff_new_pack.LLqnOg/_new 2022-10-20 11:11:51.380037270 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/okteto/okteto</param> - <param name="changesrevision">59c34cf45b9d2bc3997a3e44c8e070c6aa64c26b</param></service></servicedata> + <param name="changesrevision">459515a8505d6992fc48c67e6bf1a24ca526c8b0</param></service></servicedata> (No newline at EOF) ++++++ okteto-2.8.0.tar.gz -> okteto-2.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okteto-2.8.0/cmd/preview/deploy.go new/okteto-2.8.1/cmd/preview/deploy.go --- old/okteto-2.8.0/cmd/preview/deploy.go 2022-10-18 13:30:42.000000000 +0200 +++ new/okteto-2.8.1/cmd/preview/deploy.go 2022-10-19 09:15:06.000000000 +0200 @@ -39,16 +39,16 @@ ) type DeployOptions struct { - branch string - filename string - file string - name string - repository string - scope string - sourceUrl string - timeout time.Duration - variables []string - wait bool + branch string + deprecatedFilename string + file string + name string + repository string + scope string + sourceUrl string + timeout time.Duration + variables []string + wait bool } // Deploy Deploy a preview environment @@ -95,7 +95,7 @@ cmd.Flags().BoolVarP(&opts.wait, "wait", "w", false, "wait until the preview environment deployment finishes (defaults to false)") cmd.Flags().StringVarP(&opts.file, "file", "f", "", "relative path within the repository to the okteto manifest (default to okteto.yaml or .okteto/okteto.yaml)") - cmd.Flags().StringVarP(&opts.filename, "filename", "", "", "relative path within the repository to the manifest file (default to okteto-pipeline.yaml or .okteto/okteto-pipeline.yaml)") + cmd.Flags().StringVarP(&opts.deprecatedFilename, "filename", "", "", "relative path within the repository to the manifest file (default to okteto-pipeline.yaml or .okteto/okteto-pipeline.yaml)") cmd.Flags().MarkHidden("filename") return cmd } @@ -137,7 +137,7 @@ }) } - return pw.okClient.Previews().DeployPreview(ctx, opts.name, opts.scope, opts.repository, opts.branch, opts.sourceUrl, opts.filename, varList) + return pw.okClient.Previews().DeployPreview(ctx, opts.name, opts.scope, opts.repository, opts.branch, opts.sourceUrl, opts.file, varList) } func (pw *Command) waitUntilRunning(ctx context.Context, name string, a *types.Action, timeout time.Duration) error { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okteto-2.8.0/cmd/preview/deploy_utils.go new/okteto-2.8.1/cmd/preview/deploy_utils.go --- old/okteto-2.8.0/cmd/preview/deploy_utils.go 2022-10-18 13:30:42.000000000 +0200 +++ new/okteto-2.8.1/cmd/preview/deploy_utils.go 2022-10-19 09:15:06.000000000 +0200 @@ -37,10 +37,10 @@ return err } - if opts.filename != "" { + if opts.deprecatedFilename != "" { oktetoLog.Warning("the 'filename' flag is deprecated and will be removed in a future version. Please consider using 'file' flag'") if opts.file == "" { - opts.file = opts.filename + opts.file = opts.deprecatedFilename } else { oktetoLog.Warning("flags 'filename' and 'file' can not be used at the same time. 'file' flag will take precedence") } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okteto-2.8.0/cmd/preview/deploy_utils_test.go new/okteto-2.8.1/cmd/preview/deploy_utils_test.go --- old/okteto-2.8.0/cmd/preview/deploy_utils_test.go 2022-10-18 13:30:42.000000000 +0200 +++ new/okteto-2.8.1/cmd/preview/deploy_utils_test.go 2022-10-19 09:15:06.000000000 +0200 @@ -46,21 +46,21 @@ { name: "success-filename", opts: &DeployOptions{ - scope: "personal", - repository: "test-repository", - branch: "test-branch", - filename: "filename-old", + scope: "personal", + repository: "test-repository", + branch: "test-branch", + deprecatedFilename: "filename-old", }, expectedFile: "filename-old", }, { name: "success-filename-file", opts: &DeployOptions{ - scope: "personal", - repository: "test-repository", - branch: "test-branch", - filename: "filename-old", - file: "file", + scope: "personal", + repository: "test-repository", + branch: "test-branch", + deprecatedFilename: "filename-old", + file: "file", }, expectedFile: "file", }, ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/okteto/vendor.tar.gz /work/SRC/openSUSE:Factory/.okteto.new.2275/vendor.tar.gz differ: char 5, line 1