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 2022-02-11 23:06:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-pkg-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-pkg-bindings"

Fri Feb 11 23:06:47 2022 rev:223 rq:953725 version:4.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-pkg-bindings/yast2-pkg-bindings.changes    
2021-10-20 20:23:46.405359154 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.1956/yast2-pkg-bindings.changes
  2022-02-11 23:07:20.842595488 +0100
@@ -1,0 +2,7 @@
+Fri Feb 11 08:47:20 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Pkg.SourceGeneralData() - return the file name from which the
+  repository was loaded (related to bsc#1194546)
+- 4.4.4
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.gM1PV9/_old  2022-02-11 23:07:21.462597209 +0100
+++ /var/tmp/diff_new_pack.gM1PV9/_new  2022-02-11 23:07:21.470597231 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-pkg-bindings-devel-doc
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings-devel-doc
-Version:        4.4.3
+Version:        4.4.4
 Release:        0
 Summary:        YaST2 - Documentation for yast2-pkg-bindings package
 License:        GPL-2.0-only

yast2-pkg-bindings.spec: same change
++++++ yast2-pkg-bindings-4.4.3.tar.bz2 -> yast2-pkg-bindings-4.4.4.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.4.3/.github/workflows/ci.yml 
new/yast2-pkg-bindings-4.4.4/.github/workflows/ci.yml
--- old/yast2-pkg-bindings-4.4.3/.github/workflows/ci.yml       2021-10-19 
14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/.github/workflows/ci.yml       2022-02-11 
12:57:17.000000000 +0100
@@ -10,7 +10,6 @@
     runs-on: ubuntu-latest
     container:
       image: registry.opensuse.org/yast/head/containers/yast-cpp:latest
-      options: --privileged
 
     steps:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.4.3/.github/workflows/surge.yml 
new/yast2-pkg-bindings-4.4.4/.github/workflows/surge.yml
--- old/yast2-pkg-bindings-4.4.3/.github/workflows/surge.yml    2021-10-19 
14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/.github/workflows/surge.yml    2022-02-11 
12:57:17.000000000 +0100
@@ -15,7 +15,6 @@
     runs-on: ubuntu-latest
     container:
       image: registry.opensuse.org/yast/head/containers/yast-cpp:latest
-      options: --privileged
 
     steps:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.4.3/package/yast2-pkg-bindings-devel-doc.spec 
new/yast2-pkg-bindings-4.4.4/package/yast2-pkg-bindings-devel-doc.spec
--- old/yast2-pkg-bindings-4.4.3/package/yast2-pkg-bindings-devel-doc.spec      
2021-10-19 14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/package/yast2-pkg-bindings-devel-doc.spec      
2022-02-11 12:57:17.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings-devel-doc
-Version:        4.4.3
+Version:        4.4.4
 Release:        0
 Summary:        YaST2 - Documentation for yast2-pkg-bindings package
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.4.3/package/yast2-pkg-bindings.changes 
new/yast2-pkg-bindings-4.4.4/package/yast2-pkg-bindings.changes
--- old/yast2-pkg-bindings-4.4.3/package/yast2-pkg-bindings.changes     
2021-10-19 14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/package/yast2-pkg-bindings.changes     
2022-02-11 12:57:17.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Feb 11 08:47:20 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Pkg.SourceGeneralData() - return the file name from which the
+  repository was loaded (related to bsc#1194546)
+- 4.4.4
+
+-------------------------------------------------------------------
 Tue Oct 19 12:24:39 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
 
 - Use the C++17 standard, required by the latest libzypp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-pkg-bindings-4.4.3/package/yast2-pkg-bindings.spec 
new/yast2-pkg-bindings-4.4.4/package/yast2-pkg-bindings.spec
--- old/yast2-pkg-bindings-4.4.3/package/yast2-pkg-bindings.spec        
2021-10-19 14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/package/yast2-pkg-bindings.spec        
2022-02-11 12:57:17.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-pkg-bindings
-Version:        4.4.3
+Version:        4.4.4
 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.4.3/smoke_test_run.rb 
new/yast2-pkg-bindings-4.4.4/smoke_test_run.rb
--- old/yast2-pkg-bindings-4.4.3/smoke_test_run.rb      2021-10-19 
14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/smoke_test_run.rb      2022-02-11 
12:57:17.000000000 +0100
@@ -72,6 +72,13 @@
 raise "No repository found!" if repos.empty?
 puts "OK (found #{repos.size} repositories)"
 
+# Check the repository properties
+puts "Checking Pkg.SourceGeneralData..."
+repo_data = Yast::Pkg.SourceGeneralData(repos.first)
+repo_path = repo_data["file"]
+raise "Unexpected repository location: #{repo_path.inspect}" unless 
repo_path&.start_with?("/etc/zypp/repos.d/")
+puts "OK (the first repository was read from #{repo_path})"
+
 # Check all packages - this expects at least one package is available/installed
 puts "Checking Pkg.ResolvableProperties..."
 packages = Yast::Pkg.ResolvableProperties("", :package, "")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-pkg-bindings-4.4.3/src/Source_Get.cc 
new/yast2-pkg-bindings-4.4.4/src/Source_Get.cc
--- old/yast2-pkg-bindings-4.4.3/src/Source_Get.cc      2021-10-19 
14:53:09.000000000 +0200
+++ new/yast2-pkg-bindings-4.4.4/src/Source_Get.cc      2022-02-11 
12:57:17.000000000 +0100
@@ -113,6 +113,7 @@
  * "alias"     : YCPString,
  * "name"      : YCPString,
  * "raw_name"  : YCPString (raw name without variable replacement),
+ * "file"       : YCPString (source *.repo file when loaded from disk or empty 
string when created in memory)
  * "service"   : YCPString, (service to which the repo belongs, empty if there 
is no service assigned)
  * "keeppackages" : YCPBoolean,
  * "is_update_repo" : YCPBoolean, (true if this is an update repo - this 
requires loaded objects in pool otherwise the flag is not returned! The value 
is stored in repo metadata, not in .repo file!)
@@ -152,6 +153,8 @@
     data->add( YCPString("name"),              
YCPString(repo->repoInfo().name()));
     data->add( YCPString("raw_name"),          
YCPString(repo->repoInfo().rawName()));
 
+    data->add(YCPString("file"), 
YCPString(repo->repoInfo().filepath().asString()));
+
     YCPList base_urls;
     for( zypp::RepoInfo::urls_const_iterator it = 
repo->repoInfo().baseUrlsBegin(); it != repo->repoInfo().baseUrlsEnd(); ++it)
     {

Reply via email to