[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# 875839 : "Registration: Pool repositories are not enabled after registration" (RESOLVED/FIXED) ## BNC# 873936 : "PackageCallbacksInit module is obsoleted, use PackageCallbacks instead" (RESOLVED/FIXED) ## BNC# 875194 : "After registration, no product is selected" (ASSIGNED/) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-registration/yast2-registration.changes 2014-05-06 10:27:33.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2-registration/yast2-registration.changes 2014-05-07 13:57:19.000000000 +0200 @@ -1,0 +2,15 @@ +Wed May 7 11:38:30 UTC 2014 - lslezak@suse.cz + +- fixed setting the repository status (to properly enable e.g. the + *-Pool repositories) (bnc#875839) +- 3.1.48 + +------------------------------------------------------------------- +Tue May 6 12:38:51 UTC 2014 - lslezak@suse.cz + +- use PackageCallbacks instead of obsoleted PackageCallbacksInit + module (bnc#873936) +- fixed base product detection (bnc#875194) +- 3.1.47 + +------------------------------------------------------------------- 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:37560 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-registration", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-registration-3.1.46.tar.bz2 New: ---- yast2-registration-3.1.48.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-registration.spec ++++++ --- /var/tmp/diff_new_pack.NB5mBy/_old 2014-05-07 14:31:37.000000000 +0200 +++ /var/tmp/diff_new_pack.NB5mBy/_new 2014-05-07 14:31:37.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 3.1.46 +Version: 3.1.48 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-registration-3.1.46.tar.bz2 -> yast2-registration-3.1.48.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.46/package/yast2-registration.changes new/yast2-registration-3.1.48/package/yast2-registration.changes --- old/yast2-registration-3.1.46/package/yast2-registration.changes 2014-05-06 09:54:31.000000000 +0200 +++ new/yast2-registration-3.1.48/package/yast2-registration.changes 2014-05-07 13:55:34.000000000 +0200 @@ -1,4 +1,19 @@ ------------------------------------------------------------------- +Wed May 7 11:38:30 UTC 2014 - lslezak@suse.cz + +- fixed setting the repository status (to properly enable e.g. the + *-Pool repositories) (bnc#875839) +- 3.1.48 + +------------------------------------------------------------------- +Tue May 6 12:38:51 UTC 2014 - lslezak@suse.cz + +- use PackageCallbacks instead of obsoleted PackageCallbacksInit + module (bnc#873936) +- fixed base product detection (bnc#875194) +- 3.1.47 + +------------------------------------------------------------------- Tue May 6 07:07:56 UTC 2014 - lslezak@suse.cz - fixed a crash in addon registration diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.46/package/yast2-registration.spec new/yast2-registration-3.1.48/package/yast2-registration.spec --- old/yast2-registration-3.1.46/package/yast2-registration.spec 2014-05-06 09:54:31.000000000 +0200 +++ new/yast2-registration-3.1.48/package/yast2-registration.spec 2014-05-07 13:55:34.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 3.1.46 +Version: 3.1.48 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.46/src/lib/registration/sw_mgmt.rb new/yast2-registration-3.1.48/src/lib/registration/sw_mgmt.rb --- old/yast2-registration-3.1.46/src/lib/registration/sw_mgmt.rb 2014-05-06 09:54:31.000000000 +0200 +++ new/yast2-registration-3.1.48/src/lib/registration/sw_mgmt.rb 2014-05-07 13:55:34.000000000 +0200 @@ -34,7 +34,7 @@ Yast.import "Pkg" Yast.import "PackageLock" Yast.import "Installation" - Yast.import "PackageCallbacksInit" + Yast.import "PackageCallbacks" class SwMgmt include Yast @@ -51,7 +51,7 @@ return false unless lock["connected"] # display progress when refreshing repositories - PackageCallbacksInit.InitPackageCallbacks + PackageCallbacks.InitPackageCallbacks Pkg.TargetInitialize(Installation.destdir) Pkg.TargetLoad Pkg.SourceRestore @@ -87,7 +87,7 @@ else # however during installation it's not set yet # but the base product comes from the first repository - p["status"] == :selected && p["source"] == 0 + p["source"] == 0 end end @@ -188,8 +188,14 @@ end # activate the requested repository setup - repos_enable(product_services.map(&:enabled).flatten) - repos_disable_autorefresh(product_services.map(&:norefresh).flatten) + product_services.each do |product_service| + # there is always only one service + service_name = product_service.sources.first.name + log.info "Updating repositories for service: #{service_name}" + + repos_enable(service_aliases(service_name, product_service.enabled)) + repos_disable_autorefresh(service_aliases(service_name, product_service.norefresh)) + end ensure Pkg.SourceSaveAll end @@ -274,8 +280,14 @@ end end end + + # get libzypp repository aliases for a service + # (libzypp internally uses the service name as the prefix) + def self.service_aliases(service, aliases) + aliases.map{ |a| "#{service}:#{a}"} + end - private_class_method :each_repo + private_class_method :each_repo, :service_aliases end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.46/test/sw_mgmt_spec.rb new/yast2-registration-3.1.48/test/sw_mgmt_spec.rb --- old/yast2-registration-3.1.46/test/sw_mgmt_spec.rb 2014-05-05 16:01:46.000000000 +0200 +++ new/yast2-registration-3.1.48/test/sw_mgmt_spec.rb 2014-05-07 13:55:34.000000000 +0200 @@ -94,8 +94,8 @@ let(:service_url) { "https://example.com/foo/bar?credentials=TEST_credentials" } let(:credentials) { SUSE::Connect::Credentials.new("user", "password", "file") } let(:product_services) do - SUSE::Connect::Service.new({service_name => service_url}, ["SLES:SLES12-Pool"], - ["SLES:SLES12-Pool"]) + SUSE::Connect::Service.new({service_name => service_url}, ["SLES12-Pool"], + ["SLES12-Pool"]) end before do continue with "q"... Checked in at Wed May 7 14:32:12 CEST 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro