Script 'mail_helper' called by obssrc
Hello community,

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

Package is "yast2-packager"

Fri Oct 20 23:16:36 2023 rev:441 rq:1118985 version:5.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2023-08-09 17:24:10.784979253 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new.1945/yast2-packager.changes  
2023-10-20 23:17:28.484069098 +0200
@@ -1,0 +2,14 @@
+Wed Sep 20 15:58:33 UTC 2023 - Ladislav Slezák <[email protected]>
+
+- Properly save the repo file when changing URL of a repository
+  from a service (bsc#1214135)
+- Also display a warning when changing URL of a service repository,
+  the change might be lost after the service is refreshed
+- 5.0.1 
+
+-------------------------------------------------------------------
+Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger <[email protected]>
+
+- 5.0.0 (bsc#1185510)
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-4.6.2.tar.bz2

New:
----
  yast2-packager-5.0.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.F9BT44/_old  2023-10-20 23:17:29.108091866 +0200
+++ /var/tmp/diff_new_pack.F9BT44/_new  2023-10-20 23:17:29.112092012 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.6.2
+Version:        5.0.1
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later
@@ -38,8 +38,8 @@
 #!BuildIgnore: yast2-packager
 # Replace PackageSystem with Package
 BuildRequires:  yast2 >= 4.4.38
-# raw_name
-BuildRequires:  yast2-pkg-bindings >= 4.2.8
+# "service" attribute in Pkg.SourceEditSet()
+BuildRequires:  yast2-pkg-bindings >= 5.0.2
 # yast/rspec/helpers.rb
 BuildRequires:  yast2-ruby-bindings >= 4.4.7
 # Augeas lenses
@@ -48,8 +48,8 @@
 
 # Newly added RPM
 Requires:       yast2-country-data >= 2.16.3
-# raw_name
-Requires:       yast2-pkg-bindings >= 4.2.8
+# "service" attribute in Pkg.SourceEditSet()
+Requires:       yast2-pkg-bindings >= 5.0.2
 # Replace PackageSystem with Package
 Requires:       yast2 >= 4.4.38
 # unzipping license file

++++++ yast2-packager-4.6.2.tar.bz2 -> yast2-packager-5.0.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.6.2/package/yast2-packager.changes 
new/yast2-packager-5.0.1/package/yast2-packager.changes
--- old/yast2-packager-4.6.2/package/yast2-packager.changes     2023-08-08 
13:34:00.000000000 +0200
+++ new/yast2-packager-5.0.1/package/yast2-packager.changes     2023-10-18 
23:18:37.000000000 +0200
@@ -1,4 +1,18 @@
 -------------------------------------------------------------------
+Wed Sep 20 15:58:33 UTC 2023 - Ladislav Slezák <[email protected]>
+
+- Properly save the repo file when changing URL of a repository
+  from a service (bsc#1214135)
+- Also display a warning when changing URL of a service repository,
+  the change might be lost after the service is refreshed
+- 5.0.1 
+
+-------------------------------------------------------------------
+Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger <[email protected]>
+
+- 5.0.0 (bsc#1185510)
+
+-------------------------------------------------------------------
 Tue Aug  8 11:22:18 UTC 2023 - Ladislav Slezák <[email protected]>
 
 - Move loading the Pkg module to fix a failing unit test (bsc#1214069)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.6.2/package/yast2-packager.spec 
new/yast2-packager-5.0.1/package/yast2-packager.spec
--- old/yast2-packager-4.6.2/package/yast2-packager.spec        2023-08-08 
13:34:00.000000000 +0200
+++ new/yast2-packager-5.0.1/package/yast2-packager.spec        2023-10-18 
23:18:37.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.6.2
+Version:        5.0.1
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later
@@ -38,8 +38,8 @@
 #!BuildIgnore: yast2-packager
 # Replace PackageSystem with Package
 BuildRequires:  yast2 >= 4.4.38
-# raw_name
-BuildRequires:  yast2-pkg-bindings >= 4.2.8
+# "service" attribute in Pkg.SourceEditSet()
+BuildRequires:  yast2-pkg-bindings >= 5.0.2
 # yast/rspec/helpers.rb
 BuildRequires:  yast2-ruby-bindings >= 4.4.7
 # Augeas lenses
@@ -48,8 +48,8 @@
 
 # Newly added RPM
 Requires:       yast2-country-data >= 2.16.3
-# raw_name
-Requires:       yast2-pkg-bindings >= 4.2.8
+# "service" attribute in Pkg.SourceEditSet()
+Requires:       yast2-pkg-bindings >= 5.0.2
 # Replace PackageSystem with Package
 Requires:       yast2 >= 4.4.38
 # unzipping license file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-4.6.2/src/lib/packager/clients/repositories.rb 
new/yast2-packager-5.0.1/src/lib/packager/clients/repositories.rb
--- old/yast2-packager-4.6.2/src/lib/packager/clients/repositories.rb   
2023-08-08 13:34:00.000000000 +0200
+++ new/yast2-packager-5.0.1/src/lib/packager/clients/repositories.rb   
2023-10-18 23:18:37.000000000 +0200
@@ -1854,6 +1854,8 @@
         end
 
         if !same_url || plaindir != SourceDialogs.IsPlainDir
+          warn_service_repository(source_state)
+
           Builtins.y2milestone(
             "URL or plaindir flag changed, recreating the source"
           )
@@ -1896,13 +1898,15 @@
                 "priority",
                 @default_priority
               )
+              service = source_state["service"] || ""
               Builtins.y2milestone(
                 "Restoring the original properties: enabled: %1, autorefresh: 
%2, " \
-                "keeppackages: %3, priority: %4",
+                "keeppackages: %3, priority: %4, service: %5",
                 enabled,
                 auto_refresh,
                 keeppackages,
-                priority
+                priority,
+                service
               )
 
               # set the original properties
@@ -1910,6 +1914,7 @@
               Ops.set(addedSource, "keeppackages", keeppackages)
               Ops.set(addedSource, "enabled", enabled)
               Ops.set(addedSource, "priority", priority)
+              Ops.set(addedSource, "service", service)
 
               # get the ID of the old repo and mark it for removal
               srcid = Ops.get_integer(

Reply via email to