Hello community, here is the log from the commit of package yast2-rmt for openSUSE:Factory checked in at 2020-08-01 12:33:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-rmt (Old) and /work/SRC/openSUSE:Factory/.yast2-rmt.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-rmt" Sat Aug 1 12:33:44 2020 rev:15 rq:823767 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-rmt/yast2-rmt.changes 2020-02-28 15:21:45.481944028 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-rmt.new.3592/yast2-rmt.changes 2020-08-01 12:33:54.730642956 +0200 @@ -1,0 +2,13 @@ +Mon Jun 8 14:48:42 UTC 2020 - Jesús Bermúdez Velázquez <jesus...@suse.com> + +- Version 1.3.2 +- Handle Common Name length (bsc#1172674) + +------------------------------------------------------------------- +Wed May 13 08:20:34 UTC 2020 - Ladislav Slezák <lsle...@suse.cz> + +- Changed placeholders in translatable strings (%<> -> %{}) + to better support gettext language format tags (bsc#1171555) +- 1.3.1 + +------------------------------------------------------------------- Old: ---- yast2-rmt-1.3.0.tar.bz2 New: ---- yast2-rmt-1.3.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-rmt.spec ++++++ --- /var/tmp/diff_new_pack.3YG0bc/_old 2020-08-01 12:33:55.854644463 +0200 +++ /var/tmp/diff_new_pack.3YG0bc/_new 2020-08-01 12:33:55.854644463 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2-rmt # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-rmt -Version: 1.3.0 +Version: 1.3.2 Release: 0 BuildArch: noarch @@ -40,7 +40,7 @@ Summary: YaST2 - Module to configure RMT License: GPL-2.0-only Group: System/YaST -Url: https://github.com/yast/yast-rmt +URL: https://github.com/yast/yast-rmt %description Provides the YaST module to configure the Repository Mirroring Tool (RMT) Server. ++++++ yast2-rmt-1.3.0.tar.bz2 -> yast2-rmt-1.3.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/.rubocop.yml new/yast2-rmt-1.3.2/.rubocop.yml --- old/yast2-rmt-1.3.0/.rubocop.yml 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/.rubocop.yml 2020-07-28 15:50:15.000000000 +0200 @@ -31,3 +31,8 @@ RSpec/SubjectStub: Enabled: false + +# disabled, %<> should not be used in translatable strings +# but otherwise it does not matter much +Style/FormatStringToken: + Enabled: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/Gemfile.lock new/yast2-rmt-1.3.2/Gemfile.lock --- old/yast2-rmt-1.3.0/Gemfile.lock 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/Gemfile.lock 2020-07-28 15:50:15.000000000 +0200 @@ -13,7 +13,7 @@ ast (~> 2.4.0) powerpack (0.1.1) rainbow (3.0.0) - rake (12.3.1) + rake (13.0.1) rubocop (0.52.1) parallel (~> 1.10) parser (>= 2.4.0.2, < 3.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/package/yast2-rmt.changes new/yast2-rmt-1.3.2/package/yast2-rmt.changes --- old/yast2-rmt-1.3.0/package/yast2-rmt.changes 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/package/yast2-rmt.changes 2020-07-28 15:50:15.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Mon Jun 8 14:48:42 UTC 2020 - Jesús Bermúdez Velázquez <jesus...@suse.com> + +- Version 1.3.2 +- Handle Common Name length (bsc#1172674) + +------------------------------------------------------------------- +Wed May 13 08:20:34 UTC 2020 - Ladislav Slezák <lsle...@suse.cz> + +- Changed placeholders in translatable strings (%<> -> %{}) + to better support gettext language format tags (bsc#1171555) +- 1.3.1 + +------------------------------------------------------------------- Wed Jan 15 14:50:09 UTC 2020 - Ivan Kapelyukhin <ikapelyuk...@suse.com> - Version 1.3.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/package/yast2-rmt.spec new/yast2-rmt-1.3.2/package/yast2-rmt.spec --- old/yast2-rmt-1.3.0/package/yast2-rmt.spec 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/package/yast2-rmt.spec 2020-07-28 15:50:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-rmt -Version: 1.3.0 +Version: 1.3.2 Release: 0 BuildArch: noarch diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/spec/rmt/ssl/certificate_generator_spec.rb new/yast2-rmt-1.3.2/spec/rmt/ssl/certificate_generator_spec.rb --- old/yast2-rmt-1.3.0/spec/rmt/ssl/certificate_generator_spec.rb 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/spec/rmt/ssl/certificate_generator_spec.rb 2020-07-28 15:50:15.000000000 +0200 @@ -322,7 +322,7 @@ it 'raises and exception when write failed' do expect(Yast::SCR).to receive(:Write).with(Yast.path('.target.string'), filename, content).and_return(false) - expect { generator.send(:write_file, filename, content) }.to raise_error(RMT::SSL::Exception, "Failed to write file #{filename}") + expect { generator.send(:write_file, filename, content) }.to raise_error(RMT::SSL::Exception, "Error writing file '#{filename}'") end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/spec/rmt/ssl/config_generator_spec.rb new/yast2-rmt-1.3.2/spec/rmt/ssl/config_generator_spec.rb --- old/yast2-rmt-1.3.0/spec/rmt/ssl/config_generator_spec.rb 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/spec/rmt/ssl/config_generator_spec.rb 2020-07-28 15:50:15.000000000 +0200 @@ -43,7 +43,7 @@ it 'contains correct common name' do expect(File).to receive(:read).with(template_system_location).and_return(template) - expect(generator.make_ca_config).to match(/CN\s*=\s*RMT Certificate Authority \(#{common_name}\)/) + expect(generator.make_ca_config).to match(/CN\s*=\s*RMT Certificate Authority/) end it 'writes to correct file' do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/src/lib/rmt/execute.rb new/yast2-rmt-1.3.2/src/lib/rmt/execute.rb --- old/yast2-rmt-1.3.0/src/lib/rmt/execute.rb 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/src/lib/rmt/execute.rb 2020-07-28 15:50:15.000000000 +0200 @@ -51,7 +51,7 @@ rescue Cheetah::ExecutionFailed => e Yast.import 'Report' Yast::Report.Error( - _("Execution of command \"%<command>s\" failed.\nExit code: %<exitcode>s\nError output: %<stderr>s") % { + _("Execution of command \"%{command}\" failed.\nExit code: %{exitcode}\nError output: %{stderr}") % { command: e.commands.inspect, exitcode: e.status.exitstatus, stderr: e.stderr diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/src/lib/rmt/shared/set_password_dialog.rb new/yast2-rmt-1.3.2/src/lib/rmt/shared/set_password_dialog.rb --- old/yast2-rmt-1.3.0/src/lib/rmt/shared/set_password_dialog.rb 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/src/lib/rmt/shared/set_password_dialog.rb 2020-07-28 15:50:15.000000000 +0200 @@ -44,7 +44,7 @@ return elsif password.size < @min_password_size Yast::UI.SetFocus(Id(:password)) - Yast::Report.Error(_('Password has to have at least %<size>s characters.') % { size: @min_password_size }) + Yast::Report.Error(_('Password has to have at least %{size} characters.') % { size: @min_password_size }) return elsif password != password_confirmation Yast::UI.SetFocus(Id(:password_confirmation)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/src/lib/rmt/ssl/certificate_generator.rb new/yast2-rmt-1.3.2/src/lib/rmt/ssl/certificate_generator.rb --- old/yast2-rmt-1.3.0/src/lib/rmt/ssl/certificate_generator.rb 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/src/lib/rmt/ssl/certificate_generator.rb 2020-07-28 15:50:15.000000000 +0200 @@ -146,7 +146,7 @@ rescue Cheetah::ExecutionFailed, RMT::SSL::Exception => e Yast.import 'Report' Yast::Report.Error( - _("An error occurred during SSL certificate generation:\n%<error>s\n") % { + _("An error occurred during SSL certificate generation:\n%{error}\n") % { error: (e.class == Cheetah::ExecutionFailed) ? e.stderr : e.to_s } ) @@ -164,7 +164,9 @@ end def write_file(filename, content) - result = Yast::SCR.Write(Yast.path('.target.string'), filename, content) - raise RMT::SSL::Exception, _('Failed to write file %<filename>s' % { filename: filename }) unless result + return if Yast::SCR.Write(Yast.path('.target.string'), filename, content) + + Yast.import 'Message' + raise RMT::SSL::Exception, Yast::Message.ErrorWritingFile(filename) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.3.0/src/lib/rmt/ssl/config_generator.rb new/yast2-rmt-1.3.2/src/lib/rmt/ssl/config_generator.rb --- old/yast2-rmt-1.3.0/src/lib/rmt/ssl/config_generator.rb 2020-02-27 15:06:10.000000000 +0100 +++ new/yast2-rmt-1.3.2/src/lib/rmt/ssl/config_generator.rb 2020-07-28 15:50:15.000000000 +0200 @@ -26,7 +26,7 @@ attr_reader :ca_common_name, :server_common_name, :dns_alt_names, :ip_alt_names def initialize(hostname, alt_names) - @ca_common_name = "RMT Certificate Authority (#{hostname})" + @ca_common_name = 'RMT Certificate Authority' @server_common_name = hostname @dns_alt_names = [] @ip_alt_names = []