Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-add-on for openSUSE:Factory 
checked in at 2021-12-03 20:35:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-add-on (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-add-on.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-add-on"

Fri Dec  3 20:35:29 2021 rev:117 rq:935293 version:4.4.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-add-on/yast2-add-on.changes        
2021-09-25 00:34:46.479090565 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-add-on.new.31177/yast2-add-on.changes     
2021-12-03 20:35:45.532144113 +0100
@@ -1,0 +2,13 @@
+Thu Dec  2 17:06:27 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Drop support for subscription-tools, that package is not present
+  in SLE15 anymore (bsc#1193339)
+- 4.4.5
+
+-------------------------------------------------------------------
+Fri Nov 26 13:14:28 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Properly set the custom repository name (bsc#1191491)
+- 4.4.4
+
+-------------------------------------------------------------------

Old:
----
  yast2-add-on-4.4.3.tar.bz2

New:
----
  yast2-add-on-4.4.5.tar.bz2

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

Other differences:
------------------
++++++ yast2-add-on.spec ++++++
--- /var/tmp/diff_new_pack.q9BWkI/_old  2021-12-03 20:35:48.888131851 +0100
+++ /var/tmp/diff_new_pack.q9BWkI/_new  2021-12-03 20:35:48.892131836 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-add-on
-Version:        4.4.3
+Version:        4.4.5
 Release:        0
 Summary:        YaST2 - Add-On media installation code
 License:        GPL-2.0-only

++++++ yast2-add-on-4.4.3.tar.bz2 -> yast2-add-on-4.4.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-add-on-4.4.3/.github/workflows/ci.yml 
new/yast2-add-on-4.4.5/.github/workflows/ci.yml
--- old/yast2-add-on-4.4.3/.github/workflows/ci.yml     2021-09-20 
15:16:53.000000000 +0200
+++ new/yast2-add-on-4.4.5/.github/workflows/ci.yml     2021-12-02 
22:40:59.000000000 +0100
@@ -8,7 +8,8 @@
 jobs:
   Tests:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+    container:
+      image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
 
     steps:
 
@@ -33,7 +34,8 @@
 
   Rubocop:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+    container:
+      image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
 
     steps:
 
@@ -45,7 +47,8 @@
 
   Package:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+    container:
+      image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
 
     steps:
 
@@ -57,7 +60,8 @@
 
   Yardoc:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+    container:
+      image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
 
     steps:
 
@@ -71,7 +75,8 @@
   # checks into one job avoids that overhead
   Checks:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+    container:
+      image: registry.opensuse.org/yast/head/containers/yast-ruby:latest
 
     steps:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-add-on-4.4.3/package/yast2-add-on.changes 
new/yast2-add-on-4.4.5/package/yast2-add-on.changes
--- old/yast2-add-on-4.4.3/package/yast2-add-on.changes 2021-09-20 
15:16:53.000000000 +0200
+++ new/yast2-add-on-4.4.5/package/yast2-add-on.changes 2021-12-02 
22:40:59.000000000 +0100
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Thu Dec  2 17:06:27 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Drop support for subscription-tools, that package is not present
+  in SLE15 anymore (bsc#1193339)
+- 4.4.5
+
+-------------------------------------------------------------------
+Fri Nov 26 13:14:28 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Properly set the custom repository name (bsc#1191491)
+- 4.4.4
+
+-------------------------------------------------------------------
 Wed Sep 15 13:56:13 UTC 2021 - Stefan Hundhammer <shundham...@suse.com>
 
 - When the user clicks on "Run Software Manager", check for the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-add-on-4.4.3/package/yast2-add-on.spec 
new/yast2-add-on-4.4.5/package/yast2-add-on.spec
--- old/yast2-add-on-4.4.3/package/yast2-add-on.spec    2021-09-20 
15:16:53.000000000 +0200
+++ new/yast2-add-on-4.4.5/package/yast2-add-on.spec    2021-12-02 
22:40:59.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-add-on
-Version:        4.4.3
+Version:        4.4.5
 Release:        0
 Summary:        YaST2 - Add-On media installation code
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-add-on-4.4.3/src/include/add-on/add-on-workflow.rb 
new/yast2-add-on-4.4.5/src/include/add-on/add-on-workflow.rb
--- old/yast2-add-on-4.4.3/src/include/add-on/add-on-workflow.rb        
2021-09-20 15:16:53.000000000 +0200
+++ new/yast2-add-on-4.4.5/src/include/add-on/add-on-workflow.rb        
2021-12-02 22:40:59.000000000 +0100
@@ -41,7 +41,6 @@
       Yast.import "SourceDialogs"
       Yast.import "SourceManager"
       Yast.import "PackageSystem"
-      Yast.import "ProductProfile"
       Yast.import "Stage"
       Yast.import "Wizard"
       Yast.import "Confirm"
@@ -706,32 +705,21 @@
       ret
     end
 
-    # Check new product compliance; may abort the installation
-    def CheckCompliance
-      compliant = @added_repos.all? { |src_id| 
ProductProfile.CheckCompliance(src_id) }
-      compliant ? :next : :abort
-    end
-
     def RunWizard
       aliases = {
-        "media"            => -> { MediaSelect() },
-        "install_product"  => -> { InstallProduct() },
-        "check_compliance" => -> { CheckCompliance() }
+        "media"           => -> { MediaSelect() },
+        "install_product" => -> { InstallProduct() }
       }
 
       sequence = {
-        "ws_start"         => "media",
-        "media"            => {
+        "ws_start"        => "media",
+        "media"           => {
           abort:  :abort,
-          next:   "check_compliance",
-          finish: "check_compliance",
+          next:   "install_product",
+          finish: "install_product",
           skip:   :skip
         },
-        "check_compliance" => {
-          abort: :abort,
-          next:  "install_product"
-        },
-        "install_product"  => {
+        "install_product" => {
           abort:  :abort,
           next:   :next,
           finish: :next
@@ -1824,8 +1812,24 @@
       end
 
       if !@added_repos.empty?
+        # rename the repository to the product name if user left the name 
field empty
+        if SourceDialogs.GetRepoName.empty?
+          # first set the fallback name for the added repository because the
+          # Packages.AdjustSourcePropertiesAccordingToProduct call
+          # changes only the repositories with the fallback name
+          sources = Pkg.SourceEditGet
+          sources.each do |src|
+            next unless @added_repos.include?(src["SrcId"])
+            next if Y2Packager::Resolvable.find(kind: :product, source: 
src["SrcId"]).empty?
+
+            log.info "Renaming repository #{src["raw_name"].inspect}"
+            src["raw_name"] = Packages.fallback_name
+          end
+          Pkg.SourceEditSet(sources)
+        end
+
         @added_repos.each do |src_id|
-          # BNC #481828: Using LABEL from content file as a repository name
+          # use product name as a repository name
           Packages.AdjustSourcePropertiesAccordingToProduct(src_id)
           # used add-ons are stored in a special list
           AddAddOnToStore(src_id)

Reply via email to