Mailinglist Archive: yast-commit (1271 mails)

< Previous Next >
[yast-commit] [ci_new_pac] JFYI yast2-registration -> sle12
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@xxxxxxx
+
+- 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@xxxxxxxxxxxx) (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-registration", Maintainer is "yast-commit@xxxxxxxxxxxx"


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@xxxxxxx
+
+- ask for installing updates _after_ successfuly registering the
+ system (bnc#895000)
+- 3.1.119
+
+-------------------------------------------------------------------
Thu Sep 4 14:13:20 UTC 2014 - lslezak@xxxxxxx

- 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<Boolean, SUSE::Connect::Remote::Service>] array with two
+ # items: boolean (true on success), remote service (or nil)
# TODO FIXME: split to two separate parts
- def register_system_and_base_product(email, reg_code,
- register_base_product: true, disable_updates: false)
-
+ def register_system_and_base_product(email, reg_code,
register_base_product: true)
+ product_service = nil
success = ConnectHelpers.catch_registration_errors do
base_product = SwMgmt.find_base_product

@@ -75,14 +75,11 @@
base_product_data["reg_code"] = reg_code
registration.register_product(base_product_data, email)
end
-
- # select repositories to use in installation or update (e.g.
enable/disable Updates)
- disable_update_repos(product_service) if disable_updates
end
end

log.info "Registration suceeded: #{success}"
- success
+ [success, product_service]
end



continue with "q"...


Checked in at Mon Sep 8 14:12:28 CEST 2014 by ro

Remember to have fun...

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread