Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rqlite for openSUSE:Factory checked 
in at 2025-12-15 11:58:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rqlite (Old)
 and      /work/SRC/openSUSE:Factory/.rqlite.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rqlite"

Mon Dec 15 11:58:17 2025 rev:35 rq:1322765 version:9.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/rqlite/rqlite.changes    2025-12-08 
11:54:16.674301030 +0100
+++ /work/SRC/openSUSE:Factory/.rqlite.new.1939/rqlite.changes  2025-12-15 
12:04:26.350576952 +0100
@@ -1,0 +2,7 @@
+Sat Dec 13 11:00:38 UTC 2025 - Andreas Stieger <[email protected]>
+
+- Update to version 9.3.5:
+  * Simplify type and value checks for CDC Comparators
+  * Fix .restore command in rqlite shell
+
+-------------------------------------------------------------------

Old:
----
  rqlite-9.3.4.tar.xz

New:
----
  rqlite-9.3.5.tar.xz

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

Other differences:
------------------
++++++ rqlite.spec ++++++
--- /var/tmp/diff_new_pack.SIKUED/_old  2025-12-15 12:04:27.306617215 +0100
+++ /var/tmp/diff_new_pack.SIKUED/_new  2025-12-15 12:04:27.310617382 +0100
@@ -15,8 +15,9 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:           rqlite
-Version:        9.3.4
+Version:        9.3.5
 Release:        0
 Summary:        Distributed relational database built on SQLite
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.SIKUED/_old  2025-12-15 12:04:27.358619405 +0100
+++ /var/tmp/diff_new_pack.SIKUED/_new  2025-12-15 12:04:27.358619405 +0100
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/rqlite/rqlite.git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v9.3.4</param>
+    <param name="revision">v9.3.5</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.SIKUED/_old  2025-12-15 12:04:27.378620247 +0100
+++ /var/tmp/diff_new_pack.SIKUED/_new  2025-12-15 12:04:27.382620415 +0100
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/rqlite/rqlite.git</param>
-    <param 
name="changesrevision">ee3717411422ede142dfc644cff6156fb838ae6f</param>
+    <param 
name="changesrevision">8fe936ac406b803c5ee8215763a685af6672df0f</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ rqlite-9.3.4.tar.xz -> rqlite-9.3.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.4/CHANGELOG.md 
new/rqlite-9.3.5/CHANGELOG.md
--- old/rqlite-9.3.4/CHANGELOG.md       2025-12-04 16:07:22.000000000 +0100
+++ new/rqlite-9.3.5/CHANGELOG.md       2025-12-08 03:59:31.000000000 +0100
@@ -1,5 +1,10 @@
+## v9.3.5 (December 7th 2025)
+### Implementation changes and bug fixes
+- [PR #2401](https://github.com/rqlite/rqlite/pull/2401): Simplify type and 
value checks for CDC Comparators.
+- [PR #2403](https://github.com/rqlite/rqlite/pull/2403): Fix `.restore` 
command in rqlite shell. Fixes issue 
[#2402](https://github.com/rqlite/rqlite/issues/2402).
+
 ## v9.3.4 (December 4th 2025)
-There are no changes in v9.3.4 relative to v9.3.3. Instead this releases 
modifies Docker image creation so that rqlite runs as a non-root user.
+There are no changes in v9.3.4 relative to v9.3.3. Instead this release 
modifies Docker image creation so that rqlite runs as a non-root user within 
the container.
 
 ### Implementation changes and bug fixes
 - [PR #2400](https://github.com/rqlite/rqlite/pull/2400): Run `rqlited` as 
non-root user within Docker. Fixes issue 
[#2399](https://github.com/rqlite/rqlite/issues/2399)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.4/cmd/rqlite/backup.go 
new/rqlite-9.3.5/cmd/rqlite/backup.go
--- old/rqlite-9.3.4/cmd/rqlite/backup.go       2025-12-04 16:07:22.000000000 
+0100
+++ new/rqlite-9.3.5/cmd/rqlite/backup.go       2025-12-08 03:59:31.000000000 
+0100
@@ -157,7 +157,7 @@
        }
 
        restoreRet := &restoreResponse{}
-       if err := parseResponse(response, &restoreRet); err != nil {
+       if err := parseResponse(&response, &restoreRet); err != nil {
                return err
        }
        if !validSQLiteData(restoreFile) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.4/cmd/rqlite/main.go 
new/rqlite-9.3.5/cmd/rqlite/main.go
--- old/rqlite-9.3.4/cmd/rqlite/main.go 2025-12-04 16:07:22.000000000 +0100
+++ new/rqlite-9.3.5/cmd/rqlite/main.go 2025-12-08 03:59:31.000000000 +0100
@@ -601,15 +601,13 @@
        return version[0], nil
 }
 
-func sendRequest(ctx *cli.Context, makeNewRequest func(string) (*http.Request, 
error), urlStr string, argv *argT) (*[]byte, error) {
-       // create a byte-based buffer that implements io.Writer
-       var buf []byte
-       w := bytes.NewBuffer(buf)
+func sendRequest(ctx *cli.Context, makeNewRequest func(string) (*http.Request, 
error), urlStr string, argv *argT) ([]byte, error) {
+       w := bytes.NewBuffer(nil)
        _, err := sendRequestW(ctx, makeNewRequest, urlStr, argv, w)
        if err != nil {
                return nil, err
        }
-       return &buf, nil
+       return w.Bytes(), nil
 }
 
 func sendRequestW(ctx *cli.Context, makeNewRequest func(string) 
(*http.Request, error), urlStr string, argv *argT, w io.Writer) (int64, error) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.4/command/comparators.go 
new/rqlite-9.3.5/command/comparators.go
--- old/rqlite-9.3.4/command/comparators.go     2025-12-04 16:07:22.000000000 
+0100
+++ new/rqlite-9.3.5/command/comparators.go     2025-12-08 03:59:31.000000000 
+0100
@@ -22,34 +22,19 @@
        switch v1.GetValue().(type) {
        case *proto.CDCValue_I:
                v2i, ok := v2.GetValue().(*proto.CDCValue_I)
-               if !ok {
-                       return false
-               }
-               return v1.GetI() == v2i.I
+               return ok && v1.GetI() == v2i.I
        case *proto.CDCValue_D:
                v2d, ok := v2.GetValue().(*proto.CDCValue_D)
-               if !ok {
-                       return false
-               }
-               return v1.GetD() == v2d.D
+               return ok && v1.GetD() == v2d.D
        case *proto.CDCValue_S:
                v2s, ok := v2.GetValue().(*proto.CDCValue_S)
-               if !ok {
-                       return false
-               }
-               return v1.GetS() == v2s.S
+               return ok && v1.GetS() == v2s.S
        case *proto.CDCValue_B:
                v2b, ok := v2.GetValue().(*proto.CDCValue_B)
-               if !ok {
-                       return false
-               }
-               return v1.GetB() == v2b.B
+               return ok && v1.GetB() == v2b.B
        case *proto.CDCValue_Y:
                v2y, ok := v2.GetValue().(*proto.CDCValue_Y)
-               if !ok {
-                       return false
-               }
-               return bytes.Equal(v1.GetY(), v2y.Y)
+               return ok && bytes.Equal(v1.GetY(), v2y.Y)
        default:
                return false
        }

++++++ vendor.tar.xz ++++++

Reply via email to