Hello community,

here is the log from the commit of package yast2-packager for 
openSUSE:Leap:15.2 checked in at 2020-02-10 16:41:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/yast2-packager (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.yast2-packager.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager"

Mon Feb 10 16:41:17 2020 rev:137 rq:772184 version:4.2.49

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/yast2-packager/yast2-packager.changes  
2020-02-04 17:54:54.668767080 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.yast2-packager.new.26092/yast2-packager.changes   
    2020-02-10 16:41:24.875701686 +0100
@@ -1,0 +2,14 @@
+Wed Feb  5 15:36:54 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Enable the "Search Online" menu entry for those systems that
+  are registered or that can be registered (jsc#SLE-9109).
+- 4.2.49
+
+-------------------------------------------------------------------
+Tue Feb  4 14:09:29 UTC 2020 - Josef Reidinger <jreidin...@suse.com>
+
+- Mark packager and repositories as WSL capable modules
+  (bsc#1162650)
+- 4.2.48
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.HGMEPv/_old  2020-02-10 16:41:25.291701980 +0100
+++ /var/tmp/diff_new_pack.HGMEPv/_new  2020-02-10 16:41:25.291701980 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.2.47
+Version:        4.2.49
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later

++++++ yast2-packager-4.2.47.tar.bz2 -> yast2-packager-4.2.49.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.2.47/package/yast2-packager.changes 
new/yast2-packager-4.2.49/package/yast2-packager.changes
--- old/yast2-packager-4.2.47/package/yast2-packager.changes    2020-01-29 
16:58:49.000000000 +0100
+++ new/yast2-packager-4.2.49/package/yast2-packager.changes    2020-02-05 
17:54:51.000000000 +0100
@@ -1,4 +1,18 @@
 -------------------------------------------------------------------
+Wed Feb  5 15:36:54 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Enable the "Search Online" menu entry for those systems that
+  are registered or that can be registered (jsc#SLE-9109).
+- 4.2.49
+
+-------------------------------------------------------------------
+Tue Feb  4 14:09:29 UTC 2020 - Josef Reidinger <jreidin...@suse.com>
+
+- Mark packager and repositories as WSL capable modules
+  (bsc#1162650)
+- 4.2.48
+
+-------------------------------------------------------------------
 Wed Jan 29 15:35:20 UTC 2020 - Stefan Hundhammer <shundham...@suse.com>
 
 - Don't overwrite the default English license for add-on modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.2.47/package/yast2-packager.spec 
new/yast2-packager-4.2.49/package/yast2-packager.spec
--- old/yast2-packager-4.2.47/package/yast2-packager.spec       2020-01-29 
16:58:49.000000000 +0100
+++ new/yast2-packager-4.2.49/package/yast2-packager.spec       2020-02-05 
17:54:51.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.2.47
+Version:        4.2.49
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.2.47/src/clients/sw_single.rb 
new/yast2-packager-4.2.49/src/clients/sw_single.rb
--- old/yast2-packager-4.2.47/src/clients/sw_single.rb  2020-01-29 
16:58:49.000000000 +0100
+++ new/yast2-packager-4.2.49/src/clients/sw_single.rb  2020-02-05 
17:54:51.000000000 +0100
@@ -456,7 +456,7 @@
         end
       end
       repo_management = Mode.normal if repo_management.nil?
-      online_search = Mode.normal && registered?
+      online_search = Mode.normal && online_search_available?
 
       ret = {
         "mode" => mode, "enable_repo_mgr" => repo_management,
@@ -804,14 +804,14 @@
 
   private
 
-    # Determines whether the running system is registered or not
+    # Determines whether the online search can be used in the running system
     #
-    # @return [Booolean] true if the system is registered; false otherwise
-    def registered?
-      require "registration/registration"
-      ::Registration::Registration.is_registered?
-    rescue LoadError
-      false
+    # @note The online search feature is available in those systems that
+    #   can be installed. For the time being, we rely on the online_search
+    #   client being available (from `yast2-registration`).
+    # @return [Boolean]
+    def online_search_available?
+      Yast::WFM.ClientExists("online_search")
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-4.2.47/src/desktop/org.opensuse.yast.SWSingle.desktop 
new/yast2-packager-4.2.49/src/desktop/org.opensuse.yast.SWSingle.desktop
--- old/yast2-packager-4.2.47/src/desktop/org.opensuse.yast.SWSingle.desktop    
2020-01-29 16:58:49.000000000 +0100
+++ new/yast2-packager-4.2.49/src/desktop/org.opensuse.yast.SWSingle.desktop    
2020-02-05 17:54:51.000000000 +0100
@@ -14,6 +14,7 @@
 X-SuSE-YaST-SortKey=20
 X-SuSE-YaST-AutoInstResource=
 X-SuSE-YaST-Keywords=software,packages,rpm,repositories,installation,deletion
+X-SuSE-YaST-WSL=true
 
 Icon=yast-sw_single
 Exec=xdg-su -c "/sbin/yast2 sw_single"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-4.2.47/src/desktop/org.opensuse.yast.SWSource.desktop 
new/yast2-packager-4.2.49/src/desktop/org.opensuse.yast.SWSource.desktop
--- old/yast2-packager-4.2.47/src/desktop/org.opensuse.yast.SWSource.desktop    
2020-01-29 16:58:49.000000000 +0100
+++ new/yast2-packager-4.2.49/src/desktop/org.opensuse.yast.SWSource.desktop    
2020-02-05 17:54:51.000000000 +0100
@@ -14,6 +14,7 @@
 X-SuSE-YaST-SortKey=
 X-SuSE-YaST-AutoInstResource=
 X-SuSE-YaST-Keywords=software,packages,rpm,repositories
+X-SuSE-YaST-WSL=true
 
 Icon=yast-sw_source
 Exec=xdg-su -c "/sbin/yast2 repositories"


Reply via email to