Script 'mail_helper' called by ro
Hello packager,
This is just FYI. Your package was checked in in distribution "sle12"
by autobuild-member: ro.
Here comes the log...
---------------------------%<------------------------------
Hi,
here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-registration -> sle12
## BNC# 895000 : "Empty e-mail/regcode but registration asks me whether to use Online Updates during installation" (RESOLVED/FIXED)
Changes:
--------
--- /work/SRC/SUSE:SLE-12:GA/yast2-registration/yast2-registration.changes 2014-09-05 16:04:00.000000000 +0200
+++ /mounts/work_src_done/SLE12/yast2-registration/yast2-registration.changes 2014-09-08 12:43:23.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Sep 8 08:36:48 UTC 2014 - lslezak@suse.cz
+
+- ask for installing updates _after_ successfuly registering the
+ system (bnc#895000)
+- 3.1.119
+
+-------------------------------------------------------------------
calling whatdependson for sle12-i586
Packages directly triggered for rebuild:
- yast2-registration
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/SUSE:SLE-12:GA/yast2-registration (Old)
and /mounts/work_src_done/SLE12/yast2-registration (BS:build ID:43802 MAIL:yast-commit@opensuse.org) (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-registration", Maintainer is "yast-commit@opensuse.org"
Old:
----
yast2-registration-3.1.118.tar.bz2
New:
----
yast2-registration-3.1.119.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-registration.spec ++++++
--- /var/tmp/diff_new_pack.OESspk/_old 2014-09-08 14:12:23.000000000 +0200
+++ /var/tmp/diff_new_pack.OESspk/_new 2014-09-08 14:12:23.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-registration
-Version: 3.1.118
+Version: 3.1.119
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-registration-3.1.118.tar.bz2 -> yast2-registration-3.1.119.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.118/package/yast2-registration.changes new/yast2-registration-3.1.119/package/yast2-registration.changes
--- old/yast2-registration-3.1.118/package/yast2-registration.changes 2014-09-05 13:28:19.000000000 +0200
+++ new/yast2-registration-3.1.119/package/yast2-registration.changes 2014-09-08 12:38:58.000000000 +0200
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Sep 8 08:36:48 UTC 2014 - lslezak@suse.cz
+
+- ask for installing updates _after_ successfuly registering the
+ system (bnc#895000)
+- 3.1.119
+
+-------------------------------------------------------------------
Thu Sep 4 14:13:20 UTC 2014 - lslezak@suse.cz
- sort displayed addons to have requested order (bnc#888567)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.118/package/yast2-registration.spec new/yast2-registration-3.1.119/package/yast2-registration.spec
--- old/yast2-registration-3.1.118/package/yast2-registration.spec 2014-09-05 13:28:19.000000000 +0200
+++ new/yast2-registration-3.1.119/package/yast2-registration.spec 2014-09-08 12:38:58.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-registration
-Version: 3.1.118
+Version: 3.1.119
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.118/src/clients/inst_scc.rb new/yast2-registration-3.1.119/src/clients/inst_scc.rb
--- old/yast2-registration-3.1.118/src/clients/inst_scc.rb 2014-09-05 13:28:19.000000000 +0200
+++ new/yast2-registration-3.1.119/src/clients/inst_scc.rb 2014-09-08 12:38:58.000000000 +0200
@@ -139,10 +139,11 @@
next if init_registration == :cancel
- success = registration_ui.register_system_and_base_product(email, reg_code,
- register_base_product: !options.base_registered, disable_updates: !install_updates?)
+ success, product_service = registration_ui.register_system_and_base_product(email, reg_code,
+ register_base_product: !options.base_registered)
if success
+ registration_ui.disable_update_repos(product_service) if product_service && !install_updates?
ret = :next
options.base_registered = true
# save the config if running in installed system
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.118/src/clients/scc_auto.rb new/yast2-registration-3.1.119/src/clients/scc_auto.rb
--- old/yast2-registration-3.1.118/src/clients/scc_auto.rb 2014-09-05 13:28:19.000000000 +0200
+++ new/yast2-registration-3.1.119/src/clients/scc_auto.rb 2014-09-08 12:38:58.000000000 +0200
@@ -273,8 +273,13 @@
# TODO FIXME: share these methods with inst_scc.rb
def register_base_product
- registration_ui.register_system_and_base_product(@config.email, @config.reg_code,
- disable_updates: !@config.install_updates)
+ success, product_service = registration_ui.register_system_and_base_product(@config.email, @config.reg_code)
+ return false unless success
+
+ # keep updates enabled?
+ return true if @config.install_updates || !product_service
+
+ registration_ui.disable_update_repos(product_service)
end
def register_addons
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.118/src/lib/registration/registration_ui.rb new/yast2-registration-3.1.119/src/lib/registration/registration_ui.rb
--- old/yast2-registration-3.1.118/src/lib/registration/registration_ui.rb 2014-09-05 13:28:19.000000000 +0200
+++ new/yast2-registration-3.1.119/src/lib/registration/registration_ui.rb 2014-09-08 12:38:58.000000000 +0200
@@ -46,11 +46,11 @@
end
# register the system and the base product
- # @return [Boolean] true on success
+ # @return [Array