Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-pkg-bindings for 
openSUSE:Factory checked in at 2023-10-20 23:16:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-pkg-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-pkg-bindings"

Fri Oct 20 23:16:33 2023 rev:229 rq:1118974 version:5.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-pkg-bindings/yast2-pkg-bindings.changes    
2023-05-16 14:21:58.393870965 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.1945/yast2-pkg-bindings.changes
  2023-10-20 23:17:24.951940225 +0200
@@ -1,0 +2,19 @@
+Wed Sep 20 15:54:13 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
+
+- Pkg.SourceEditSet() - Allow setting the repository service name
+  (related to bsc#1214135)
+- 5.0.2
+
+-------------------------------------------------------------------
+Wed Sep 13 16:36:53 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
+
+- Fixed crash in the Pkg.Commit() function when passing
+  "exclude_docs" or "no_signature" options (bsc#1215238)
+- 5.0.1
+
+-------------------------------------------------------------------
+Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger <jreidin...@suse.cz>
+
+- 5.0.0 (bsc#1185510)
+
+-------------------------------------------------------------------

Old:
----
  yast2-pkg-bindings-4.6.2.tar.bz2

New:
----
  yast2-pkg-bindings-5.0.2.tar.bz2

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

Other differences:
------------------
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.iQOKou/_old  2023-10-20 23:17:25.575962993 +0200
+++ /var/tmp/diff_new_pack.iQOKou/_new  2023-10-20 23:17:25.579963139 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings
-Version:        4.6.2
+Version:        5.0.2
 Release:        0
 Summary:        YaST2 - Package Manager Access
 License:        GPL-2.0-only

++++++ yast2-pkg-bindings-4.6.2.tar.bz2 -> yast2-pkg-bindings-5.0.2.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.6.2/package/yast2-pkg-bindings.changes 
new/yast2-pkg-bindings-5.0.2/package/yast2-pkg-bindings.changes
--- old/yast2-pkg-bindings-4.6.2/package/yast2-pkg-bindings.changes     
2023-05-15 14:28:21.000000000 +0200
+++ new/yast2-pkg-bindings-5.0.2/package/yast2-pkg-bindings.changes     
2023-10-18 23:18:56.000000000 +0200
@@ -1,4 +1,23 @@
 -------------------------------------------------------------------
+Wed Sep 20 15:54:13 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
+
+- Pkg.SourceEditSet() - Allow setting the repository service name
+  (related to bsc#1214135)
+- 5.0.2
+
+-------------------------------------------------------------------
+Wed Sep 13 16:36:53 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
+
+- Fixed crash in the Pkg.Commit() function when passing
+  "exclude_docs" or "no_signature" options (bsc#1215238)
+- 5.0.1
+
+-------------------------------------------------------------------
+Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger <jreidin...@suse.cz>
+
+- 5.0.0 (bsc#1185510)
+
+-------------------------------------------------------------------
 Mon May 15 11:54:53 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
 
 - Dropped the *-devel-doc subpackage (related to bsc#1211319)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.6.2/package/yast2-pkg-bindings.spec 
new/yast2-pkg-bindings-5.0.2/package/yast2-pkg-bindings.spec
--- old/yast2-pkg-bindings-4.6.2/package/yast2-pkg-bindings.spec        
2023-05-15 14:28:21.000000000 +0200
+++ new/yast2-pkg-bindings-5.0.2/package/yast2-pkg-bindings.spec        
2023-10-18 23:18:56.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings
-Version:        4.6.2
+Version:        5.0.2
 Release:        0
 Summary:        YaST2 - Package Manager Access
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.6.2/src/Package.cc 
new/yast2-pkg-bindings-5.0.2/src/Package.cc
--- old/yast2-pkg-bindings-4.6.2/src/Package.cc 2023-05-15 14:28:21.000000000 
+0200
+++ new/yast2-pkg-bindings-5.0.2/src/Package.cc 2023-10-18 23:18:56.000000000 
+0200
@@ -2500,12 +2500,12 @@
                 bool exclude_docs = config->value(key)->asBoolean()->value();
                 commit_policy->rpmExcludeDocs(exclude_docs);
 
-                y2milestone("Excluding documentation: %s", 
config->value(key)->asString()->value().c_str());
+                y2milestone("Excluding documentation: %s", 
config->value(key)->toString().c_str());
             }
             else
             {
-                y2error("Exclude documentation option: boolean is required, 
got: %s", config->value(key)->asString()->value().c_str());
-                _last_error.setLastError(std::string("Invalid exclude 
documentation option: ") + config->value(key)->asString()->value());
+                y2error("Exclude documentation option: boolean is required, 
got: %s", config->value(key)->toString().c_str());
+                _last_error.setLastError(std::string("Invalid exclude 
documentation option: ") + config->value(key)->toString());
 
                delete commit_policy;
                commit_policy = NULL;
@@ -2523,12 +2523,12 @@
                 bool no_signature = config->value(key)->asBoolean()->value();
                 commit_policy->rpmNoSignature(no_signature);
 
-                y2milestone("Don't check RPM signature: %s", 
config->value(key)->asString()->value().c_str());
+                y2milestone("Don't check RPM signature: %s", 
config->value(key)->toString().c_str());
             }
             else
             {
-                y2error("No signature option: boolean is required, got: %s", 
config->value(key)->asString()->value().c_str());
-                _last_error.setLastError(std::string("Invalid no signature 
option: ") + config->value(key)->asString()->value());
+                y2error("No signature option: boolean is required, got: %s", 
config->value(key)->toString().c_str());
+                _last_error.setLastError(std::string("Invalid no signature 
option: ") + config->value(key)->toString());
 
                delete commit_policy;
                commit_policy = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.6.2/src/Source_Set.cc 
new/yast2-pkg-bindings-5.0.2/src/Source_Set.cc
--- old/yast2-pkg-bindings-4.6.2/src/Source_Set.cc      2023-05-15 
14:28:21.000000000 +0200
+++ new/yast2-pkg-bindings-5.0.2/src/Source_Set.cc      2023-10-18 
23:18:56.000000000 +0200
@@ -255,6 +255,13 @@
         y2debug("set keeppackages: %d", keeppackages);
        repo->repoInfo().setKeepPackages( keeppackages );
     }
+
+    if( !descr->value(YCPString("service")).isNull() && 
descr->value(YCPString("service"))->isString())
+    {
+        string service = 
descr->value(YCPString("service"))->asString()->value();
+        y2debug("set service: %s", service.c_str());
+        repo->repoInfo().setService(service);
+    }
   }
 
   return YCPBoolean( !error );

Reply via email to