Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-online-update for 
openSUSE:Factory checked in at 2022-11-22 16:09:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-online-update (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-online-update.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-online-update"

Tue Nov 22 16:09:42 2022 rev:114 rq:1037081 version:4.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-online-update/yast2-online-update.changes  
2022-06-09 14:09:29.620343093 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-online-update.new.1597/yast2-online-update.changes
        2022-11-22 16:09:44.621896185 +0100
@@ -1,0 +2,8 @@
+Mon Nov 21 11:45:35 UTC 2022 - Michal Filka <mfi...@suse.com>
+
+- bsc#1204907
+  - Dropped old workaround from 2.13.15 with unconditional refresh
+    of all repositories.
+- 4.5.2
+
+-------------------------------------------------------------------

Old:
----
  yast2-online-update-4.5.1.tar.bz2

New:
----
  yast2-online-update-4.5.2.tar.bz2

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

Other differences:
------------------
++++++ yast2-online-update.spec ++++++
--- /var/tmp/diff_new_pack.pw4jpI/_old  2022-11-22 16:09:44.981898015 +0100
+++ /var/tmp/diff_new_pack.pw4jpI/_new  2022-11-22 16:09:44.989898055 +0100
@@ -17,12 +17,12 @@
 
 
 Name:           yast2-online-update
-Version:        4.5.1
+Version:        4.5.2
 Release:        0
 URL:            https://github.com/yast/yast-online-update
 Summary:        YaST2 - Online Update (YOU)
-License:        GPL-2.0-only
 Group:          System/YaST
+License:        GPL-2.0-only
 
 Source0:        %{name}-%{version}.tar.bz2
 
@@ -67,8 +67,8 @@
 
 %package frontend
 Summary:        YaST2 - Online Update (YOU)
-Group:          System/YaST
 Requires:       yast2-online-update
+Group:          System/YaST
 
 # PatchCD desktop file moved to yast2-wagon
 Conflicts:      yast2-wagon <= 2.17.3

++++++ yast2-online-update-4.5.1.tar.bz2 -> yast2-online-update-4.5.2.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-4.5.1/package/yast2-online-update.changes 
new/yast2-online-update-4.5.2/package/yast2-online-update.changes
--- old/yast2-online-update-4.5.1/package/yast2-online-update.changes   
2022-06-08 09:41:49.000000000 +0200
+++ new/yast2-online-update-4.5.2/package/yast2-online-update.changes   
2022-11-21 12:50:56.000000000 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Mon Nov 21 11:45:35 UTC 2022 - Michal Filka <mfi...@suse.com>
+
+- bsc#1204907
+  - Dropped old workaround from 2.13.15 with unconditional refresh
+    of all repositories.
+- 4.5.2
+
+-------------------------------------------------------------------
 Wed Jun  8 07:15:29 UTC 2022 - Ladislav Slezák <lsle...@suse.cz>
 
 - Support managing system in a chroot (bsc#1199840)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-4.5.1/package/yast2-online-update.spec 
new/yast2-online-update-4.5.2/package/yast2-online-update.spec
--- old/yast2-online-update-4.5.1/package/yast2-online-update.spec      
2022-06-08 09:41:49.000000000 +0200
+++ new/yast2-online-update-4.5.2/package/yast2-online-update.spec      
2022-11-21 12:50:56.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-online-update
-Version:        4.5.1
+Version:        4.5.2
 Release:        0
 Url:            https://github.com/yast/yast-online-update
 Summary:        YaST2 - Online Update (YOU)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-4.5.1/src/clients/online_update.rb 
new/yast2-online-update-4.5.2/src/clients/online_update.rb
--- old/yast2-online-update-4.5.1/src/clients/online_update.rb  2022-06-08 
09:41:49.000000000 +0200
+++ new/yast2-online-update-4.5.2/src/clients/online_update.rb  2022-11-21 
12:50:56.000000000 +0100
@@ -183,7 +183,15 @@
 
       Progress.NextStage
 
-      OnlineUpdateCallbacks.RefreshAllSources
+      enabled_only = true
+      mgr_ok = Pkg.SourceStartManager(enabled_only)
+      if !mgr_ok
+        Report.LongWarning(
+          # TRANSLATORS: error popup (detailed info follows)
+          _("There was an error in the repository initialization.") + "\n" +
+          Pkg.LastError
+        )
+      end
 
       Progress.NextStage
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-4.5.1/src/modules/OnlineUpdateCallbacks.rb 
new/yast2-online-update-4.5.2/src/modules/OnlineUpdateCallbacks.rb
--- old/yast2-online-update-4.5.1/src/modules/OnlineUpdateCallbacks.rb  
2022-06-08 09:41:49.000000000 +0200
+++ new/yast2-online-update-4.5.2/src/modules/OnlineUpdateCallbacks.rb  
2022-11-21 12:50:56.000000000 +0100
@@ -537,43 +537,6 @@
       nil
     end
 
-    # Refresh all sources with autorefresh enabled.
-    # This function is a temporary solution for bug #154990
-    def RefreshAllSources
-      Builtins.y2milestone("Refreshing all sources...")
-      mgr_ok = Pkg.SourceStartManager(true)
-      if !mgr_ok
-        # error popoup (detailed info follows)
-        Report.LongWarning(
-          Ops.add(
-            _("There was an error in the repository initialization.") + "\n",
-            Pkg.LastError
-          )
-        )
-      end
-
-      all_sources = Pkg.SourceEditGet
-
-      # There are no sources, nothing to refresh
-      if all_sources == nil || Ops.less_than(Builtins.size(all_sources), 1)
-        Builtins.y2warning("No sources defined, nothing to refresh...")
-        return
-      end
-      Builtins.foreach(all_sources) do |one_source|
-        source_id = Ops.get_integer(one_source, "SrcId")
-        source_autorefresh = Ops.get_boolean(one_source, "autorefresh", true)
-        source_enabled = Ops.get_boolean(one_source, "enabled", true)
-        if source_id != nil && source_autorefresh == true &&
-            source_enabled == true
-          Builtins.y2milestone("Refreshing source: %1", source_id)
-          Pkg.SourceRefreshNow(source_id)
-        end
-      end
-      Builtins.y2milestone("... refreshing done")
-
-      nil
-    end
-
     # Refresh sources given by argument
     def RefreshSources(sources)
       sources = deep_copy(sources)
@@ -616,7 +579,6 @@
     publish :function => :ScriptFinish, :type => "void ()"
     publish :function => :Message, :type => "boolean (string, string, string, 
string)"
     publish :function => :RegisterOnlineUpdateCallbacks, :type => "void ()"
-    publish :function => :RefreshAllSources, :type => "void ()"
     publish :function => :RefreshSources, :type => "void (list <map>)"
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-4.5.1/src/modules/OnlineUpdateDialogs.rb 
new/yast2-online-update-4.5.2/src/modules/OnlineUpdateDialogs.rb
--- old/yast2-online-update-4.5.1/src/modules/OnlineUpdateDialogs.rb    
2022-06-08 09:41:49.000000000 +0200
+++ new/yast2-online-update-4.5.2/src/modules/OnlineUpdateDialogs.rb    
2022-11-21 12:50:56.000000000 +0100
@@ -304,12 +304,6 @@
 
       detailsButton = PushButton(Id(:details), detailsStringOff)
 
-      detailsTerm = HBox(
-        HSpacing(0.5),
-        HWeight(1, RichText(Opt(:plainText), details)),
-        HSpacing(0.5)
-      )
-
       buttons = nil
       if pre
         buttons = HBox(
@@ -553,7 +547,7 @@
       )
 
       UI.OpenDialog(dialog_description)
-      user_ret = UI.UserInput
+      UI.UserInput
       UI.CloseDialog
     end
 

Reply via email to