Hello community,

here is the log from the commit of package SUSEConnect for openSUSE:Factory 
checked in at 2019-08-13 13:11:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SUSEConnect (Old)
 and      /work/SRC/openSUSE:Factory/.SUSEConnect.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SUSEConnect"

Tue Aug 13 13:11:14 2019 rev:19 rq:722017 version:0.3.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/SUSEConnect/SUSEConnect.changes  2019-04-21 
09:01:12.490396332 +0200
+++ /work/SRC/openSUSE:Factory/.SUSEConnect.new.9556/SUSEConnect.changes        
2019-08-13 13:11:15.849590924 +0200
@@ -1,0 +2,12 @@
+Wed Aug  7 10:15:21 UTC 2019 - Giovanni Filippetti 
<[email protected]>
+
+- Update to 0.3.19
+  - Fix failing on registered system without arguments (bsc#1144020)
+
+-------------------------------------------------------------------
+Wed May 29 13:15:05 UTC 2019 - Ivan Kapelyukhin <[email protected]>
+
+- Update to 0.3.18
+- Fix base product service removal during de-registration in public clouds 
(bsc#1136752)
+
+-------------------------------------------------------------------

Old:
----
  suse-connect-0.3.17.gem

New:
----
  suse-connect-0.3.19.gem

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

Other differences:
------------------
++++++ SUSEConnect.spec ++++++
--- /var/tmp/diff_new_pack.nK3rig/_old  2019-08-13 13:11:16.349590651 +0200
+++ /var/tmp/diff_new_pack.nK3rig/_new  2019-08-13 13:11:16.349590651 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           SUSEConnect
-Version:        0.3.17
+Version:        0.3.19
 Release:        0
 %define mod_name suse-connect
 %define mod_full_name %{mod_name}-%{version}

++++++ SUSEConnect.5 ++++++
--- /var/tmp/diff_new_pack.nK3rig/_old  2019-08-13 13:11:16.369590640 +0200
+++ /var/tmp/diff_new_pack.nK3rig/_new  2019-08-13 13:11:16.373590638 +0200
@@ -1,57 +1,147 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "SUSECONNECT" "5" "February 2017" "" "SUSEConnect"
+.TH "SUSECONNECT" "8" "August 2019" "" "SUSEConnect"
 .
 .SH "NAME"
-\fBSUSEConnect\fR \- SUSE Customer Center registration tool config file
+\fBSUSEConnect\fR \- SUSE Customer Center registration tool
 .
-.SH "DESCRIPTION"
-</etc/SUSEConnect> is the config file for the SUSE registration tool 
SUSEConnect\. This file allows the registration of the base product that is 
installed on the system\. NB: using this file, registration of extensions is 
not supported\.
+.SH "SYNOPSIS"
+\fBSUSEConnect [<optional>\.\.\.] \-p PRODUCT\fR
 .
-.SH "FORMAT"
-The file is in [YAML][yaml\-spec] format\.
+.SH "DESCRIPTION"
+Register SUSE Linux Enterprise installations with the SUSE Customer Center\. 
Registration allows access to software repositories (including updates) and 
allows online management of subscriptions and organizations\.
 .
 .P
-Example:
+By default, SUSEConnect registers the base SUSE Linux Enterprise product 
installed on a system\. It can also be used to register extensions and modules\.
 .
 .P
-\fB\-\-\-\fR
+To register an extension or a module, use the \fB\-\-product 
<PRODUCT\-IDENTIFIER>\fR option together with the product identifier of the 
extension or module\. You can see a list of all available extensions and 
modules for your system by using the \fB\-\-list\-extensions\fR option\.
 .
 .P
-\fBregcode: <regcode>\fR
+Manage subscriptions at the SUSE Customer Center: https://scc\.suse\.com
 .
-.P
-\fBurl: https://scc\.suse\.com\fR
+.SH "OPTIONS"
 .
-.P
-\fBlanguage: en\fR
+.TP
+\fB\-p\fR, \fB\-\-product <PRODUCT>\fR
+Specify a product for activation/deactivation\. Only one product can be 
processed at a time\. Defaults to the base SUSE Linux Enterprise product on 
this system\. Product identifiers can be obtained with 
\fB\-\-list\-extensions\fR\. Format: \fIname\fR/\fIversion\fR/\fIarchitecture\fR
 .
-.P
-\fBinsecure: false\fR
+.TP
+\fB\-r\fR, \fB\-\-regcode <REGCODE>\fR
+Subscription registration code for the product to be registered\. Relates that 
product to the specified subscription and enables software repositories for 
that product\.
 .
-.P
-Each line of the file specifies a single parameter\. The fields are as follows:
+.TP
+\fB\-d\fR, \fB\-\-de\-register\fR
+De\-registers the system and base product, or in conjunction with \-\-product, 
a single extension, and removes all its services installed by SUSEConnect\. 
After de\-registration, the system no longer consumes a subscription slot in 
SCC\.
+.
+.TP
+\fB\-\-list\-extensions\fR
+List all extensions and modules available for installation on this system\.
+.
+.TP
+\fB\-\-instance\-data <path to file>\fR
+Path to the XML file holding the public key and instance data for cloud 
registration with SMT\.
+.
+.TP
+\fB\-e\fR, \fB\-\-email <email>\fR
+Email address for product registration\.
+.
+.TP
+\fB\-\-url <URL>\fR
+URL of registration server (e\.g\. https://scc\.suse\.com)\.
+.
+.TP
+\fB\-\-namespace <NAMESPACE>\fR
+Namespace option for use with SMT staging environments\.
+.
+.TP
+\fB\-s\fR, \fB\-\-status\fR
+Get current system registration status in json format\.
+.
+.TP
+\fB\-\-status\-text\fR
+Get current system registration status in text format\.
+.
+.TP
+\fB\-\-write\-config\fR
+Write options to config file at /etc/SUSEConnect\.
+.
+.TP
+\fB\-\-cleanup\fR
+Remove old system credentials and all zypper services installed by 
SUSEConnect\.
+.
+.TP
+\fB\-\-rollback\fR
+Revert the registration state in case of a failed migration\.
+.
+.TP
+\fB\-\-root <PATH>\fR
+Path to the root folder, uses the same parameter for zypper\.
+.
+.TP
+\fB\-\-version\fR
+Print program version\.
+.
+.TP
+\fB\-\-debug\fR
+Provide debug output\.
+.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show help message\.
+.
+.SH "EXIT CODES"
+SUSEConnect sets the following exit codes:
 .
 .IP "\(bu" 4
-regcode: (mandatory) Registration code to use for the base product on the 
system
+0: Registration successful
 .
 .IP "\(bu" 4
-url: (optional) URL of the registration server\. Corresponds to the \-\-url 
argument to SUSEConnect\. Defaults to https://scc\.suse\.com
+64: Connection refused
 .
 .IP "\(bu" 4
-language: (optional) Language code to use for error messages
+65: Access error, e\.g\. files not readable
 .
 .IP "\(bu" 4
-insecure: (optional) Do not verify SSL certificates when using https (default: 
false)
+66: Parser error: Server JSON response was not parseable
+.
+.IP "\(bu" 4
+67: Server responded with error: see log output
 .
 .IP "" 0
 .
+.SH "COMPARED TO SUSE_REGISTER"
+.
+.SS "BEFORE"
+\fBsuse_register \-a email=<email> \-a regcode\-sles=<regcode> \-L <logfile>\fR
+.
+.SS "AFTER"
+\fBSUSEConnect \-\-url <registration\-server\-url> \-r <regcode> >> 
<logfile>\fR
+.
+.SH "USE WITH REGISTRATION PROXY"
+SUSEConnect can also be used to register systems with a local SUSE 
registration proxy (RMT/SMT) instead of the SUSE Customer Center\. Use 
\fBSUSEConnect \-\-url <registration\-proxy\-server\-url>\fR to register 
systems with RMT/SMT\.
+.
+.SH "IMPLEMENTATION"
+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\.
+.
+.SH "FILES"
+.
+.TP
+\fB/etc/SUSEConnect\fR
+Configuration file containing server URL, regcode and language for 
registration\.
+.
 .SH "AUTHOR"
-SUSE Linux Products GmbH \fIscc\-feedback@suse\.de\fR
+SUSE Linux Products GmbH (\fIscc\-feedback@suse\.de\fR)
 .
 .SH "LINKS"
-[SUSE Customer Center][scc]
+SUSE Customer Center: https://scc\.suse\.com
+.
+.P
+SUSEConnect on GitHub: https://github\.com/SUSE/connect
 .
 .SH "SEE ALSO"
-SUSEConnect(8)
+SUSEConnect(5)

++++++ SUSEConnect.8 ++++++
--- /var/tmp/diff_new_pack.nK3rig/_old  2019-08-13 13:11:16.385590631 +0200
+++ /var/tmp/diff_new_pack.nK3rig/_new  2019-08-13 13:11:16.385590631 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "SUSECONNECT" "8" "May 2017" "" "SUSEConnect"
+.TH "SUSECONNECT" "8" "August 2019" "" "SUSEConnect"
 .
 .SH "NAME"
 \fBSUSEConnect\fR \- SUSE Customer Center registration tool
@@ -19,7 +19,7 @@
 To register an extension or a module, use the \fB\-\-product 
<PRODUCT\-IDENTIFIER>\fR option together with the product identifier of the 
extension or module\. You can see a list of all available extensions and 
modules for your system by using the \fB\-\-list\-extensions\fR option\.
 .
 .P
-Manage subscriptions at [SUSE Customer Center][scc]
+Manage subscriptions at the SUSE Customer Center: https://scc\.suse\.com
 .
 .SH "OPTIONS"
 .
@@ -119,14 +119,14 @@
 .SS "AFTER"
 \fBSUSEConnect \-\-url <registration\-server\-url> \-r <regcode> >> 
<logfile>\fR
 .
-.SH "USE WITH SMT"
-SUSEConnect can also be used to register systems with a local SUSE 
Subscription Management Tool instead of the SUSE Customer Center\. Use 
\fBSUSEConnect \-\-url <smt\-server\-url>\fR to register systems with SMT and 
set \fIproxies\fR as required\.
+.SH "USE WITH REGISTRATION PROXY"
+SUSEConnect can also be used to register systems with a local SUSE 
registration proxy (RMT/SMT) instead of the SUSE Customer Center\. Use 
\fBSUSEConnect \-\-url <registration\-proxy\-server\-url>\fR to register 
systems with RMT/SMT\.
 .
 .SH "IMPLEMENTATION"
-SUSEConnect is implemented in Ruby 2\.0\. It communicates with the 
registration server using a RESTful JSON API over HTTP using TLS encryption\.
+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 and HTTPS_PROXY environment variables\.
+SUSEConnect respects the HTTP_PROXY environment variable\.
 .
 .SH "FILES"
 .
@@ -135,13 +135,13 @@
 Configuration file containing server URL, regcode and language for 
registration\.
 .
 .SH "AUTHOR"
-SUSE Linux Products GmbH \fIscc\-feedback@suse\.de\fR
+SUSE Linux Products GmbH (\fIscc\-feedback@suse\.de\fR)
 .
 .SH "LINKS"
-[SUSE Customer Center][scc]
+SUSE Customer Center: https://scc\.suse\.com
 .
 .P
-[SUSEConnect on GitHub][scc\-github]
+SUSEConnect on GitHub: https://github\.com/SUSE/connect
 .
 .SH "SEE ALSO"
 SUSEConnect(5)

++++++ suse-connect-0.3.17.gem -> suse-connect-0.3.19.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/cli.rb new/lib/suse/connect/cli.rb
--- old/lib/suse/connect/cli.rb 2019-04-12 12:19:12.000000000 +0200
+++ new/lib/suse/connect/cli.rb 2019-08-07 17:50:46.000000000 +0200
@@ -42,7 +42,7 @@
           elsif @config.token && @config.instance_data_file
             log.error 'Please use either --regcode or --instance-data'
             exit(1)
-          elsif @config.url_default? && [email protected] && 
!status.activated_base_product?
+          elsif @config.url_default? && [email protected] && [email protected]
             puts @opts
             exit(1)
           else
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-04-12 12:19:12.000000000 +0200
+++ new/lib/suse/connect/client.rb      2019-08-07 17:50:46.000000000 +0200
@@ -57,6 +57,9 @@
         if @config.product
           deregister_product(@config.product)
         else
+          # obtain base product service information
+          base_product_service = upgrade_product(Zypper.base_product)
+
           tree = show_product(Zypper.base_product)
           installed = Zypper.installed_products.map(&:identifier)
           dependencies = flatten_tree(tree).select { |e| installed.include? 
e[:identifier] }
@@ -65,6 +68,8 @@
             deregister_product(product)
           end
           @api.deregister(system_auth)
+
+          remove_or_refresh_service(base_product_service)
           log.info "\nCleaning up ..."
           System.cleanup!
           log.info "Successfully deregistered system\n".log_green.bold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/migration.rb 
new/lib/suse/connect/migration.rb
--- old/lib/suse/connect/migration.rb   2019-04-12 12:19:12.000000000 +0200
+++ new/lib/suse/connect/migration.rb   2019-08-07 17:50:46.000000000 +0200
@@ -75,18 +75,14 @@
         # @param [String] service_name the name of the service to add
         def add_service(service_url, service_name)
           # don't try to add the service if the plugin with the same name 
exists (bsc#1128969)
-          unless File.exist?("/usr/lib/zypp/plugins/services/#{service_name}")
-            SUSE::Connect::Zypper.add_service(service_url, service_name)
-          end
+          SUSE::Connect::Zypper.add_service(service_url, service_name) unless 
File.exist?("/usr/lib/zypp/plugins/services/#{service_name}")
         end
 
         # Forwards the service names which should be removed with zypper
         # @param [String] service_name the name of the service to remove
         def remove_service(service_name)
           # don't try to remove the service if the plugin with the same name 
exists (bsc#1128969)
-          unless File.exist?("/usr/lib/zypp/plugins/services/#{service_name}")
-            SUSE::Connect::Zypper.remove_service(service_name)
-          end
+          SUSE::Connect::Zypper.remove_service(service_name) unless 
File.exist?("/usr/lib/zypp/plugins/services/#{service_name}")
         end
 
         # Finds the solvable products available on the system
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/suse/connect/templates/extensions_list.text.erb 
new/lib/suse/connect/templates/extensions_list.text.erb
--- old/lib/suse/connect/templates/extensions_list.text.erb     2019-04-12 
12:19:12.000000000 +0200
+++ new/lib/suse/connect/templates/extensions_list.text.erb     2019-08-07 
17:50:46.000000000 +0200
@@ -13,4 +13,4 @@
 \e[1mMORE INFORMATION\e[0m
 
 You can find more information about available modules here:
-https://www.suse.com/products/server/features/modules.html
+https://www.suse.com/documentation/sles-15/singlehtml/art_modules/art_modules.html
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-04-12 12:19:12.000000000 +0200
+++ new/lib/suse/connect/version.rb     2019-08-07 17:50:46.000000000 +0200
@@ -1,5 +1,5 @@
 module SUSE
   module Connect
-    VERSION = '0.3.17'
+    VERSION = '0.3.19'
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-04-12 12:19:12.000000000 +0200
+++ new/metadata        2019-08-07 17:50:46.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: suse-connect
 version: !ruby/object:Gem::Version
-  version: 0.3.17
+  version: 0.3.19
 platform: ruby
 authors:
 - SUSE Customer Center Team
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-04-12 00:00:00.000000000 Z
+date: 2019-08-07 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


Reply via email to