Script 'mail_helper' called by obssrc
Hello community,

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

Package is "msgraph"

Sat Jan 17 21:41:41 2026 rev:5 rq:1327628 version:0.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/msgraph/msgraph.changes  2025-03-18 
17:38:24.878290236 +0100
+++ /work/SRC/openSUSE:Factory/.msgraph.new.1928/msgraph.changes        
2026-01-17 21:41:43.343396298 +0100
@@ -1,0 +2,7 @@
+Wed Jan 14 11:41:42 UTC 2026 - Bjørn Lie <[email protected]>
+
+- Update to version 0.3.4:
+  + Remove drive bundles duplicates
+  + doc: Update URL to libsoup
+
+-------------------------------------------------------------------

Old:
----
  msgraph-0.3.3.obscpio

New:
----
  msgraph-0.3.4.obscpio

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

Other differences:
------------------
++++++ msgraph.spec ++++++
--- /var/tmp/diff_new_pack.7TdLTS/_old  2026-01-17 21:41:44.139428905 +0100
+++ /var/tmp/diff_new_pack.7TdLTS/_new  2026-01-17 21:41:44.143429070 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package msgraph
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define sover 1
 
 Name:           msgraph
-Version:        0.3.3
+Version:        0.3.4
 Release:        0
 Summary:        Library for accessing online serive APIs using MS Graph 
protocol
 License:        LGPL-3.0-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.7TdLTS/_old  2026-01-17 21:41:44.179430544 +0100
+++ /var/tmp/diff_new_pack.7TdLTS/_new  2026-01-17 21:41:44.183430708 +0100
@@ -3,7 +3,7 @@
   <service name="obs_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://gitlab.gnome.org/GNOME/msgraph.git</param>
-    <param name="revision">0.3.3</param>
+    <param name="revision">0.3.4</param>
     <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
     <param name="versionrewrite-pattern">v?(.*)\+0</param>
     <param name="versionrewrite-replacement">\1</param>

++++++ msgraph-0.3.3.obscpio -> msgraph-0.3.4.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgraph-0.3.3/NEWS new/msgraph-0.3.4/NEWS
--- old/msgraph-0.3.3/NEWS      2025-01-27 08:09:59.000000000 +0100
+++ new/msgraph-0.3.4/NEWS      2026-01-14 11:34:58.000000000 +0100
@@ -1,3 +1,8 @@
+0.3.4 - Jan 14, 2026
+===========================
+- Remove drive bundles duplicates
+- doc: Update URL to libsoup
+
 0.3.3 - Jan 27, 2025
 ===========================
 - CI release service fix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgraph-0.3.3/doc/msg.toml.in 
new/msgraph-0.3.4/doc/msg.toml.in
--- old/msgraph-0.3.3/doc/msg.toml.in   2025-01-27 08:09:59.000000000 +0100
+++ new/msgraph-0.3.4/doc/msg.toml.in   2026-01-14 11:34:58.000000000 +0100
@@ -45,7 +45,7 @@
 [dependencies."Soup-3.0"]
 name = "Soup"
 description = "HTTP client/server library for GNOME"
-docs_url = "https://libsoup.org/libsoup-3.0/index.html";
+docs_url = "https://libsoup.gnome.org/libsoup-3.0/index.html";
 
 [theme]
 name = "basic"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgraph-0.3.3/meson.build 
new/msgraph-0.3.4/meson.build
--- old/msgraph-0.3.3/meson.build       2025-01-27 08:09:59.000000000 +0100
+++ new/msgraph-0.3.4/meson.build       2026-01-14 11:34:58.000000000 +0100
@@ -1,5 +1,5 @@
 project('msgraph', 'c',
-          version: '0.3.3',
+          version: '0.3.4',
     meson_version: '>= 0.63.0',
   default_options: [ 'warning_level=2',
                      'werror=false',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgraph-0.3.3/src/drive/msg-drive-service.c 
new/msgraph-0.3.4/src/drive/msg-drive-service.c
--- old/msgraph-0.3.3/src/drive/msg-drive-service.c     2025-01-27 
08:09:59.000000000 +0100
+++ new/msgraph-0.3.4/src/drive/msg-drive-service.c     2026-01-14 
11:34:58.000000000 +0100
@@ -135,6 +135,24 @@
   return g_object_new (MSG_TYPE_DRIVE_SERVICE, "authorizer", authorizer, NULL);
 }
 
+static gboolean
+drive_already_added (GList    *list,
+                     MsgDrive *drive)
+{
+  const char *drive_id = msg_drive_get_id (drive);
+  const char *drive_name = msg_drive_get_name (drive);
+  gboolean drive_is_bundle = drive_name && g_str_has_prefix (drive_name, 
"Bundles_");
+
+  for (GList *iter = list; iter && iter->data; iter = iter->next) {
+    MsgDrive *list_drive = MSG_DRIVE (iter->data);
+
+    if (g_strcmp0 (msg_drive_get_id (list_drive), drive_id) == 0 && 
drive_is_bundle)
+      return TRUE;
+  }
+
+  return FALSE;
+}
+
 /**
  * msg_drive_service_get_drives:
  * @self: a #MsgDriveService
@@ -183,8 +201,11 @@
       drive_object = json_array_get_object_element (array, index);
       drive = msg_drive_new_from_json (drive_object, &local_error);
       if (drive) {
-        self->type = msg_drive_get_drive_type (drive);
-        list = g_list_append (list, drive);
+
+        if (!drive_already_added (list, drive)) {
+          self->type = msg_drive_get_drive_type (drive);
+          list = g_list_append (list, drive);
+        }
       } else {
         g_warning ("Could not parse drive object: %s", local_error->message);
       }

++++++ msgraph.obsinfo ++++++
--- /var/tmp/diff_new_pack.7TdLTS/_old  2026-01-17 21:41:44.435441031 +0100
+++ /var/tmp/diff_new_pack.7TdLTS/_new  2026-01-17 21:41:44.439441195 +0100
@@ -1,5 +1,5 @@
 name: msgraph
-version: 0.3.3
-mtime: 1737961799
-commit: 63d28451d65b3ba3db72baa11b84c26ef6d54d72
+version: 0.3.4
+mtime: 1768386898
+commit: 765ce74bd03e946bbc97cb2904fb0d0a43a88a8d
 

Reply via email to