Hello community,

here is the log from the commit of package yast2-online-update for 
openSUSE:Factory checked in at 2014-06-02 07:00:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-online-update (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-online-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-online-update"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-online-update/yast2-online-update.changes  
2014-03-26 16:42:36.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-online-update.new/yast2-online-update.changes 
    2014-06-02 07:00:23.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May 28 08:16:10 UTC 2014 - lsle...@suse.cz
+
+- fixed starting registration module (bnc#868211)
+- 3.1.5
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-online-update.spec ++++++
--- /var/tmp/diff_new_pack.W5NjLg/_old  2014-06-02 07:00:24.000000000 +0200
+++ /var/tmp/diff_new_pack.W5NjLg/_new  2014-06-02 07:00:24.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-online-update
-Version:        3.1.4
+Version:        3.1.5
 Release:        0
 Url:            https://github.com/yast/yast-online-update
 

++++++ yast2-online-update-3.1.4.tar.bz2 -> yast2-online-update-3.1.5.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-3.1.4/package/yast2-online-update.changes 
new/yast2-online-update-3.1.5/package/yast2-online-update.changes
--- old/yast2-online-update-3.1.4/package/yast2-online-update.changes   
2014-03-25 11:48:02.000000000 +0100
+++ new/yast2-online-update-3.1.5/package/yast2-online-update.changes   
2014-05-28 11:22:42.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed May 28 08:16:10 UTC 2014 - lsle...@suse.cz
+
+- fixed starting registration module (bnc#868211)
+- 3.1.5
+
+-------------------------------------------------------------------
 Tue Mar 25 11:33:10 CET 2014 - jsuch...@suse.cz
 
 - fixed a typo (bnc#870049)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-3.1.4/package/yast2-online-update.spec 
new/yast2-online-update-3.1.5/package/yast2-online-update.spec
--- old/yast2-online-update-3.1.4/package/yast2-online-update.spec      
2014-03-25 11:48:02.000000000 +0100
+++ new/yast2-online-update-3.1.5/package/yast2-online-update.spec      
2014-05-28 11:22:42.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-online-update
-Version:        3.1.4
+Version:        3.1.5
 Release:        0
 Url:            https://github.com/yast/yast-online-update
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-online-update-3.1.4/src/clients/online_update.rb 
new/yast2-online-update-3.1.5/src/clients/online_update.rb
--- old/yast2-online-update-3.1.4/src/clients/online_update.rb  2014-03-25 
11:48:02.000000000 +0100
+++ new/yast2-online-update-3.1.5/src/clients/online_update.rb  2014-05-28 
11:22:42.000000000 +0200
@@ -198,21 +198,28 @@
           end
         end
 
-        # yes/no message
-        if !is_available &&
-            Popup.YesNo(
+        if !is_available
+          # inst_scc is able to register the system and add update repos for 
SLE,
+          # for openSUSE, let's use repository manager
+          client = (Product.short_name == "openSUSE") ? "repositories" : 
"inst_scc"
+
+          if WFM.ClientExists(client)
+            if Popup.YesNo(
+              # yes/no question
               _(
                 "No update repository\nconfigured yet. Run configuration 
workflow now?"
               )
             )
-          # inst_suse_register is able to configure update repo for SLE,
-          # for openSUSE, let's use repository manager
-          client = "inst_suse_register"
-          client = "repositories" if Product.short_name == "openSUSE"
-          res = WFM.CallFunction(client, [])
-          if res != :next && res != :finish
-            Wizard.CloseDialog
-            return :abort
+
+              res = WFM.CallFunction(client, [])
+              if res != :next && res != :finish
+                Wizard.CloseDialog
+                return :abort
+              end
+            end
+          else
+            # error message
+            Report.Error(_("No update repository configured yet."))
           end
         end
       end

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to