Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package seagull for openSUSE:Factory checked 
in at 2026-01-21 14:17:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seagull (Old)
 and      /work/SRC/openSUSE:Factory/.seagull.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seagull"

Wed Jan 21 14:17:52 2026 rev:5 rq:1328393 version:0.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/seagull/seagull.changes  2025-12-08 
11:55:20.468973687 +0100
+++ /work/SRC/openSUSE:Factory/.seagull.new.1928/seagull.changes        
2026-01-21 14:18:03.024640190 +0100
@@ -1,0 +2,8 @@
+Tue Jan 20 23:29:36 UTC 2026 - Richard Rahl <[email protected]>
+
+- Update to version 0.6.1:
+  * Add a codespell unit tests
+  * Allow passing NULL to Seagull.Statement.bind_time_zone
+  * Add an explicit test for Seagull.Statement.bind_text with a NULL value
+
+-------------------------------------------------------------------

Old:
----
  seagull-0.6.0.tar.xz
  seagull-0.6.0.tar.xz.asc

New:
----
  seagull-0.6.1.tar.xz
  seagull-0.6.1.tar.xz.asc

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

Other differences:
------------------
++++++ seagull.spec ++++++
--- /var/tmp/diff_new_pack.jphqSp/_old  2026-01-21 14:18:03.920677627 +0100
+++ /var/tmp/diff_new_pack.jphqSp/_new  2026-01-21 14:18:03.924677794 +0100
@@ -18,7 +18,7 @@
 
 %define         sover 0
 Name:           seagull
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        A SQLite helper library
 License:        LGPL-2.1-or-later

++++++ seagull-0.6.0.tar.xz -> seagull-0.6.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/.codespellrc 
new/seagull-0.6.1/.codespellrc
--- old/seagull-0.6.0/.codespellrc      1970-01-01 01:00:00.000000000 +0100
+++ new/seagull-0.6.1/.codespellrc      2026-01-16 08:41:15.000000000 +0100
@@ -0,0 +1,4 @@
+[codespell]
+skip = *.dat,*.gir,*.po,./subprojects/*,./*build*/*
+ignore-words-list = gir,inout
+check-filenames = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/.hg_archival.txt 
new/seagull-0.6.1/.hg_archival.txt
--- old/seagull-0.6.0/.hg_archival.txt  2025-11-21 06:24:13.000000000 +0100
+++ new/seagull-0.6.1/.hg_archival.txt  2026-01-16 08:41:15.000000000 +0100
@@ -1,4 +1,4 @@
 repo: 3c210e7a53be9dacf85a643e66330f36daf34679
-node: b6b2cefb86bdc31f3863e80d521042338bd28254
+node: 493357457eaa1fbed688866fa5bafa64577bc195
 branch: default
-tag: v0.6.0
+tag: v0.6.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/ChangeLog new/seagull-0.6.1/ChangeLog
--- old/seagull-0.6.0/ChangeLog 2025-11-21 06:24:13.000000000 +0100
+++ new/seagull-0.6.1/ChangeLog 2026-01-16 08:41:15.000000000 +0100
@@ -1,3 +1,10 @@
+0.6.1: 2026-01-13
+  * Add a codespell unit tests (RR 4267) (Gary Kramlich)
+  * Allow passing NULL to Seagull.Statement.bind_time_zone (RR 4325)
+    (Gary Kramlich)
+  * Add an explicit test for Seagull.Statement.bind_text with a NULL value
+    (RR 4326) (Gary Kramlich)
+
 0.6.0: 2025-11-21
   * Add helpers for handling booleans (SEAGULL-16) (RR 4053) (Gary Kramlich)
   * Add Statement.column_date_time (SEAGULL-17) (RR 4054) (Gary Kramlich)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/seagull-0.6.0/containers/Dockerfile.debian-trixie-amd64 
new/seagull-0.6.1/containers/Dockerfile.debian-trixie-amd64
--- old/seagull-0.6.0/containers/Dockerfile.debian-trixie-amd64 2025-11-21 
06:24:13.000000000 +0100
+++ new/seagull-0.6.1/containers/Dockerfile.debian-trixie-amd64 2026-01-16 
08:41:15.000000000 +0100
@@ -1,27 +1,24 @@
 FROM docker.io/debian:trixie-slim
 
 RUN set -ex && \
-       apt-get update && \
-       apt-get install -y --no-install-recommends \
-               build-essential \
-               ca-certificates \
-               gettext \
-               git \
-               gobject-introspection \
-               libgirepository1.0-dev \
-               libglib2.0-dev \
+    apt-get update && \
+    apt-get install -y --no-install-recommends \
+        build-essential \
+        ca-certificates \
+        codespell \
+        gettext \
+        gi-docgen \
+        git \
+        gobject-introspection \
+        libgirepository1.0-dev \
+        libglib2.0-dev \
         libsqlite3-dev \
-               mercurial \
-               meson \
-               python3-jinja2 \
-               python3-packaging \
-               python3-pygments \
-               python3-toml \
-               python3-typogrify \
-               zip \
-       && \
-       apt-get clean && \
-       rm -rf /var/lib/apt/lists
+        mercurial \
+        meson \
+        zip \
+    && \
+    apt-get clean && \
+    rm -rf /var/lib/apt/lists
 
 COPY meson-build.sh /build.sh
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/containers/Dockerfile.fedora-41-amd64 
new/seagull-0.6.1/containers/Dockerfile.fedora-41-amd64
--- old/seagull-0.6.0/containers/Dockerfile.fedora-41-amd64     2025-11-21 
06:24:13.000000000 +0100
+++ new/seagull-0.6.1/containers/Dockerfile.fedora-41-amd64     2026-01-16 
08:41:15.000000000 +0100
@@ -3,6 +3,7 @@
 RUN set -ex && \
     dnf update -y && \
     dnf install -y \
+        codespell \
         gcc \
         gettext \
         gi-docgen \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/containers/meson-build.sh 
new/seagull-0.6.1/containers/meson-build.sh
--- old/seagull-0.6.0/containers/meson-build.sh 2025-11-21 06:24:13.000000000 
+0100
+++ new/seagull-0.6.1/containers/meson-build.sh 2026-01-16 08:41:15.000000000 
+0100
@@ -2,7 +2,7 @@
 
 cd ${CONVEY_WORKSPACE}
 
-BUILD_DIR=${TARGET:-_build}
+BUILD_DIR=build-${TARGET:-convey}
 
 meson setup ${MESON_OPTIONS} "${BUILD_DIR}"
 meson compile -C "${BUILD_DIR}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/convey.yaml 
new/seagull-0.6.1/convey.yaml
--- old/seagull-0.6.0/convey.yaml       2025-11-21 06:24:13.000000000 +0100
+++ new/seagull-0.6.1/convey.yaml       2026-01-16 08:41:15.000000000 +0100
@@ -10,8 +10,8 @@
   clean:
     type: convey/clean
     files:
-      - debian-trixie-amd64
-      - fedora-41-amd64
+      - build-debian-trixie-amd64
+      - build-fedora-41-amd64
 
   import:
     type: docker/import
@@ -23,7 +23,7 @@
 
   export:
     type: docker/export
-    files: ${TARGET}
+    files: build-${TARGET}
 
   login:
     type: docker/login
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/meson.build 
new/seagull-0.6.1/meson.build
--- old/seagull-0.6.0/meson.build       2025-11-21 06:24:13.000000000 +0100
+++ new/seagull-0.6.1/meson.build       2026-01-16 08:41:15.000000000 +0100
@@ -1,5 +1,5 @@
 project('seagull', 'c',
-  version : '0.6.0',
+  version : '0.6.1',
   meson_version : '>=1.1.0',
   default_options : ['c_std=c17', 'warning_level=2'],
   license: 'LGPL-2.1-or-later',
@@ -48,6 +48,16 @@
 sqlite3_dep = dependency('sqlite3', version : '>= 3.27.0')
 
 ###############################################################################
+# codespell
+###############################################################################
+codespell = find_program('codespell', required: false)
+if codespell.found()
+  test('codespell',
+    codespell,
+    workdir : meson.project_source_root())
+endif
+
+###############################################################################
 # Internationalization
 ###############################################################################
 GETTEXT_PACKAGE = 'seagull'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/seagull/seagullstatement.c 
new/seagull-0.6.1/seagull/seagullstatement.c
--- old/seagull-0.6.0/seagull/seagullstatement.c        2025-11-21 
06:24:13.000000000 +0100
+++ new/seagull-0.6.1/seagull/seagullstatement.c        2026-01-16 
08:41:15.000000000 +0100
@@ -756,37 +756,15 @@
 seagull_statement_bind_time_zone(SeagullStatement *statement, const char *name,
                                  GTimeZone *time_zone, GError **error)
 {
-       GError *local_error = NULL;
-       const char *value = NULL;
-       int rc = 0;
-       int index = 0;
+       const char *str = NULL;
 
        g_return_val_if_fail(SEAGULL_IS_STATEMENT(statement), FALSE);
-       g_return_val_if_fail(time_zone != NULL, FALSE);
 
-       index = seagull_statement_find_parameter(statement, name, &local_error);
-       if(local_error != NULL) {
-               g_propagate_error(error, local_error);
-
-               return FALSE;
-       }
-
-       value = g_time_zone_get_identifier(time_zone);
-
-       rc = sqlite3_bind_text(statement->statement, index, value, -1,
-                              SQLITE_STATIC);
-       if(rc != SQLITE_OK) {
-               g_set_error(error,
-                           SEAGULL_STATEMENT_ERROR,
-                           SEAGULL_STATEMENT_ERROR_BIND_FAILED,
-                           "failed to bind parameter '%s': %s",
-                           name,
-                           sqlite3_errmsg(statement->db));
-
-               return FALSE;
+       if(time_zone != NULL) {
+               str = g_time_zone_get_identifier(time_zone);
        }
 
-       return TRUE;
+       return seagull_statement_bind_text(statement, name, str, -1, NULL, 
error);
 }
 
 gboolean
@@ -1207,7 +1185,7 @@
 seagull_statement_get_sql(SeagullStatement *statement) {
        g_return_val_if_fail(SEAGULL_IS_STATEMENT(statement), NULL);
 
-       /* SQLite3 doesn't do any noramlization or anything and just returns the
+       /* SQLite3 doesn't do any normalization or anything and just returns the
         * original string, which we already have, so we just return that 
directly.
         */
        return statement->sql;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/seagull/seagullstatement.h 
new/seagull-0.6.1/seagull/seagullstatement.h
--- old/seagull-0.6.0/seagull/seagullstatement.h        2025-11-21 
06:24:13.000000000 +0100
+++ new/seagull-0.6.1/seagull/seagullstatement.h        2026-01-16 
08:41:15.000000000 +0100
@@ -313,7 +313,7 @@
 /**
  * seagull_statement_bind_text:
  * @name: the name of the parameter
- * @value: the value.
+ * @value: (nullable): the value
  * @len: the length of the value in bytes, or -1 for NULL terminated
  * @destroy_notify: (nullable): a function to be called to free the value
  * @error: (out) (nullable): a return address for a #GError
@@ -332,7 +332,7 @@
 /**
  * seagull_statement_bind_time_zone:
  * @name: the name of the parameter
- * @time_zone: the value
+ * @time_zone: (nullable): the value
  * @error: (out) (nullable): a return address for a #GError
  *
  * Binds a [[email protected]] to a statement.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seagull-0.6.0/seagull/tests/test_statement.c 
new/seagull-0.6.1/seagull/tests/test_statement.c
--- old/seagull-0.6.0/seagull/tests/test_statement.c    2025-11-21 
06:24:13.000000000 +0100
+++ new/seagull-0.6.1/seagull/tests/test_statement.c    2026-01-16 
08:41:15.000000000 +0100
@@ -857,6 +857,38 @@
 }
 
 static void
+test_seagull_statement_bind_text_null(void) {
+       SeagullStatement *statement = NULL;
+       SeagullSqlite3 *db = NULL;
+       GError *error = NULL;
+       char *expanded = NULL;
+       gboolean result = FALSE;
+
+       db = seagull_db_new_in_memory(&error);
+       g_assert_no_error(error);
+       g_assert_nonnull(db);
+
+       statement = seagull_statement_new(db, "SELECT :foo", &error);
+       g_assert_no_error(error);
+       g_assert_true(SEAGULL_IS_STATEMENT(statement));
+
+       result = seagull_statement_bind_text(statement, ":foo", NULL, -1, NULL,
+                                            &error);
+       g_assert_no_error(error);
+       g_assert_true(result);
+
+       expanded = seagull_statement_get_expanded_sql(statement);
+       g_assert_cmpstr(expanded, ==, "SELECT NULL");
+       seagull_free(expanded);
+
+       g_assert_finalize_object(statement);
+
+       result = seagull_db_close(db, &error);
+       g_assert_no_error(error);
+       g_assert_true(result);
+}
+
+static void
 test_seagull_statement_bind_time_zone_normal(void) {
        SeagullStatement *statement = NULL;
        SeagullSqlite3 *db = NULL;
@@ -894,6 +926,37 @@
 }
 
 static void
+test_seagull_statement_bind_time_zone_null(void) {
+       SeagullStatement *statement = NULL;
+       SeagullSqlite3 *db = NULL;
+       GError *error = NULL;
+       char *expanded = NULL;
+       gboolean result = FALSE;
+
+       db = seagull_db_new_in_memory(&error);
+       g_assert_no_error(error);
+       g_assert_nonnull(db);
+
+       statement = seagull_statement_new(db, "SELECT :foo", &error);
+       g_assert_no_error(error);
+       g_assert_true(SEAGULL_IS_STATEMENT(statement));
+
+       result = seagull_statement_bind_time_zone(statement, ":foo", NULL, 
&error);
+       g_assert_no_error(error);
+       g_assert_true(result);
+
+       expanded = seagull_statement_get_expanded_sql(statement);
+       g_assert_cmpstr(expanded, ==, "SELECT NULL");
+       seagull_free(expanded);
+
+       g_assert_finalize_object(statement);
+
+       result = seagull_db_close(db, &error);
+       g_assert_no_error(error);
+       g_assert_true(result);
+}
+
+static void
 test_seagull_statement_step_reset(void) {
        SeagullStatement *statement = NULL;
        SeagullSqlite3 *db = NULL;
@@ -1604,8 +1667,12 @@
                        test_seagull_statement_bind_text_with_destroy);
        g_test_add_func("/seagull/statement/bind/text/not-found",
                        test_seagull_statement_bind_text_not_found);
+       g_test_add_func("/seagull/statement/bind/text/null",
+                       test_seagull_statement_bind_text_null);
        g_test_add_func("/seagull/statement/bind/time-zone/normal",
                        test_seagull_statement_bind_time_zone_normal);
+       g_test_add_func("/seagull/statement/bind/time-zone/null",
+                       test_seagull_statement_bind_time_zone_null);
 
        g_test_add_func("/seagull/statement/step-reset",
                        test_seagull_statement_step_reset);

Reply via email to