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# 876151 : "[UPGRADE] Credentials are written to ramdisk but zypper expects them below /mnt" (RESOLVED/FIXED) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-registration/yast2-registration.changes 2014-05-07 14:32:10.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2-registration/yast2-registration.changes 2014-05-07 15:27:53.000000000 +0200 @@ -1,0 +2,7 @@ +Wed May 7 13:17:23 UTC 2014 - lslezak@suse.cz + +- Save the repository credentials to /mnt during upgrade (libzypp + is already switched to the target system) (bnc#876151) +- 3.1.49 + +------------------------------------------------------------------- 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:37579 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-registration", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-registration-3.1.48.tar.bz2 New: ---- yast2-registration-3.1.49.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-registration.spec ++++++ --- /var/tmp/diff_new_pack.ZcTRCj/_old 2014-05-07 16:45:35.000000000 +0200 +++ /var/tmp/diff_new_pack.ZcTRCj/_new 2014-05-07 16:45:35.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 3.1.48 +Version: 3.1.49 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-registration-3.1.48.tar.bz2 -> yast2-registration-3.1.49.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.48/package/yast2-registration.changes new/yast2-registration-3.1.49/package/yast2-registration.changes --- old/yast2-registration-3.1.48/package/yast2-registration.changes 2014-05-07 13:55:34.000000000 +0200 +++ new/yast2-registration-3.1.49/package/yast2-registration.changes 2014-05-07 15:25:41.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed May 7 13:17:23 UTC 2014 - lslezak@suse.cz + +- Save the repository credentials to /mnt during upgrade (libzypp + is already switched to the target system) (bnc#876151) +- 3.1.49 + +------------------------------------------------------------------- Wed May 7 11:38:30 UTC 2014 - lslezak@suse.cz - fixed setting the repository status (to properly enable e.g. the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.48/package/yast2-registration.spec new/yast2-registration-3.1.49/package/yast2-registration.spec --- old/yast2-registration-3.1.48/package/yast2-registration.spec 2014-05-07 13:55:34.000000000 +0200 +++ new/yast2-registration-3.1.49/package/yast2-registration.spec 2014-05-07 15:25:41.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 3.1.48 +Version: 3.1.49 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.48/src/lib/registration/sw_mgmt.rb new/yast2-registration-3.1.49/src/lib/registration/sw_mgmt.rb --- old/yast2-registration-3.1.48/src/lib/registration/sw_mgmt.rb 2014-05-07 13:55:34.000000000 +0200 +++ new/yast2-registration-3.1.49/src/lib/registration/sw_mgmt.rb 2014-05-07 15:25:41.000000000 +0200 @@ -146,6 +146,14 @@ credentials_file = Helpers.credentials_from_url(source.url) if credentials_file + if Mode.update + # at update libzypp is already switched to /mnt target, + # update the path accordingly + credentials_file = File.join(Installation.destdir, + ::SUSE::Connect::Credentials::DEFAULT_CREDENTIALS_DIR, + credentials_file) + log.info "Using #{credentials_file} credentials path in update mode" + end # TODO FIXME: SCC currenly does not return credentials for the service, # just reuse the global credentials and save to a different file service_credentials = credentials.dup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-3.1.48/test/sw_mgmt_spec.rb new/yast2-registration-3.1.49/test/sw_mgmt_spec.rb --- old/yast2-registration-3.1.48/test/sw_mgmt_spec.rb 2014-05-07 13:55:34.000000000 +0200 +++ new/yast2-registration-3.1.49/test/sw_mgmt_spec.rb 2014-05-07 15:25:42.000000000 +0200 @@ -97,6 +97,7 @@ SUSE::Connect::Service.new({service_name => service_url}, ["SLES12-Pool"], ["SLES12-Pool"]) end + let(:yast_mode) { double("Yast::Mode") } before do expect(yast_pkg).to receive(:SourceSaveAll).and_return(true).twice @@ -112,6 +113,9 @@ repos.each do |id, repo| allow(yast_pkg).to receive(:SourceGeneralData).with(id).and_return(repo) end + + stub_const("Yast::Mode", yast_mode) + expect(yast_mode).to receive(:update).and_return(false) end it "it creates a new service if the service does not exist yet" do continue with "q"... Checked in at Wed May 7 16:46:09 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