Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rancher-cli for openSUSE:Factory 
checked in at 2022-09-08 14:23:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rancher-cli (Old)
 and      /work/SRC/openSUSE:Factory/.rancher-cli.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rancher-cli"

Thu Sep  8 14:23:07 2022 rev:4 rq:1001751 version:2.6.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/rancher-cli/rancher-cli.changes  2022-05-14 
22:58:40.659479506 +0200
+++ /work/SRC/openSUSE:Factory/.rancher-cli.new.2083/rancher-cli.changes        
2022-09-08 14:23:44.902681995 +0200
@@ -1,0 +2,12 @@
+Wed Sep 07 12:17:47 UTC 2022 - ka...@b1-systems.de
+
+- Update to version 2.6.7:
+  * Fix index out of bounds when installing hidden chart
+  * if no servers are configured, state such when running servers ls, switch, 
or delete
+  * Update dependencies and fix golangci-lint issue (#317)
+  * improve clusters create description
+  * fix the issue that RKE2 or K3S clusters are recognized properly in the 
output of the 'cluster list' command
+  * Implement drone-plugin-fossa
+- skipping non-existent release 2.6.6
+
+-------------------------------------------------------------------

Old:
----
  cli-2.6.5.tar.gz

New:
----
  cli-2.6.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rancher-cli.spec ++++++
--- /var/tmp/diff_new_pack.W9kDcn/_old  2022-09-08 14:23:45.582683564 +0200
+++ /var/tmp/diff_new_pack.W9kDcn/_new  2022-09-08 14:23:45.586683574 +0200
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           rancher-cli
-Version:        2.6.5
+Version:        2.6.7
 Release:        0
 Summary:        Rancher CLI
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.W9kDcn/_old  2022-09-08 14:23:45.626683666 +0200
+++ /var/tmp/diff_new_pack.W9kDcn/_new  2022-09-08 14:23:45.630683675 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/rancher/cli</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v2.6.5</param>
+    <param name="revision">v2.6.7</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>
@@ -16,7 +16,7 @@
     <param name="compression">gz</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">cli-2.6.5.tar.gz</param>
+    <param name="archive">cli-2.6.7.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.W9kDcn/_old  2022-09-08 14:23:45.650683721 +0200
+++ /var/tmp/diff_new_pack.W9kDcn/_new  2022-09-08 14:23:45.654683730 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/rancher/cli</param>
-              <param 
name="changesrevision">baa08d8d18f4a92838d3705d763b14ca91423eff</param></service></servicedata>
+              <param 
name="changesrevision">8f35783891bde2e0528a8a13bb979a88bbfb179c</param></service></servicedata>
 (No newline at EOF)
 

++++++ cli-2.6.5.tar.gz -> cli-2.6.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/.drone.yml new/cli-2.6.7/.drone.yml
--- old/cli-2.6.5/.drone.yml    2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/.drone.yml    2022-06-13 20:45:14.000000000 +0200
@@ -272,3 +272,19 @@
 - name: socket
   host:
     path: /var/run/docker.sock
+
+---
+
+kind: pipeline
+name: fossa
+
+steps:
+- name: fossa
+  image: rancher/drone-fossa:latest
+  settings:
+    api_key:
+      from_secret: FOSSA_API_KEY
+  when:
+    instance:
+      - drone-publish.rancher.io
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/Dockerfile.dapper 
new/cli-2.6.7/Dockerfile.dapper
--- old/cli-2.6.5/Dockerfile.dapper     2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/Dockerfile.dapper     2022-06-13 20:45:14.000000000 +0200
@@ -2,7 +2,8 @@
 RUN apt-get update && \
     apt-get install -y xz-utils zip rsync
 
-RUN curl -sL 
https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s 
v1.38.0;
+RUN curl -sSfL 
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh 
-s v1.46.2;
+
 
 ENV DOCKER_VERSION=20.10.5
 
@@ -17,4 +18,4 @@
 ENV DAPPER_ENV TAG REPO GOOS CROSS DRONE_TAG
 WORKDIR ${DAPPER_SOURCE}
 ENTRYPOINT ["./scripts/entry"]
-CMD ["ci"]
\ No newline at end of file
+CMD ["ci"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/cmd/app.go new/cli-2.6.7/cmd/app.go
--- old/cli-2.6.5/cmd/app.go    2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/cmd/app.go    2022-06-13 20:45:14.000000000 +0200
@@ -1034,6 +1034,9 @@
 
 // getTemplateLatestVersion returns the newest version of the template
 func getTemplateLatestVersion(template *managementClient.Template) (string, 
error) {
+       if len(template.VersionLinks) == 0 {
+               return "", errors.New("no versions found for this template (the 
chart you are trying to install may be intentionally hidden or deprecated for 
your Rancher version)")
+       }
        sorted, err := sortTemplateVersions(template)
        if err != nil {
                return "", err
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/cmd/cluster.go new/cli-2.6.7/cmd/cluster.go
--- old/cli-2.6.5/cmd/cluster.go        2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/cmd/cluster.go        2022-06-13 20:45:14.000000000 +0200
@@ -59,7 +59,7 @@
                        {
                                Name:        "create",
                                Usage:       "Creates a new empty cluster",
-                               Description: "Creates a new empty cluster",
+                               Description: "Create a new custom cluster with 
desired configuration",
                                ArgsUsage:   "[NEWCLUSTERNAME...]",
                                Action:      clusterCreate,
                                Flags: []cli.Flag{
@@ -675,13 +675,26 @@
 func getClusterProvider(cluster managementClient.Cluster) string {
        switch cluster.Driver {
        case "imported":
-               return "Imported"
+               switch cluster.Provider {
+               case "rke2":
+                       return "RKE2"
+               case "k3s":
+                       return "K3S"
+               default:
+                       return "Imported"
+               }
+       case "k3s":
+               return "K3S"
+       case "rke2":
+               return "RKE2"
        case "rancherKubernetesEngine":
                return "Rancher Kubernetes Engine"
-       case "azureKubernetesService":
-               return "Azure Container Service"
-       case "googleKubernetesEngine":
+       case "azureKubernetesService", "AKS":
+               return "Azure Kubernetes Service"
+       case "googleKubernetesEngine", "GKE":
                return "Google Kubernetes Engine"
+       case "EKS":
+               return "Elastic Kubernetes Service"
        default:
                return "Unknown"
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/cmd/server.go new/cli-2.6.7/cmd/server.go
--- old/cli-2.6.5/cmd/server.go 2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/cmd/server.go 2022-06-13 20:45:14.000000000 +0200
@@ -83,6 +83,10 @@
                return err
        }
 
+       if err := validateServersConfig(cf); err != nil {
+               return err
+       }
+
        var serverName string
        if ctx.NArg() == 1 {
                serverName = ctx.Args().First()
@@ -114,6 +118,10 @@
                return err
        }
 
+       if err := validateServersConfig(cf); err != nil {
+               return err
+       }
+
        writer := NewTableWriter([][]string{
                {"CURRENT", "Current"},
                {"NAME", "Name"},
@@ -144,6 +152,10 @@
                return err
        }
 
+       if err := validateServersConfig(cf); err != nil {
+               return err
+       }
+
        var serverName string
        if ctx.NArg() == 1 {
                serverName = ctx.Args().First()
@@ -238,3 +250,10 @@
        sort.Strings(serverNames)
        return serverNames
 }
+
+func validateServersConfig(cnf config.Config) error {
+       if len(cnf.Servers) == 0 {
+               return errors.New("no servers are currently configured")
+       }
+       return nil
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/go.mod new/cli-2.6.7/go.mod
--- old/cli-2.6.5/go.mod        2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/go.mod        2022-06-13 20:45:14.000000000 +0200
@@ -6,7 +6,7 @@
 
 require (
        github.com/c-bata/go-prompt v0.2.6
-       github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0
+       github.com/docker/docker v1.6.1
        github.com/ghodss/yaml v1.0.0
        github.com/gorilla/websocket v1.4.2
        github.com/grantae/certinfo v0.0.0-20170412194111-59d56a35515b
@@ -20,7 +20,9 @@
        github.com/urfave/cli v1.22.5
        golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
        golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
+       golang.org/x/text v0.3.7 // indirect
        gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
        gopkg.in/yaml.v2 v2.4.0
+       gopkg.in/yaml.v3 v3.0.0 // indirect
        k8s.io/client-go v12.0.0+incompatible
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cli-2.6.5/go.sum new/cli-2.6.7/go.sum
--- old/cli-2.6.5/go.sum        2022-04-19 02:24:46.000000000 +0200
+++ new/cli-2.6.7/go.sum        2022-06-13 20:45:14.000000000 +0200
@@ -97,8 +97,9 @@
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod 
h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
 github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod 
h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
 github.com/docker/distribution v2.7.1+incompatible/go.mod 
h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0 
h1:w3NnFcKR5241cfmQU5ZZAsf0xcpId6mWOupTvJlUX2U=
 github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod 
h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
+github.com/docker/docker v1.6.1 h1:4xYASHy5cScPkLD7PO0uTmnVc860m9NarPN1X8zeMe8=
+github.com/docker/docker v1.6.1/go.mod 
h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
 github.com/docker/go-units v0.3.3/go.mod 
h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
 github.com/docker/go-units v0.4.0/go.mod 
h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
 github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod 
h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM=
@@ -646,8 +647,9 @@
 golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod 
h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
 golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc=
 golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
 golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -786,8 +788,9 @@
 gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
 gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2/go.mod 
h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
 gopkg.in/yaml.v3 v3.0.0-20200121175148-a6ecf24a6d71/go.mod 
h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 
h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
 gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod 
h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA=
+gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
 gotest.tools v2.2.0+incompatible/go.mod 
h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
 honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod 
h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
 honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod 
h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

++++++ vendor.tar.gz ++++++
++++ 4498 lines of diff (skipped)

Reply via email to