Hello community,

here is the log from the commit of package SUSEConnect for openSUSE:Leap:15.2 
checked in at 2020-02-25 12:16:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/SUSEConnect (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.SUSEConnect.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SUSEConnect"

Tue Feb 25 12:16:44 2020 rev:46 rq:778158 version:0.3.25

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/SUSEConnect/SUSEConnect.changes        
2020-01-15 14:46:07.961239496 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.SUSEConnect.new.26092/SUSEConnect.changes     
2020-02-25 12:16:55.184399716 +0100
@@ -1,0 +2,12 @@
+Thu Jan  2 12:57:23 UTC 2020 - Ivan Kapelyukhin <[email protected]>
+
+- 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 <[email protected]>
+
+- 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.25.gem

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

Other differences:
------------------
++++++ SUSEConnect.spec ++++++
--- /var/tmp/diff_new_pack.JXB1Be/_old  2020-02-25 12:16:55.576400528 +0100
+++ /var/tmp/diff_new_pack.JXB1Be/_new  2020-02-25 12:16:55.580400537 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           SUSEConnect
-Version:        0.3.23
+Version:        0.3.25
 Release:        0
 %define mod_name suse-connect
 %define mod_full_name %{mod_name}-%{version}

++++++ suse-connect-0.3.23.gem -> suse-connect-0.3.25.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-01-09 13:38:36.000000000 +0100
@@ -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-01-09 13:38:36.000000000 +0100
@@ -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-01-09 13:38:36.000000000 +0100
@@ -1,5 +1,5 @@
 module SUSE
   module Connect
-    VERSION = '0.3.23'
+    VERSION = '0.3.25'
   end
 end
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-01-09 13:38:36.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: suse-connect
 version: !ruby/object:Gem::Version
-  version: 0.3.23
+  version: 0.3.25
 platform: ruby
 authors:
 - SUSE Customer Center Team
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-10-14 00:00:00.000000000 Z
+date: 2020-01-09 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
@@ -86,7 +86,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.7.3
+rubygems_version: 2.7.7
 signing_key: 
 specification_version: 4
 summary: SUSE Connect utility to register a system with the SUSE Customer 
Center


Reply via email to