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# 883206 : "Predecessor information for products, extensions, and modules." (RESOLVED/FIXED)
## BNC# 883047 : "[UPGRADE] incompatible addons are silently dropped" (RESOLVED/FIXED)
Changes:
--------
--- /work/SRC/SUSE:SLE-12:GA/yast2-packager/yast2-packager.changes 2014-06-25 17:44:40.000000000 +0200
+++ /mounts/work_src_done/SLE12/yast2-packager/yast2-packager.changes 2014-07-04 14:48:46.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Jul 4 12:09:55 UTC 2014 - lslezak@suse.cz
+
+- make product renames updatable from SCC (related to bnc#883206)
+- 3.1.27
+
+-------------------------------------------------------------------
+Fri Jun 27 12:00:38 UTC 2014 - lslezak@suse.cz
+
+- updated known product renames (bnc#883047)
+- 3.1.26
+
+-------------------------------------------------------------------
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:40736 MAIL:yast-commit@opensuse.org) (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-packager", Maintainer is "yast-commit@opensuse.org"
Old:
----
yast2-packager-3.1.25.tar.bz2
New:
----
yast2-packager-3.1.26.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.6uudCI/_old 2014-07-04 15:55:33.000000000 +0200
+++ /var/tmp/diff_new_pack.6uudCI/_new 2014-07-04 15:55:33.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-packager
-Version: 3.1.25
+Version: 3.1.26
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-packager-3.1.25.tar.bz2 -> yast2-packager-3.1.26.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.25/package/yast2-packager.changes new/yast2-packager-3.1.26/package/yast2-packager.changes
--- old/yast2-packager-3.1.25/package/yast2-packager.changes 2014-06-25 15:36:01.000000000 +0200
+++ new/yast2-packager-3.1.26/package/yast2-packager.changes 2014-07-04 14:45:40.000000000 +0200
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Fri Jul 4 12:09:55 UTC 2014 - lslezak@suse.cz
+
+- make product renames updatable from SCC (related to bnc#883206)
+- 3.1.27
+
+-------------------------------------------------------------------
+Fri Jun 27 12:00:38 UTC 2014 - lslezak@suse.cz
+
+- updated known product renames (bnc#883047)
+- 3.1.26
+
+-------------------------------------------------------------------
Wed Jun 25 13:18:20 UTC 2014 - lslezak@suse.cz
- colorize the product removal warning using HTML.Colorize method
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.25/package/yast2-packager.spec new/yast2-packager-3.1.26/package/yast2-packager.spec
--- old/yast2-packager-3.1.25/package/yast2-packager.spec 2014-06-25 15:36:01.000000000 +0200
+++ new/yast2-packager-3.1.26/package/yast2-packager.spec 2014-07-04 14:45:40.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-packager
-Version: 3.1.25
+Version: 3.1.26
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.25/src/modules/AddOnProduct.rb new/yast2-packager-3.1.26/src/modules/AddOnProduct.rb
--- old/yast2-packager-3.1.25/src/modules/AddOnProduct.rb 2014-06-25 15:36:01.000000000 +0200
+++ new/yast2-packager-3.1.26/src/modules/AddOnProduct.rb 2014-07-04 14:45:40.000000000 +0200
@@ -16,6 +16,8 @@
module Yast
class AddOnProductClass < Module
+ include Yast::Logger
+
def main
Yast.import "UI"
Yast.import "Pkg"
@@ -125,6 +127,18 @@
# ]
# ]
@patterns_preselected_by_addon = {}
+
+ # product renames needed for detecting the product update
+ # this mapping can be updated by SCC registration server,
+ # this is the static default for offline updates
+ # mapping: => [ ]
+ @product_renames = {
+ "SUSE_SLES" => [ "SLES" ],
+ # SLED or Workstation extension
+ "SUSE_SLED" => [ "SLED", "sle-we" ],
+ "sle-haegeo" => [ "sle-ha-geo" ]
+ }
+
end
# Downloads a requested file, caches it and returns path to that cached file.
@@ -872,7 +886,9 @@
# or check the content file
if WorkflowManager.WorkflowRequiresRegistration(src_id) || Builtins.contains(@addons_requesting_registration, src_id)
Builtins.y2milestone("Repository ID %1 requests registration", src_id)
- WFM.CallFunction("inst_suse_register", [])
+ # TODO FIXME: user needs to manually select the addon to register,
+ # pass the addon so it could be pre-selected
+ WFM.CallFunction("inst_scc", [])
else
Builtins.y2milestone(
"Repository ID %1 doesn't need registration",
@@ -2161,6 +2177,19 @@
nil
end
+ def renamed?(old_name, new_name)
+ @product_renames[old_name] && @product_renames[old_name].include?(new_name)
+ end
+
+ def add_rename(old_name, new_name)
+ # already known
+ return if renamed?(old_name, new_name)
+
+ log.info "Adding product rename: '#{old_name}' => '#{new_name}'"
+ @product_renames[old_name] = [] unless @product_renames[old_name]
+ @product_renames[old_name] << new_name
+ end
+
publish :variable => :add_on_products, :type => "list