Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package container-suseconnect for 
openSUSE:Factory checked in at 2025-05-22 16:55:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/container-suseconnect (Old)
 and      /work/SRC/openSUSE:Factory/.container-suseconnect.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "container-suseconnect"

Thu May 22 16:55:39 2025 rev:5 rq:1278878 version:2.5.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/container-suseconnect/container-suseconnect.changes  
    2025-04-24 17:27:50.251185648 +0200
+++ 
/work/SRC/openSUSE:Factory/.container-suseconnect.new.2732/container-suseconnect.changes
    2025-05-22 16:55:42.346958302 +0200
@@ -1,0 +2,22 @@
+Tue May 20 19:30:45 UTC 2025 - Dirk Müller <dmuel...@suse.com>
+
+- Update to version 2.5.3 (bsc#1243360):
+  * only handle command line options for the default arg0 case
+  * parse and ignore the previously removed log-credentials-errors
+  * Restore usage output on unhandled command line options
+
+-------------------------------------------------------------------
+Tue May 20 09:45:32 UTC 2025 - alexandre.vice...@suse.com
+
+- Update to version 2.5.2:
+  * Prepare for new release
+  * Fix default behavior
+  * Use comma-separated lists for case in switch
+  * Switch to go stable and update mod to 1.24.0
+  * Remove use of urfave/cli and replace it with flag
+  * Various golangci-lint v2.1x warnings fixed
+  * Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6
+  * Also allow optionally to pass down the system_token
+  * Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
+
+-------------------------------------------------------------------

Old:
----
  container-suseconnect-2.5.1.tar.zst

New:
----
  _servicedata
  container-suseconnect-2.5.3.tar.zst

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

Other differences:
------------------
++++++ container-suseconnect.spec ++++++
--- /var/tmp/diff_new_pack.Y3011G/_old  2025-05-22 16:55:42.774976319 +0200
+++ /var/tmp/diff_new_pack.Y3011G/_new  2025-05-22 16:55:42.774976319 +0200
@@ -22,7 +22,7 @@
 %global zypp_services %{zypp_path}/services
 %global zypp_urlresolver %{zypp_path}/urlresolver
 Name:           %{project}
-Version:        2.5.1
+Version:        2.5.3
 Release:        0
 Summary:        Provides access to repositories inside containers
 License:        Apache-2.0
@@ -34,7 +34,7 @@
 BuildRequires:  libzypp > 9.34
 BuildRequires:  zstd
 %if 0%{?suse_version} == 1500
-BuildRequires:  go1.23-openssl
+BuildRequires:  go1.24-openssl
 %else
 BuildRequires:  golang(API) = 1.24
 %endif

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Y3011G/_old  2025-05-22 16:55:42.810977834 +0200
+++ /var/tmp/diff_new_pack.Y3011G/_new  2025-05-22 16:55:42.810977834 +0200
@@ -4,14 +4,16 @@
         <param name="scm">git</param>
         <param name="filename">container-suseconnect</param>
         <param name="exclude">.git</param>
-        <param name="versionformat">2.5.1</param>
-        <param name="revision">v2.5.1</param>
+        <param name="versionformat">@PARENT_TAG@</param>
+        <param name="versionrewrite-pattern">v(.*)</param>
+        <param name="revision">v2.5.3</param>
+        <param name="changesgenerate">enable</param>
     </service>
+    <service mode="manual" name="set_version"/>
     <service mode="manual" name="recompress">
         <param name="file">*.tar</param>
         <param name="compression">zst</param>
     </service>
-    <service mode="manual" name="set_version"/>
     <service mode="manual" name="go_modules">
         <param name="compression">zst</param>
     </service>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/SUSE/container-suseconnect.git</param>
              <param 
name="changesrevision">a3f3e2fd2e57946b0e26712b891a37d523aea120</param></service></servicedata>
(No newline at EOF)

++++++ container-suseconnect-2.5.1.tar.zst -> 
container-suseconnect-2.5.3.tar.zst ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/container-suseconnect-2.5.1/.github/dependabot.yml 
new/container-suseconnect-2.5.3/.github/dependabot.yml
--- old/container-suseconnect-2.5.1/.github/dependabot.yml      2025-04-23 
12:57:48.000000000 +0200
+++ new/container-suseconnect-2.5.3/.github/dependabot.yml      1970-01-01 
01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
----
-# To get started with Dependabot version updates, you'll need to specify which
-# package ecosystems to update and where the package manifests are located.
-# Please see the documentation for all configuration options:
-# 
https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
-
-version: 2
-updates:
-  - package-ecosystem: "gomod" # See documentation for possible values
-    directory: "/" # Location of package manifests
-    schedule:
-      interval: "weekly"
-  - package-ecosystem: "github-actions"
-    directory: "/"
-    schedule:
-      interval: "daily"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/container-suseconnect-2.5.1/.github/workflows/ci.yaml 
new/container-suseconnect-2.5.3/.github/workflows/ci.yaml
--- old/container-suseconnect-2.5.1/.github/workflows/ci.yaml   2025-04-23 
12:57:48.000000000 +0200
+++ new/container-suseconnect-2.5.3/.github/workflows/ci.yaml   1970-01-01 
01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-name: Golang Tests
-
-on: [push, pull_request]
-
-jobs:
-  build:
-
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v4
-
-      - name: Set up Go
-        uses: actions/setup-go@v5
-        with:
-          go-version: 1.21
-
-      - name: Install Staticcheck
-        run: go install honnef.co/go/tools/cmd/staticcheck@latest
-
-      - name: Build
-        run: go build -v ./...
-
-      - name: make tests
-        run: make test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/container-suseconnect-2.5.1/.gitignore 
new/container-suseconnect-2.5.3/.gitignore
--- old/container-suseconnect-2.5.1/.gitignore  2025-04-23 12:57:48.000000000 
+0200
+++ new/container-suseconnect-2.5.3/.gitignore  1970-01-01 01:00:00.000000000 
+0100
@@ -1,4 +0,0 @@
-*.test
-build/container-suseconnect
-Vagrantfile
-.vagrant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/container-suseconnect-2.5.1/cmd/container-suseconnect/main.go 
new/container-suseconnect-2.5.3/cmd/container-suseconnect/main.go
--- old/container-suseconnect-2.5.1/cmd/container-suseconnect/main.go   
2025-04-23 12:57:48.000000000 +0200
+++ new/container-suseconnect-2.5.3/cmd/container-suseconnect/main.go   
2025-05-20 21:26:05.000000000 +0200
@@ -35,6 +35,10 @@
                return nil
        })
 
+       flag.BoolFunc("log-credentials-errors", "obsolete (always on)", 
func(string) error {
+               return nil
+       })
+
        flag.Usage = func() {
                fmt.Fprintf(flag.CommandLine.Output(),
                        "container-suseconnect: Access zypper repositories from 
within containers"+
@@ -63,41 +67,34 @@
 }
 
 func main() {
-       // Switch the default application behavior in relation to the basename
-       appAction := runListProducts
+       // Determine the application's action based on the binary name or 
command-line arguments.
+       var appAction func() error
 
        switch filepath.Base(os.Args[0]) {
        case "container-suseconnect-zypp":
                appAction = runZypperPlugin
        case "susecloud":
                appAction = runZypperURLResolver
-       }
-
-       flag.Parse()
-
-       switch flag.Arg(0) {
-       case "lp":
-               fallthrough
-       case "list-products":
-               appAction = runListProducts
-       case "lm":
-               fallthrough
-       case "list-modules":
-               appAction = runListModules
-       case "susecloud":
-               appAction = runZypperURLResolver
-       case "z":
-               fallthrough
-       case "zypp":
-               fallthrough
-       case "zypper":
-               appAction = runZypperPlugin
        default:
-               flag.Usage()
-               os.Exit(1)
+               flag.Parse()
+
+               // Override default action based on command-line arguments.
+               switch flag.Arg(0) {
+               case "lp", "list-products":
+                       appAction = runListProducts
+               case "lm", "list-modules":
+                       appAction = runListModules
+               case "susecloud":
+                       appAction = runZypperURLResolver
+               case "z", "zypp", "zypper":
+                       appAction = runZypperPlugin
+               default:
+                       flag.Usage()
+                       os.Exit(1)
+               }
        }
 
-       // Run the application
+       // Run the application with the selected action.
        cs.SetLoggerOutput()
        if err := appAction(); err != nil {
                log.Fatal(err)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/container-suseconnect-2.5.1/go.mod 
new/container-suseconnect-2.5.3/go.mod
--- old/container-suseconnect-2.5.1/go.mod      2025-04-23 12:57:48.000000000 
+0200
+++ new/container-suseconnect-2.5.3/go.mod      2025-05-20 21:26:05.000000000 
+0200
@@ -1,6 +1,6 @@
 module github.com/SUSE/container-suseconnect
 
-go 1.21
+go 1.24.0
 
 require (
        github.com/mssola/capture v1.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/container-suseconnect-2.5.1/internal/version.go 
new/container-suseconnect-2.5.3/internal/version.go
--- old/container-suseconnect-2.5.1/internal/version.go 2025-04-23 
12:57:48.000000000 +0200
+++ new/container-suseconnect-2.5.3/internal/version.go 2025-05-20 
21:26:05.000000000 +0200
@@ -15,4 +15,4 @@
 package containersuseconnect
 
 // Version holds the current version of the application.
-const Version = "2.3.0"
+const Version = "2.5.2"

++++++ vendor.tar.zst ++++++

Reply via email to