Hello community,

here is the log from the commit of package SUSEConnect for openSUSE:Factory 
checked in at 2020-09-03 01:12:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SUSEConnect (Old)
 and      /work/SRC/openSUSE:Factory/.SUSEConnect.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SUSEConnect"

Thu Sep  3 01:12:43 2020 rev:22 rq:830241 version:0.3.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/SUSEConnect/SUSEConnect.changes  2019-10-25 
18:38:54.919714937 +0200
+++ /work/SRC/openSUSE:Factory/.SUSEConnect.new.3399/SUSEConnect.changes        
2020-09-03 01:13:05.560447134 +0200
@@ -1,0 +2,25 @@
+
+Wed Aug 26 14:37:17 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Update to 0.3.26
+  - Extend the YaST API in order to access to the package search
+    functionality (jsc#SLE-9109)
+
+------------------------------------------------------------------
+Tue Jun 30 13:39:05 UTC 2020 - Thomas Schmidt <tschm...@suse.com>
+
+- Don't fail de-activation when '-release' package already got removed
+
+-------------------------------------------------------------------
+Thu Jan  2 12:57:23 UTC 2020 - Ivan Kapelyukhin <ikapelyuk...@suse.com>
+
+- Update to 0.3.25
+- Fix cloud_provider detection on AWS large instances (bsc#1160007)
+
+-------------------------------------------------------------------
+Tue Nov  5 12:08:18 UTC 2019 - Ivan Kapelyukhin <ikapelyuk...@suse.com>
+
+- Update to 0.3.24
+- Forbid de-registration for on-demand Public Cloud instances (bsc#1155911)
+
+-------------------------------------------------------------------

Old:
----
  suse-connect-0.3.23.gem

New:
----
  suse-connect-0.3.26.gem

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

Other differences:
------------------
++++++ SUSEConnect.spec ++++++
--- /var/tmp/diff_new_pack.yqxmq5/_old  2020-09-03 01:13:07.924448004 +0200
+++ /var/tmp/diff_new_pack.yqxmq5/_new  2020-09-03 01:13:07.928448005 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           SUSEConnect
-Version:        0.3.23
+Version:        0.3.26
 Release:        0
 %define mod_name suse-connect
 %define mod_full_name %{mod_name}-%{version}

++++++ SUSEConnect.5 ++++++
--- /var/tmp/diff_new_pack.yqxmq5/_old  2020-09-03 01:13:07.968448019 +0200
+++ /var/tmp/diff_new_pack.yqxmq5/_new  2020-09-03 01:13:07.968448019 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "SUSECONNECT" "5" "February 2017" "" "SUSEConnect"
+.TH "SUSECONNECT" "5" "August 2020" "" "SUSEConnect"
 .
 .SH "NAME"
 \fBSUSEConnect\fR \- SUSE Customer Center registration tool config file

++++++ SUSEConnect.8 ++++++
--- /var/tmp/diff_new_pack.yqxmq5/_old  2020-09-03 01:13:07.992448028 +0200
+++ /var/tmp/diff_new_pack.yqxmq5/_new  2020-09-03 01:13:07.996448030 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "SUSECONNECT" "8" "July 2019" "" "SUSEConnect"
+.TH "SUSECONNECT" "8" "August 2020" "" "SUSEConnect"
 .
 .SH "NAME"
 \fBSUSEConnect\fR \- SUSE Customer Center registration tool
@@ -126,7 +126,7 @@
 SUSEConnect is implemented in Ruby\. It communicates with the registration 
server using a RESTful JSON API over HTTP using TLS encryption\.
 .
 .SH "ENVIRONMENT"
-SUSEConnect respects the HTTP_PROXY environment variable\.
+SUSEConnect respects the HTTP_PROXY environment variable\. See 
https://www\.suse\.com/support/kb/doc/?id=000017441 for more details on how to 
manually configure proxy usage\.
 .
 .SH "FILES"
 .

++++++ suse-connect-0.3.23.gem -> suse-connect-0.3.26.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/client.rb 
new/lib/suse/connect/client.rb
--- old/lib/suse/connect/client.rb      2019-10-14 15:17:46.000000000 +0200
+++ new/lib/suse/connect/client.rb      2020-08-27 11:32:16.000000000 +0200
@@ -52,6 +52,10 @@
       #
       # @returns: Empty body and 204 status code
       def deregister!
+        if File.exist?('/usr/sbin/registercloudguest')
+          raise UnsupportedOperation,
+            'De-registration is disabled for on-demand instances. Use 
`registercloudguest --clean` instead.'
+        end
         raise SystemNotRegisteredError unless registered?
         print_information :deregister
         if @config.product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/hwinfo/base.rb 
new/lib/suse/connect/hwinfo/base.rb
--- old/lib/suse/connect/hwinfo/base.rb 2019-10-14 15:17:46.000000000 +0200
+++ new/lib/suse/connect/hwinfo/base.rb 2020-08-27 11:32:16.000000000 +0200
@@ -44,10 +44,11 @@
       end
 
       def cloud_provider
-        regex = /(Version: .*(amazon)|Manufacturer: (Google)|Manufacturer: 
(Microsoft) Corporation)/
-        matches = execute('dmidecode -t system', 
false).match(regex).to_a[2..4].to_a.compact
+        regex = /(?:Version: .*(amazon)|Manufacturer: (Amazon)|Manufacturer: 
(Google)|Manufacturer: (Microsoft) Corporation)/
+
+        matches = execute('dmidecode -t system', 
false).match(regex).to_a[1..-1].to_a.compact.map(&:capitalize).uniq
         return nil unless matches.length == 1
-        matches[0].capitalize
+        matches[0]
       rescue SUSE::Connect::SystemCallError, Errno::ENOENT
         nil
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/version.rb 
new/lib/suse/connect/version.rb
--- old/lib/suse/connect/version.rb     2019-10-14 15:17:46.000000000 +0200
+++ new/lib/suse/connect/version.rb     2020-08-27 11:32:16.000000000 +0200
@@ -1,5 +1,5 @@
 module SUSE
   module Connect
-    VERSION = '0.3.23'
+    VERSION = '0.3.26'
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/yast.rb new/lib/suse/connect/yast.rb
--- old/lib/suse/connect/yast.rb        2019-10-14 15:17:46.000000000 +0200
+++ new/lib/suse/connect/yast.rb        2020-08-27 11:32:16.000000000 +0200
@@ -225,6 +225,19 @@
           config = SUSE::Connect::Config.new.merge!(client_params)
           Status.new(config)
         end
+
+        # Provides access to the package search functionality
+        #
+        # @param query [String] package to search
+        # @param product [SUSE::Connect::Zypper::Product] product to base 
search on
+        # @param config_params [<Hash>] overwrites from the config file
+        #
+        # @return [Array< <Hash>>] Returns all matched packages or an empty 
array if no matches where found
+        #
+        # @see SUSE::Connect::PackageSearch.search
+        def search_package(query, product: Zypper.base_product, config_params: 
{})
+          SUSE::Connect::PackageSearch.search(query, product: product, 
config_params: config_params)
+        end
       end
     end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/zypper.rb 
new/lib/suse/connect/zypper.rb
--- old/lib/suse/connect/zypper.rb      2019-10-14 15:17:46.000000000 +0200
+++ new/lib/suse/connect/zypper.rb      2020-08-27 11:32:16.000000000 +0200
@@ -166,7 +166,8 @@
         end
 
         def remove_release_package(identifier)
-          call("--no-refresh --non-interactive remove -t product 
#{identifier}") if identifier
+          valid_error_codes = [Zypper::ExitCode::OK, 
Zypper::ExitCode::Info::CAP_NOT_FOUND]
+          call("--no-refresh --non-interactive remove -t product 
#{identifier}", true, valid_error_codes) if identifier
         end
 
         # rubocop:disable AccessorMethodName
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-10-14 15:17:46.000000000 +0200
+++ new/metadata        2020-08-27 11:32:16.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: suse-connect
 version: !ruby/object:Gem::Version
-  version: 0.3.23
+  version: 0.3.26
 platform: ruby
 authors:
 - SUSE Customer Center Team
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-10-14 00:00:00.000000000 Z
+date: 2020-08-27 00:00:00.000000000 Z
 dependencies: []
 description: This package provides a command line tool and rubygem library for 
connecting
   a client system to the SUSE Customer Center. It will connect the system to 
your
@@ -85,8 +85,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.7.3
+rubygems_version: 3.0.8
 signing_key: 
 specification_version: 4
 summary: SUSE Connect utility to register a system with the SUSE Customer 
Center


Reply via email to