Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package helm for openSUSE:Factory checked in at 2024-04-11 19:41:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/helm (Old) and /work/SRC/openSUSE:Factory/.helm.new.29460 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helm" Thu Apr 11 19:41:50 2024 rev:65 rq:1166863 version:3.14.4 Changes: -------- --- /work/SRC/openSUSE:Factory/helm/helm.changes 2024-03-25 21:20:36.480768848 +0100 +++ /work/SRC/openSUSE:Factory/.helm.new.29460/helm.changes 2024-04-11 19:42:17.304280480 +0200 @@ -1,0 +2,19 @@ +Wed Apr 10 20:33:10 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 3.14.4: + Helm v3.14.4 is a patch release. Users are encouraged to upgrade + for the best experience. Users are encouraged to upgrade for the + best experience. + * refactor: create a helper for checking if a release is + uninstalled 81c902a (Alex Petrov) + * fix: reinstall previously uninstalled chart with --keep-history + 5a11c76 (Alex Petrov) + * chore: remove repetitive words fb3d880 (deterclosed) + * chore(deps): bump google.golang.org/protobuf from 1.31.0 to + 1.33.0 01ac4a2 (dependabot[bot]) + * chore(deps): bump github.com/docker/docker 138602d + (dependabot[bot]) + * bug: add proxy support for oci getter aa7d953 (Ricardo + Maraschini) + +------------------------------------------------------------------- Old: ---- helm-3.14.3.obscpio New: ---- helm-3.14.4.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ helm.spec ++++++ --- /var/tmp/diff_new_pack.AbCdhY/_old 2024-04-11 19:42:18.104310075 +0200 +++ /var/tmp/diff_new_pack.AbCdhY/_new 2024-04-11 19:42:18.104310075 +0200 @@ -19,7 +19,7 @@ %define goipath helm.sh/helm/v3 %define git_dirty clean Name: helm -Version: 3.14.3 +Version: 3.14.4 Release: 0 Summary: The Kubernetes Package Manager License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.AbCdhY/_old 2024-04-11 19:42:18.132311111 +0200 +++ /var/tmp/diff_new_pack.AbCdhY/_new 2024-04-11 19:42:18.136311259 +0200 @@ -5,7 +5,7 @@ <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">v3.14.3</param> + <param name="revision">v3.14.4</param> <param name="changesgenerate">enable</param> </service> <service name="set_version" mode="manual"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.AbCdhY/_old 2024-04-11 19:42:18.156311999 +0200 +++ /var/tmp/diff_new_pack.AbCdhY/_new 2024-04-11 19:42:18.156311999 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/helm/helm.git</param> - <param name="changesrevision">f03cc04caaa8f6d7c3e67cf918929150cf6f3f12</param></service></servicedata> + <param name="changesrevision">81c902a123462fd4052bc5e9aa9c513c4c8fc142</param></service></servicedata> (No newline at EOF) ++++++ helm-3.14.3.obscpio -> helm-3.14.4.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/cmd/helm/testdata/output/upgrade-uninstalled-with-keep-history.txt new/helm-3.14.4/cmd/helm/testdata/output/upgrade-uninstalled-with-keep-history.txt --- old/helm-3.14.3/cmd/helm/testdata/output/upgrade-uninstalled-with-keep-history.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-3.14.4/cmd/helm/testdata/output/upgrade-uninstalled-with-keep-history.txt 2024-04-10 20:59:15.000000000 +0200 @@ -0,0 +1,7 @@ +Release "funny-bunny" does not exist. Installing it now. +NAME: funny-bunny +LAST DEPLOYED: Fri Sep 2 22:04:05 1977 +NAMESPACE: default +STATUS: deployed +REVISION: 3 +TEST SUITE: None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/cmd/helm/upgrade.go new/helm-3.14.4/cmd/helm/upgrade.go --- old/helm-3.14.3/cmd/helm/upgrade.go 2024-03-13 19:48:13.000000000 +0100 +++ new/helm-3.14.4/cmd/helm/upgrade.go 2024-04-10 20:59:15.000000000 +0200 @@ -36,6 +36,7 @@ "helm.sh/helm/v3/pkg/cli/values" "helm.sh/helm/v3/pkg/downloader" "helm.sh/helm/v3/pkg/getter" + "helm.sh/helm/v3/pkg/release" "helm.sh/helm/v3/pkg/storage/driver" ) @@ -115,12 +116,13 @@ client.DryRunOption = "none" } // Fixes #7002 - Support reading values from STDIN for `upgrade` command - // Must load values AFTER determining if we have to call install so that values loaded from stdin are are not read twice + // Must load values AFTER determining if we have to call install so that values loaded from stdin are not read twice if client.Install { // If a release does not exist, install it. histClient := action.NewHistory(cfg) histClient.Max = 1 - if _, err := histClient.Run(args[0]); err == driver.ErrReleaseNotFound { + versions, err := histClient.Run(args[0]) + if err == driver.ErrReleaseNotFound || isReleaseUninstalled(versions) { // Only print this to stdout for table output if outfmt == output.Table { fmt.Fprintf(out, "Release %q does not exist. Installing it now.\n", args[0]) @@ -146,6 +148,9 @@ instClient.DependencyUpdate = client.DependencyUpdate instClient.Labels = client.Labels instClient.EnableDNS = client.EnableDNS + if isReleaseUninstalled(versions) { + instClient.Replace = true + } rel, err := runInstall(args, instClient, valueOpts, out) if err != nil { @@ -285,3 +290,7 @@ return cmd } + +func isReleaseUninstalled(versions []*release.Release) bool { + return len(versions) > 0 && versions[len(versions)-1].Info.Status == release.StatusUninstalled +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/cmd/helm/upgrade_test.go new/helm-3.14.4/cmd/helm/upgrade_test.go --- old/helm-3.14.3/cmd/helm/upgrade_test.go 2024-03-13 19:48:13.000000000 +0100 +++ new/helm-3.14.4/cmd/helm/upgrade_test.go 2024-04-10 20:59:15.000000000 +0200 @@ -175,6 +175,12 @@ wantError: true, rels: []*release.Release{relWithStatusMock("funny-bunny", 2, ch, release.StatusPendingInstall)}, }, + { + name: "install a previously uninstalled release with '--keep-history' using 'upgrade --install'", + cmd: fmt.Sprintf("upgrade funny-bunny -i '%s'", chartPath), + golden: "output/upgrade-uninstalled-with-keep-history.txt", + rels: []*release.Release{relWithStatusMock("funny-bunny", 2, ch, release.StatusUninstalled)}, + }, } runTestCmd(t, tests) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/go.mod new/helm-3.14.4/go.mod --- old/helm-3.14.3/go.mod 2024-03-13 19:48:13.000000000 +0100 +++ new/helm-3.14.4/go.mod 2024-04-10 20:59:15.000000000 +0200 @@ -67,7 +67,7 @@ github.com/davecgh/go-spew v1.1.1 // indirect github.com/docker/cli v24.0.6+incompatible // indirect github.com/docker/distribution v2.8.2+incompatible // indirect - github.com/docker/docker v24.0.7+incompatible // indirect + github.com/docker/docker v24.0.9+incompatible // indirect github.com/docker/docker-credential-helpers v0.7.0 // indirect github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect @@ -155,7 +155,7 @@ google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect google.golang.org/grpc v1.58.3 // indirect - google.golang.org/protobuf v1.31.0 // indirect + google.golang.org/protobuf v1.33.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/go.sum new/helm-3.14.4/go.sum --- old/helm-3.14.3/go.sum 2024-03-13 19:48:13.000000000 +0100 +++ new/helm-3.14.4/go.sum 2024-04-10 20:59:15.000000000 +0200 @@ -80,8 +80,8 @@ github.com/docker/cli v24.0.6+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v24.0.7+incompatible h1:Wo6l37AuwP3JaMnZa226lzVXGA3F9Ig1seQen0cKYlM= -github.com/docker/docker v24.0.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v24.0.9+incompatible h1:HPGzNmwfLZWdxHqK9/II92pyi1EpYKsAqcl4G0Of9v0= +github.com/docker/docker v24.0.9+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.7.0 h1:xtCHsjxogADNZcdv1pKUHXryefjlVRqWqIhk/uXJp0A= github.com/docker/docker-credential-helpers v0.7.0/go.mod h1:rETQfLdHNT3foU5kuNkFR1R1V12OJRRO5lzt2D1b5X0= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= @@ -540,8 +540,8 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/pkg/cli/environment.go new/helm-3.14.4/pkg/cli/environment.go --- old/helm-3.14.3/pkg/cli/environment.go 2024-03-13 19:48:13.000000000 +0100 +++ new/helm-3.14.4/pkg/cli/environment.go 2024-04-10 20:59:15.000000000 +0200 @@ -44,7 +44,7 @@ // defaultBurstLimit sets the default client-side throttling limit const defaultBurstLimit = 100 -// defaultQPS sets the default QPS value to 0 to to use library defaults unless specified +// defaultQPS sets the default QPS value to 0 to use library defaults unless specified const defaultQPS = float32(0) // EnvSettings describes all of the environment settings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.14.3/pkg/getter/ocigetter.go new/helm-3.14.4/pkg/getter/ocigetter.go --- old/helm-3.14.3/pkg/getter/ocigetter.go 2024-03-13 19:48:13.000000000 +0100 +++ new/helm-3.14.4/pkg/getter/ocigetter.go 2024-04-10 20:59:15.000000000 +0200 @@ -119,6 +119,7 @@ IdleConnTimeout: 90 * time.Second, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, + Proxy: http.ProxyFromEnvironment, } }) ++++++ helm.obsinfo ++++++ --- /var/tmp/diff_new_pack.AbCdhY/_old 2024-04-11 19:42:18.672331088 +0200 +++ /var/tmp/diff_new_pack.AbCdhY/_new 2024-04-11 19:42:18.676331236 +0200 @@ -1,5 +1,5 @@ name: helm -version: 3.14.3 -mtime: 1710355693 -commit: f03cc04caaa8f6d7c3e67cf918929150cf6f3f12 +version: 3.14.4 +mtime: 1712775555 +commit: 81c902a123462fd4052bc5e9aa9c513c4c8fc142 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/helm/vendor.tar.gz /work/SRC/openSUSE:Factory/.helm.new.29460/vendor.tar.gz differ: char 5, line 1