Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package helm for openSUSE:Factory checked in at 2021-07-18 23:44:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/helm (Old) and /work/SRC/openSUSE:Factory/.helm.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helm" Sun Jul 18 23:44:53 2021 rev:27 rq:906191 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/helm/helm.changes 2021-06-24 18:22:05.628884243 +0200 +++ /work/SRC/openSUSE:Factory/.helm.new.2632/helm.changes 2021-07-18 23:44:58.827031614 +0200 @@ -1,0 +2,7 @@ +Tue Jul 06 21:22:54 UTC 2021 - jenting.hs...@suse.com + +- Update to version 3.6.2: + * Fix the url being set by WithURL on the getters + * Adding test for user/pass without repo on Helm install + +------------------------------------------------------------------- Old: ---- helm-3.6.1.tar.gz New: ---- helm-3.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ helm.spec ++++++ --- /var/tmp/diff_new_pack.Qm6FDt/_old 2021-07-18 23:45:00.127021613 +0200 +++ /var/tmp/diff_new_pack.Qm6FDt/_new 2021-07-18 23:45:00.131021582 +0200 @@ -17,11 +17,11 @@ %define goipath helm.sh/helm/v3 -%define git_commit c4e74854886b2efe3321e185578e6db9be0a6e29 +%define git_commit ee407bdf364942bcb8e8c665f82e15aa28009b71 %define git_dirty clean Name: helm -Version: 3.6.1 +Version: 3.6.2 Release: 0 Summary: The Kubernetes Package Manager License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Qm6FDt/_old 2021-07-18 23:45:00.163021336 +0200 +++ /var/tmp/diff_new_pack.Qm6FDt/_new 2021-07-18 23:45:00.163021336 +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.6.1</param> + <param name="revision">v3.6.2</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Qm6FDt/_old 2021-07-18 23:45:00.183021183 +0200 +++ /var/tmp/diff_new_pack.Qm6FDt/_new 2021-07-18 23:45:00.183021183 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/helm/helm.git</param> - <param name="changesrevision">61d8e8c4a6f95540c15c6a65f36a6dd0a45e7a2f</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">ee407bdf364942bcb8e8c665f82e15aa28009b71</param></service></servicedata> \ No newline at end of file ++++++ helm-3.6.1.tar.gz -> helm-3.6.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.6.1/cmd/helm/install_test.go new/helm-3.6.2/cmd/helm/install_test.go --- old/helm-3.6.1/cmd/helm/install_test.go 2021-06-16 17:46:38.000000000 +0200 +++ new/helm-3.6.2/cmd/helm/install_test.go 2021-06-29 17:08:03.000000000 +0200 @@ -20,6 +20,7 @@ "fmt" "net/http" "net/http/httptest" + "path/filepath" "testing" "helm.sh/helm/v3/pkg/repo/repotest" @@ -48,6 +49,8 @@ t.Fatal(err) } + repoFile := filepath.Join(srv.Root(), "repositories.yaml") + tests := []cmdTestCase{ // Install, base case { @@ -244,6 +247,11 @@ cmd: "install aeneas reqtest --namespace default --repo " + srv2.URL + " --username username --password password --pass-credentials", golden: "output/install.txt", }, + { + name: "basic install with credentials and no repo", + cmd: fmt.Sprintf("install aeneas test/reqtest --username username --password password --repository-config %s --repository-cache %s", repoFile, srv.Root()), + golden: "output/install.txt", + }, } runTestActionCmd(t, tests) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-3.6.1/pkg/downloader/chart_downloader.go new/helm-3.6.2/pkg/downloader/chart_downloader.go --- old/helm-3.6.1/pkg/downloader/chart_downloader.go 2021-06-16 17:46:38.000000000 +0200 +++ new/helm-3.6.2/pkg/downloader/chart_downloader.go 2021-06-29 17:08:03.000000000 +0200 @@ -158,7 +158,6 @@ if err != nil { return nil, errors.Errorf("invalid chart URL format: %s", ref) } - c.Options = append(c.Options, getter.WithURL(ref)) rf, err := loadRepoConfig(c.RepositoryConfig) if err != nil { @@ -177,6 +176,8 @@ // If there is no special config, return the default HTTP client and // swallow the error. if err == ErrNoOwnerRepo { + // Make sure to add the ref URL as the URL for the getter + c.Options = append(c.Options, getter.WithURL(ref)) return u, nil } return u, err @@ -215,6 +216,10 @@ return u, err } + // Now that we have the chart repository information we can use that URL + // to set the URL for the getter. + c.Options = append(c.Options, getter.WithURL(rc.URL)) + r, err := repo.NewChartRepository(rc, c.Getters) if err != nil { return u, err ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/helm/vendor.tar.gz /work/SRC/openSUSE:Factory/.helm.new.2632/vendor.tar.gz differ: char 5, line 1