Mailinglist Archive: yast-commit (1271 mails)

< Previous Next >
[yast-commit] [ci_new_pac] JFYI yast2-registration -> sle12
Script 'mail_helper' called by kukuk
Hello packager,

This is just FYI. Your package was checked in in distribution "sle12"
by autobuild-member: kukuk.

Here comes the log...

---------------------------%<------------------------------
Hi,

here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-registration
-> sle12



## BNC# 897040 : "Registration fails during AutoYaST upgrade of system
registered against SMT" (RESOLVED/FIXED)

Changes:
--------
--- /work/SRC/SUSE:SLE-12:GA/yast2-registration/yast2-registration.changes
2014-09-25 14:47:04.000000000 +0200
+++ /mounts/work_src_done/SLE12/yast2-registration/yast2-registration.changes
2014-09-29 11:21:01.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Sep 29 08:42:17 UTC 2014 - lslezak@xxxxxxx
+
+- fixed AutoYast autoupgrade - use the SMT server from the AutoYast
+ profile instead of the public SCC server (bnc#897040)
+- 3.1.125
+
+-------------------------------------------------------------------

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:44763
MAIL:yast-commit@xxxxxxxxxxxx) (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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


Old:
----
yast2-registration-3.1.124.tar.bz2

New:
----
yast2-registration-3.1.125.tar.bz2

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

Other differences:
------------------
++++++ yast2-registration.spec ++++++
--- /var/tmp/diff_new_pack.4wLcnd/_old 2014-09-29 11:32:10.000000000 +0200
+++ /var/tmp/diff_new_pack.4wLcnd/_new 2014-09-29 11:32:10.000000000 +0200
@@ -17,7 +17,7 @@


Name: yast2-registration
-Version: 3.1.124
+Version: 3.1.125
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build

++++++ yast2-registration-3.1.124.tar.bz2 -> yast2-registration-3.1.125.tar.bz2
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-registration-3.1.124/package/yast2-registration.changes
new/yast2-registration-3.1.125/package/yast2-registration.changes
--- old/yast2-registration-3.1.124/package/yast2-registration.changes
2014-09-24 21:08:29.000000000 +0200
+++ new/yast2-registration-3.1.125/package/yast2-registration.changes
2014-09-29 11:13:01.000000000 +0200
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Sep 29 08:42:17 UTC 2014 - lslezak@xxxxxxx
+
+- fixed AutoYast autoupgrade - use the SMT server from the AutoYast
+ profile instead of the public SCC server (bnc#897040)
+- 3.1.125
+
+-------------------------------------------------------------------
Wed Sep 24 19:00:11 UTC 2014 - lslezak@xxxxxxx

- export registration settings also when no extension or module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-registration-3.1.124/package/yast2-registration.spec
new/yast2-registration-3.1.125/package/yast2-registration.spec
--- old/yast2-registration-3.1.124/package/yast2-registration.spec
2014-09-24 21:08:29.000000000 +0200
+++ new/yast2-registration-3.1.125/package/yast2-registration.spec
2014-09-29 11:13:01.000000000 +0200
@@ -17,7 +17,7 @@


Name: yast2-registration
-Version: 3.1.124
+Version: 3.1.125
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-registration-3.1.124/src/clients/scc_auto.rb
new/yast2-registration-3.1.125/src/clients/scc_auto.rb
--- old/yast2-registration-3.1.124/src/clients/scc_auto.rb 2014-09-24
21:08:29.000000000 +0200
+++ new/yast2-registration-3.1.125/src/clients/scc_auto.rb 2014-09-29
11:13:01.000000000 +0200
@@ -137,15 +137,6 @@
# register the system, base product and optional addons
# return true on success
def write
- # try updating the registratin in AutoUpgrade mode
- if Mode.update
- updated = update_registration
- log.info "Registration updated: #{updated}"
-
- # if update failed continue with the normal registration
- return true if updated
- end
-
# registration disabled, nothing to do
return true unless @config.do_registration

@@ -162,9 +153,19 @@
return false unless url
end

+ url ||= ::Registration::UrlHelpers.registration_url
+ log.info "Registration URL: #{url}"
+
# nil = use the default URL
switch_registration(url)

+ # try updating the registration in AutoUpgrade mode
+ if Mode.update
+ updated = update_registration
+ log.info "Registration updated: #{updated}"
+ return updated
+ end
+
ret = ::Registration::ConnectHelpers.catch_registration_errors do
if @config.reg_server_cert && !@config.reg_server_cert.empty?
import_certificate(@config.reg_server_cert)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-registration-3.1.124/src/lib/registration/sw_mgmt.rb
new/yast2-registration-3.1.125/src/lib/registration/sw_mgmt.rb
--- old/yast2-registration-3.1.124/src/lib/registration/sw_mgmt.rb
2014-09-24 21:08:29.000000000 +0200
+++ new/yast2-registration-3.1.125/src/lib/registration/sw_mgmt.rb
2014-09-29 11:13:02.000000000 +0200
@@ -349,6 +349,7 @@
end

# select products for new added extensions/modules
+ # @return [Boolean] true on success
def self.select_addon_products
addon_services = ::Registration::Storage::Cache.instance.addon_services
log.info "New addon services: #{addon_services}"
@@ -357,7 +358,7 @@
acc.concat(::Registration::SwMgmt.service_repos(service))
end

- return if new_repos.empty?
+ return true if new_repos.empty?

products = Pkg.ResolvableProperties("", :product, "")
products.select! do |product|
@@ -368,12 +369,9 @@

log.info "Products to install: #{products}"

- products.each do |product|
- Pkg.ResolvableInstall(product, :product)
- end
+ products.all?{|product| Pkg.ResolvableInstall(product, :product)}
end

-
private_class_method :each_repo
end
end

continue with "q"...


Checked in at Mon Sep 29 11:32:36 CEST 2014 by kukuk

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