Hello community, here is the log from the commit of package SUSEConnect for openSUSE:Factory checked in at 2017-07-04 13:32:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/SUSEConnect (Old) and /work/SRC/openSUSE:Factory/.SUSEConnect.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "SUSEConnect" Tue Jul 4 13:32:22 2017 rev:4 rq:506225 version:0.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/SUSEConnect/SUSEConnect.changes 2017-06-20 11:01:16.956045754 +0200 +++ /work/SRC/openSUSE:Factory/.SUSEConnect.new/SUSEConnect.changes 2017-07-04 13:32:24.570766739 +0200 @@ -1,0 +2,6 @@ +Mon Jun 26 10:20:22 UTC 2017 - kpimenov@suse.com + +- Update to 0.3.2: + - Fix --namespace parameter persistence (bsc#1044493) + +------------------------------------------------------------------- @@ -5,0 +12 @@ + - Add missing archs to SLE 12 SP3 build target Old: ---- suse-connect-0.3.1.gem New: ---- suse-connect-0.3.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SUSEConnect.spec ++++++ --- /var/tmp/diff_new_pack.gxdiO8/_old 2017-07-04 13:32:26.054557798 +0200 +++ /var/tmp/diff_new_pack.gxdiO8/_new 2017-07-04 13:32:26.054557798 +0200 @@ -16,7 +16,7 @@ # Name: SUSEConnect -Version: 0.3.1 +Version: 0.3.2 Release: 0 %define mod_name suse-connect %define mod_full_name %{mod_name}-%{version} ++++++ SUSEConnect.5.gz ++++++ --- /var/tmp/diff_new_pack.gxdiO8/_old 2017-07-04 13:32:26.082553856 +0200 +++ /var/tmp/diff_new_pack.gxdiO8/_new 2017-07-04 13:32:26.086553293 +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" "April 2017" "" "SUSEConnect" . .SH "NAME" \fBSUSEConnect\fR \- SUSE Customer Center registration tool config file ++++++ SUSEConnect.8.gz ++++++ --- /var/tmp/diff_new_pack.gxdiO8/_old 2017-07-04 13:32:26.106550477 +0200 +++ /var/tmp/diff_new_pack.gxdiO8/_new 2017-07-04 13:32:26.110549914 +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" "June 2017" "" "SUSEConnect" . .SH "NAME" \fBSUSEConnect\fR \- SUSE Customer Center registration tool ++++++ suse-connect-0.3.1.gem -> suse-connect-0.3.2.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 2017-06-08 18:11:49.000000000 +0200 +++ new/lib/suse/connect/cli.rb 2017-06-26 12:00:00.000000000 +0200 @@ -19,16 +19,16 @@ def execute! # rubocop:disable MethodLength, CyclomaticComplexity # check for parameter dependencies if @config.status - Status.new(@config).print_product_statuses(:json) + status.print_product_statuses(:json) elsif @config.status_text - Status.new(@config).print_product_statuses(:text) + status.print_product_statuses(:text) elsif @config.deregister Client.new(@config).deregister! elsif @config.cleanup System.cleanup! elsif @config.list_extensions - if Status.new(@config).activated_base_product? - Status.new(@config).print_extensions_list + if status.activated_base_product? + status.print_extensions_list else log.error 'To list extensions, you must first register the base product, using: SUSEConnect -r <registration code>' exit(1) @@ -40,7 +40,7 @@ elsif @config.token && @config.instance_data_file log.error 'Please use either --regcode or --instance-data' exit(1) - elsif @config.url_default? && !@config.token && !Status.new(@config).activated_base_product? + elsif @config.url_default? && !@config.token && !status.activated_base_product? log.error 'Please register your system using the --regcode parameter, or provide the --url parameter to register against SMT.' exit(1) else @@ -159,6 +159,7 @@ 'environments.') do |opt| check_if_param(opt, 'Please provide a namespace') @options[:namespace] = opt + @options[:write_config] = true end @opts.on('-s', '--status', 'Get current system registration status in json', @@ -229,6 +230,10 @@ exit 1 end end + + def status + @status ||= Status.new(@config) + end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/suse/connect/config.rb new/lib/suse/connect/config.rb --- old/lib/suse/connect/config.rb 2017-06-08 18:11:49.000000000 +0200 +++ new/lib/suse/connect/config.rb 2017-06-26 12:00:00.000000000 +0200 @@ -19,7 +19,7 @@ end end - serializable_attributes :url, :insecure, :language + serializable_attributes :url, :insecure, :language, :namespace def initialize(file = DEFAULT_CONFIG_FILE) @file = file 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 2017-06-08 18:11:49.000000000 +0200 +++ new/lib/suse/connect/version.rb 2017-06-26 12:00:00.000000000 +0200 @@ -1,6 +1,6 @@ module SUSE # Provides access to version number of a gem module Connect - VERSION = '0.3.1' + VERSION = '0.3.2' end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-06-08 18:11:49.000000000 +0200 +++ new/metadata 2017-06-26 12:23:34.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: suse-connect version: !ruby/object:Gem::Version - version: 0.3.1 + version: 0.3.2 platform: ruby authors: - SUSE Customer Center Team autorequire: bindir: bin cert_chain: [] -date: 2017-06-08 00:00:00.000000000 Z +date: 2017-06-26 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 @@ -83,8 +83,9 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.5.1 +rubygems_version: 2.2.5 signing_key: specification_version: 4 summary: SUSE Connect utility to register a system with the SUSE Customer Center test_files: [] +has_rdoc: