Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-update for openSUSE:Factory 
checked in at 2023-11-02 20:20:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-update (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-update.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-update"

Thu Nov  2 20:20:39 2023 rev:153 rq:1121437 version:5.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-update/yast2-update.changes        
2023-10-20 23:18:10.061586084 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-update.new.17445/yast2-update.changes     
2023-11-02 20:20:42.942170573 +0100
@@ -1,0 +2,8 @@
+Tue Oct 31 12:29:07 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
+
+- Drop the previously used repositories when going back to the
+  partition selection at upgrade, this ensures the repositories
+  are correctly reinitialized later (bsc#1215884)
+- 5.0.1
+
+-------------------------------------------------------------------

Old:
----
  yast2-update-5.0.0.tar.bz2

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

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

Other differences:
------------------
++++++ yast2-update.spec ++++++
--- /var/tmp/diff_new_pack.G63f6d/_old  2023-11-02 20:20:43.726199422 +0100
+++ /var/tmp/diff_new_pack.G63f6d/_new  2023-11-02 20:20:43.730199569 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-update
-Version:        5.0.0
+Version:        5.0.1
 Release:        0
 Summary:        YaST2 - Update
 Group:          System/YaST

++++++ yast2-update-5.0.0.tar.bz2 -> yast2-update-5.0.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-update-5.0.0/.rubocop.yml 
new/yast2-update-5.0.1/.rubocop.yml
--- old/yast2-update-5.0.0/.rubocop.yml 2023-10-18 23:22:19.000000000 +0200
+++ new/yast2-update-5.0.1/.rubocop.yml 2023-10-31 13:43:56.000000000 +0100
@@ -18,7 +18,7 @@
 
 # Offense count: 25
 Metrics/AbcSize:
-  Max: 188
+  Max: 190
 
 # Offense count: 23
 # Configuration parameters: CountComments, ExcludedMethods.
@@ -40,7 +40,7 @@
 
 # Offense count: 25
 Metrics/CyclomaticComplexity:
-  Max: 46
+  Max: 50
 
 # Offense count: 27
 # Configuration parameters: CountComments, ExcludedMethods.
@@ -54,7 +54,7 @@
 
 # Offense count: 24
 Metrics/PerceivedComplexity:
-  Max: 55
+  Max: 60
 
 # Offense count: 49
 # Configuration parameters: EnforcedStyle.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-update-5.0.0/package/yast2-update.changes 
new/yast2-update-5.0.1/package/yast2-update.changes
--- old/yast2-update-5.0.0/package/yast2-update.changes 2023-10-18 
23:22:19.000000000 +0200
+++ new/yast2-update-5.0.1/package/yast2-update.changes 2023-10-31 
13:43:56.000000000 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Tue Oct 31 12:29:07 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
+
+- Drop the previously used repositories when going back to the
+  partition selection at upgrade, this ensures the repositories
+  are correctly reinitialized later (bsc#1215884)
+- 5.0.1
+
+-------------------------------------------------------------------
 Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger <jreidin...@suse.cz>
 
 - 5.0.0 (bsc#1185510)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-update-5.0.0/package/yast2-update.spec 
new/yast2-update-5.0.1/package/yast2-update.spec
--- old/yast2-update-5.0.0/package/yast2-update.spec    2023-10-18 
23:22:19.000000000 +0200
+++ new/yast2-update-5.0.1/package/yast2-update.spec    2023-10-31 
13:43:56.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-update
-Version:        5.0.0
+Version:        5.0.1
 Release:        0
 Summary:        YaST2 - Update
 Group:          System/YaST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-update-5.0.0/src/include/update/rootpart.rb 
new/yast2-update-5.0.1/src/include/update/rootpart.rb
--- old/yast2-update-5.0.0/src/include/update/rootpart.rb       2023-10-18 
23:22:19.000000000 +0200
+++ new/yast2-update-5.0.1/src/include/update/rootpart.rb       2023-10-31 
13:43:56.000000000 +0100
@@ -28,6 +28,7 @@
 #    calling this module.
 require "yast"
 
+require "y2packager/medium_type"
 require "y2packager/original_repository_setup"
 require "y2packager/product_spec"
 require "y2packager/repository"
@@ -455,6 +456,11 @@
 
       # New partition has been mounted
       if flavor == :update_dialog && ret == :next
+        # drop all loaded repositories after going back in SLE, the 
installation
+        # medium is added later FIXME: what to do in Leap? we need to keep the
+        # already added installation repository... :-/
+        Pkg.SourceFinishAll if !Y2Packager::MediumType.standard?
+
         # override the current target distribution at the system and use
         # the target distribution from the base product to make the new service
         # repositories compatible with the base product at upgrade (bnc#881320)

Reply via email to