[yast-commit] [ci_new_pac] JFYI yast2-packager -> sle12
![](https://seccdn.libravatar.org/avatar/af626ca29b1318211e3f416634b5db76.jpg?s=120&d=mm&r=g)
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-packager -> sle12 ## BNC# 886621 : "[Test Case 1394899] Unable to upgrade SLE 11 HA to SLE 12 HA - Yast Reports Product for Removal" (RESOLVED/FIXED) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-packager/yast2-packager.changes 2014-07-10 22:51:13.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2-packager/yast2-packager.changes 2014-07-11 14:39:08.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jul 11 12:29:40 UTC 2014 - lslezak@suse.cz + +- fixed finding product upgrades (bnc#886621) +- 3.1.30 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-packager - at least 26 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-packager (Old) and /mounts/work_src_done/SLE12/yast2-packager (BS:build ID:41106 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-packager", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-packager-3.1.29.tar.bz2 New: ---- yast2-packager-3.1.30.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.mVur1X/_old 2014-07-11 14:52:41.000000000 +0200 +++ /var/tmp/diff_new_pack.mVur1X/_new 2014-07-11 14:52:41.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.29 +Version: 3.1.30 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-packager-3.1.29.tar.bz2 -> yast2-packager-3.1.30.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.29/package/yast2-packager.changes new/yast2-packager-3.1.30/package/yast2-packager.changes --- old/yast2-packager-3.1.29/package/yast2-packager.changes 2014-07-10 19:30:29.000000000 +0200 +++ new/yast2-packager-3.1.30/package/yast2-packager.changes 2014-07-11 14:35:28.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jul 11 12:29:40 UTC 2014 - lslezak@suse.cz + +- fixed finding product upgrades (bnc#886621) +- 3.1.30 + +------------------------------------------------------------------- Thu Jul 10 15:22:01 UTC 2014 - lslezak@suse.cz - select "fips" pattern if installation is booted with "fips=1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.29/package/yast2-packager.spec new/yast2-packager-3.1.30/package/yast2-packager.spec --- old/yast2-packager-3.1.29/package/yast2-packager.spec 2014-07-10 19:30:29.000000000 +0200 +++ new/yast2-packager-3.1.30/package/yast2-packager.spec 2014-07-11 14:35:28.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.29 +Version: 3.1.30 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.29/src/modules/Packages.rb new/yast2-packager-3.1.30/src/modules/Packages.rb --- old/yast2-packager-3.1.29/src/modules/Packages.rb 2014-07-10 19:30:29.000000000 +0200 +++ new/yast2-packager-3.1.30/src/modules/Packages.rb 2014-07-11 14:35:28.000000000 +0200 @@ -2660,7 +2660,7 @@ removed_name = removed_product["name"] # check the current product names or product renames - removed_name == installed_name + removed_name == installed_name || AddOnProduct.renamed?(removed_name, installed_name) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.29/test/data/zypp/products_update2.yml new/yast2-packager-3.1.30/test/data/zypp/products_update2.yml --- old/yast2-packager-3.1.29/test/data/zypp/products_update2.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-packager-3.1.30/test/data/zypp/products_update2.yml 2014-07-11 14:35:28.000000000 +0200 @@ -0,0 +1,235 @@ +--- +- arch: x86_64 + category: addon + description: |- + SUSE Linux Enterprise offers a comprehensive + suite of products built on a single code base. + The platform addresses business needs from + the smallest thin-client devices to the world's + most powerful high-performance computing + and mainframe servers. SUSE Linux Enterprise + offers common management tools and technology + certifications across the platform, and + each product is enterprise-class. + display_name: SUSE Linux Enterprise Server 12 (RC1) + download_size: 0 + eol: 1420070400 + flags: [] + flavor: DVD + inst_size: 0 + license: "SUSE(R) End User License Agreement" + license_confirmed: false + locked: false + medium_nr: 0 + name: SLES + product_file: SLES.prod + product_package: sles-release + register_release: '' + register_target: sle-12-x86_64 + relnotes_url: https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/release-notes-sles.rpm + relnotes_urls: + - https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/release-notes-sles.rpm + short_name: SLES12 + source: 0 + status: :selected + summary: SUSE Linux Enterprise Server 12 (RC1) + transact_by: :app_high + type: addon + update_urls: [] + vendor: SUSE LLC https://www.suse.com/ + version: 12-0 +- arch: x86_64 + category: addon + description: |- + SUSE Linux Enterprise offers a comprehensive + suite of products built on a single code base. + The platform addresses business needs from + the smallest thin-client devices to the world's + most powerful high-performance computing + and mainframe servers. SUSE Linux Enterprise + offers common management tools and technology + certifications across the platform, and + each product is enterprise-class. + display_name: SUSE Linux Enterprise Server 12 (Beta9) + download_size: 0 + eol: 1420070400 + flags: [] + flavor: DVD + inst_size: 0 + locked: false + medium_nr: 0 + name: SLES + product_file: SLES.prod + product_package: sles-release + register_release: '' + register_target: sle-12-x86_64 + relnotes_url: https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/release-notes-sles.rpm + relnotes_urls: + - https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/release-notes-sles.rpm + short_name: SLES12 + source: 3 + status: :available + summary: SUSE Linux Enterprise Server 12 (Beta9) + transact_by: :solver + type: addon + update_urls: [] + vendor: SUSE LLC https://www.suse.com/ + version: 12-0 +- arch: x86_64 + category: addon + description: SUSE Linux Enterprise High Availability Extension. + display_name: SUSE Linux Enterprise High Availability Extension 11 SP3 + download_size: 0 + flags: [] + flavor: '' + inst_size: 0 + locked: false + medium_nr: 0 + name: sle-hae + product_file: "/mnt/etc/products.d/sle-hae.prod" + register_release: '' + register_target: sle-11-x86_64 + relnotes_url: https://www.suse.com/releasenotes/x86_64/SLE-HA/11-SP3/release-notes-hae.rpm + relnotes_urls: + - https://www.suse.com/releasenotes/x86_64/SLE-HA/11-SP3/release-notes-hae.rpm + short_name: sle-hae + source: -1 + status: :removed + summary: SUSE Linux Enterprise High Availability Extension 11 SP3 + transact_by: :solver + type: addon + update_urls: [] + upgrades: [] + vendor: SUSE LINUX Products GmbH, Nuernberg, Germany + version: 11.3-1.69 +- arch: x86_64 + category: addon + description: SUSE Linux Enterprise High Availability Extension. + display_name: SUSE Linux Enterprise High Availability Extension 12 (RC1) + download_size: 0 + eol: 1420070400 + flags: [] + flavor: cd + inst_size: 0 + license: "SUSE(R) End User License Agreement" + license_confirmed: false + locked: false + medium_nr: 0 + name: sle-hae + product_file: sle-hae.prod + product_package: sle-hae-release + register_release: '' + register_target: sle-12-x86_64 + relnotes_url: https://www.suse.com/releasenotes/x86_64/SLE-HA/12/release-notes-hae.rpm + relnotes_urls: + - https://www.suse.com/releasenotes/x86_64/SLE-HA/12/release-notes-hae.rpm + short_name: SLEHA-12 + source: 7 + status: :selected + summary: SUSE Linux Enterprise High Availability Extension 12 (RC1) + transact_by: :app_high + type: addon + update_urls: [] + vendor: SUSE LLC https://www.suse.com/ + version: 12-0 +- arch: x86_64 + category: addon + description: This is the SUSE Linux Enterprise Software Development Kit + display_name: SUSE Linux Enterprise Software Development Kit 11 SP3 + download_size: 0 + flags: [] + flavor: '' + inst_size: 0 + locked: false + medium_nr: 0 + name: sle-sdk + product_file: "/mnt/etc/products.d/sle-sdk.prod" + register_release: '' + register_target: sle-11-x86_64 + relnotes_url: '' + short_name: sle-sdk + source: -1 + status: :removed + summary: SUSE Linux Enterprise Software Development Kit 11 SP3 + transact_by: :solver + type: addon + update_urls: [] + upgrades: [] + vendor: SUSE LINUX Products GmbH, Nuernberg, Germany + version: 11.3-1.69 +- arch: x86_64 + category: addon + description: "<p>\n\tSUSE Linux Enterprise Software Development Kit 12 is the Software\n\tDevelopment + Kit for the family of SUSE Linux Enterprise products. It is a\n\tfree of charge + extension for partners and customers working with SUSE\n\tLinux Enterprise Server + and Desktop and derived products.\n\t</p>\n\t<p>\n\tPackages on the SDK are delivered + without L3 support; maintenance updates\n\twill be done for critical security + and critical non-security issues, and\n\twhere needed to remain in sync with packages + delivered in the SUSE Linux\n\tEnterprise Server and Desktop products.\n\t</p>\n\t<p>\n\tPackages + to rebuild SUSE Linux Enterprise Server are not part of the SUSE\n\tLinux Enterprise + Software Development Kit.\n\t</p>" + display_name: SUSE Linux Enterprise Software Development Kit 12 + download_size: 0 + eol: 1420070400 + flags: [] + flavor: DVD + inst_size: 0 + locked: false + medium_nr: 0 + name: sle-sdk + product_file: sle-sdk.prod + product_package: sle-sdk-release + register_release: '' + register_target: sle-12-x86_64 + relnotes_url: https://www.suse.com/releasenotes/x86_64/SLE-SDK/12/release-notes-sdk.rpm + relnotes_urls: + - https://www.suse.com/releasenotes/x86_64/SLE-SDK/12/release-notes-sdk.rpm + short_name: SDK12 + source: 5 + status: :selected + summary: SUSE Linux Enterprise Software Development Kit 12 + transact_by: :app_high + type: addon + update_urls: [] + vendor: SUSE LLC https://www.suse.com/ + version: 12-0 +- arch: x86_64 + category: base + description: |- + SUSE Linux Enterprise offers a comprehensive + suite of products built on a single code base. + The platform addresses business needs from + the smallest thin-client devices to the world’s + most powerful high-performance computing + and mainframe servers. SUSE Linux Enterprise + offers common management tools and technology + certifications across the platform, and + each product is enterprise-class. + display_name: SUSE Linux Enterprise Server 11 SP3 + download_size: 0 + flags: [] + flavor: '' + inst_size: 0 + locked: false + medium_nr: 0 + name: SUSE_SLES + product_file: "/mnt/etc/products.d/SUSE_SLES.prod" + register_release: '' + register_target: sle-11-x86_64 + register_urls: + - http://register.novell.com/ + relnotes_url: https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP3/release-notes-sles... + relnotes_urls: + - https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP3/release-notes-sles... + short_name: SLES11_SP3 + smolt_urls: + - http://smolt.novell.com/register.pl + source: -1 + status: :removed + summary: SUSE Linux Enterprise Server 11 SP3 + transact_by: :solver + type: base + update_urls: [] + upgrades: [] + vendor: SUSE LINUX Products GmbH, Nuernberg, Germany + version: 11.3-1.138 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.29/test/packages_test.rb new/yast2-packager-3.1.30/test/packages_test.rb --- old/yast2-packager-3.1.29/test/packages_test.rb 2014-07-10 19:30:29.000000000 +0200 +++ new/yast2-packager-3.1.30/test/packages_test.rb 2014-07-11 14:35:28.000000000 +0200 @@ -258,6 +258,7 @@ describe "#group_products_by_status" do let(:products) { load_zypp("products_update.yml") } + let(:products2) { load_zypp("products_update2.yml") } it "returns groups of the products" do status = Yast::Packages.group_products_by_status(products) @@ -290,6 +291,15 @@ expect(old_product["name"]).to eq("sle-haegeo") expect(new_product["name"]).to eq("sle-ha-geo") end + + it "handles mixed renamed and unchanged products" do + status = Yast::Packages.group_products_by_status(products2) + + expect(status[:new]).to eq([]) + expect(status[:removed]).to eq([]) + expect(status[:kept]).to eq([]) + expect(status[:updated]).to have(3).items + end end describe "#product_update_summary" do continue with "q"... Checked in at Fri Jul 11 14:55:32 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