Hello community, here is the log from the commit of package yast2-rmt for openSUSE:Factory checked in at 2018-07-13 10:21:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-rmt (Old) and /work/SRC/openSUSE:Factory/.yast2-rmt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-rmt" Fri Jul 13 10:21:47 2018 rev:7 rq:622271 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-rmt/yast2-rmt.changes 2018-06-28 15:14:23.891485229 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-rmt.new/yast2-rmt.changes 2018-07-13 10:22:26.250533515 +0200 @@ -1,0 +2,6 @@ +Thu Jul 5 08:52:44 UTC 2018 - wstephen...@suse.com + +- version 1.0.2 +- Translation fixes + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-rmt.spec ++++++ --- /var/tmp/diff_new_pack.o4CcCy/_old 2018-07-13 10:22:26.798534172 +0200 +++ /var/tmp/diff_new_pack.o4CcCy/_new 2018-07-13 10:22:26.798534172 +0200 @@ -38,7 +38,7 @@ BuildRequires: rubygem(rspec) Summary: YaST2 - Module to configure RMT -License: GPL-2.0 or GPL-3.0 +License: GPL-2.0-only OR GPL-3.0-only Group: System/YaST Url: https://github.com/SUSE/yast2-rmt ++++++ yast2-rmt-1.0.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/Gemfile new/yast2-rmt-1.0.1/Gemfile --- old/yast2-rmt-1.0.1/Gemfile 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/Gemfile 2018-07-05 10:53:09.000000000 +0200 @@ -3,5 +3,6 @@ gem 'yast-rake', '~> 0.2.20' group :development do + gem 'gettext' gem 'scc-codestyle', '~> 0.1.4' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/Gemfile.lock new/yast2-rmt-1.0.1/Gemfile.lock --- old/yast2-rmt-1.0.1/Gemfile.lock 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/Gemfile.lock 2018-07-05 10:53:09.000000000 +0200 @@ -2,6 +2,10 @@ remote: https://rubygems.org/ specs: ast (2.4.0) + gettext (3.2.9) + locale (>= 2.0.5) + text (>= 1.3.0) + locale (2.1.2) packaging_rake_tasks (1.4.4) rake parallel (1.12.1) @@ -23,6 +27,7 @@ scc-codestyle (0.1.4) rubocop (= 0.52.1) rubocop-rspec (= 1.19) + text (1.3.1) unicode-display_width (1.3.0) yast-rake (0.2.20) packaging_rake_tasks (>= 1.1.4) @@ -32,6 +37,7 @@ ruby DEPENDENCIES + gettext scc-codestyle (~> 0.1.4) yast-rake (~> 0.2.20) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/README.md new/yast2-rmt-1.0.1/README.md --- old/yast2-rmt-1.0.1/README.md 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/README.md 2018-07-05 10:53:09.000000000 +0200 @@ -60,16 +60,10 @@ ##### Internal Build Service -To make the initial submit for a new SLES version: - -```bash -osc -A https://api.suse.de sr Devel:SCC:RMT yast2-rmt SUSE:SLE-15:GA --no-cleanup -``` - To submit the updated package as a maintenance update to released SLES versions: ```bash -osc -A https://api.suse.de mr Devel:SCC:RMT yast2-rmt SUSE:SLE-15:GA:Update --no-cleanup +osc -A https://api.suse.de mr Devel:SCC:RMT yast2-rmt SUSE:SLE-15:Update --no-cleanup ``` You can check the status of your requests [here](https://build.opensuse.org/package/requests/systemsmanagement:SCC:RMT/yast2-rmt) and [here](https://build.suse.de/package/requests/Devel:SCC:RMT/yast2-rmt). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/package/yast2-rmt.changes new/yast2-rmt-1.0.1/package/yast2-rmt.changes --- old/yast2-rmt-1.0.1/package/yast2-rmt.changes 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/package/yast2-rmt.changes 2018-07-05 10:53:09.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jul 5 08:52:44 UTC 2018 - wstephen...@suse.com + +- version 1.0.2 +- Translation fixes + +------------------------------------------------------------------- Mon Jun 25 15:32:29 UTC 2018 - sko...@suse.com - version 1.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/spec/rmt/ssl/new_ca_password_dialog_spec.rb new/yast2-rmt-1.0.1/spec/rmt/ssl/new_ca_password_dialog_spec.rb --- old/yast2-rmt-1.0.1/spec/rmt/ssl/new_ca_password_dialog_spec.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/spec/rmt/ssl/new_ca_password_dialog_spec.rb 2018-07-05 10:53:09.000000000 +0200 @@ -26,9 +26,9 @@ describe '#initialize' do it 'creates the UI elements' do expect(dialog.instance_variable_get(:@dialog_heading)).to eq('Setting CA private key password') - expect(dialog.instance_variable_get(:@dialog_label)).to eq('Please set new CA private key password') - expect(dialog.instance_variable_get(:@password_field_label)).to eq('New CA private key &Password') - expect(dialog.instance_variable_get(:@password_confirmation_field_label)).to eq('New Password &Again') + expect(dialog.instance_variable_get(:@dialog_label)).to eq('Please set a password for the CA private key.') + expect(dialog.instance_variable_get(:@password_field_label)).to eq('&Password') + expect(dialog.instance_variable_get(:@password_confirmation_field_label)).to eq('C&onfirm Password') end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/execute.rb new/yast2-rmt-1.0.1/src/lib/rmt/execute.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/execute.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/execute.rb 2018-07-05 10:53:09.000000000 +0200 @@ -51,11 +51,7 @@ rescue Cheetah::ExecutionFailed => e Yast.import 'Report' Yast::Report.Error( - _( - "Execution of command \"%<command>s\" failed.\n"\ - "Exit code: %<exitcode>s\n"\ - 'Error output: %<stderr>s' - ) % { + _("Execution of command \"%<command>s\" failed.\nExit code: %<exitcode>s\nError output: %<stderr>s") % { 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.0.1/src/lib/rmt/maria_db/current_root_password_dialog.rb new/yast2-rmt-1.0.1/src/lib/rmt/maria_db/current_root_password_dialog.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/maria_db/current_root_password_dialog.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/maria_db/current_root_password_dialog.rb 2018-07-05 10:53:09.000000000 +0200 @@ -27,9 +27,9 @@ def initialize super - @dialog_heading = 'Database root password is required' - @dialog_label = 'Please provide the current database root password.' - @password_field_label = 'MariaDB root &password' + @dialog_heading = N_('Database root password is required') + @dialog_label = N_('Please provide the current database root password.') + @password_field_label = N_('MariaDB root &password') end private diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/maria_db/new_root_password_dialog.rb new/yast2-rmt-1.0.1/src/lib/rmt/maria_db/new_root_password_dialog.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/maria_db/new_root_password_dialog.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/maria_db/new_root_password_dialog.rb 2018-07-05 10:53:09.000000000 +0200 @@ -27,11 +27,9 @@ def initialize super - @dialog_heading = 'Setting database root password' - @dialog_label = "The current MariaDB root password is empty.\n" \ - 'Setting a root password is required for security reasons.' - @password_field_label = 'New MariaDB root &Password' - @password_confirmation_field_label = 'New Password &Again' + @dialog_heading = N_('Setting database root password') + @dialog_label = N_('The current MariaDB root password is empty.\nSetting a root password is required for security reasons.') + @password_field_label = N_('New MariaDB root &Password') end def set_root_password(new_root_password, hostname) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/shared/set_password_dialog.rb new/yast2-rmt-1.0.1/src/lib/rmt/shared/set_password_dialog.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/shared/set_password_dialog.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/shared/set_password_dialog.rb 2018-07-05 10:53:09.000000000 +0200 @@ -25,6 +25,7 @@ class RMT::Shared::SetPasswordDialog < UI::Dialog def initialize @min_password_size = 0 + @password_confirmation_field_label = N_('C&onfirm Password') textdomain 'rmt' end @@ -43,7 +44,7 @@ return elsif password.size < @min_password_size Yast::UI.SetFocus(Id(:password)) - Yast::Report.Error("Password has to have at least #{@min_password_size} characters.") + Yast::Report.Error(_('Password has to have at least %<size>s 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.0.1/src/lib/rmt/ssl/current_ca_password_dialog.rb new/yast2-rmt-1.0.1/src/lib/rmt/ssl/current_ca_password_dialog.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/ssl/current_ca_password_dialog.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/ssl/current_ca_password_dialog.rb 2018-07-05 10:53:09.000000000 +0200 @@ -28,9 +28,9 @@ def initialize super - @dialog_heading = 'Your CA private key is encrypted.' - @dialog_label = 'Please input password.' - @password_field_label = '&Password' + @dialog_heading = N_('Your CA private key is encrypted.') + @dialog_label = N_('Please input password.') + @password_field_label = N_('&Password') @cert_generator = RMT::SSL::CertificateGenerator.new end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/ssl/new_ca_password_dialog.rb new/yast2-rmt-1.0.1/src/lib/rmt/ssl/new_ca_password_dialog.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/ssl/new_ca_password_dialog.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/ssl/new_ca_password_dialog.rb 2018-07-05 10:53:09.000000000 +0200 @@ -27,10 +27,9 @@ def initialize super - @dialog_heading = 'Setting CA private key password' - @dialog_label = 'Please set new CA private key password' - @password_field_label = 'New CA private key &Password' - @password_confirmation_field_label = 'New Password &Again' + @dialog_heading = N_('Setting CA private key password') + @dialog_label = N_('Please set a password for the CA private key.') + @password_field_label = N_('&Password') @min_password_size = 4 end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/utils.rb new/yast2-rmt-1.0.1/src/lib/rmt/utils.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/utils.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/utils.rb 2018-07-05 10:53:09.000000000 +0200 @@ -25,6 +25,8 @@ class RMT::Utils include Yast::Logger + extend Yast::I18n + textdomain 'rmt' CONFIG_FILENAME = '/etc/rmt.conf'.freeze DEFAULT_CONFIG = { @@ -54,9 +56,9 @@ def write_config_file(config) if Yast::SCR.Write(Yast.path('.target.string'), CONFIG_FILENAME, YAML.dump(config)) - Yast::Popup.Message('Configuration written successfully') + Yast::Popup.Message(_('Configuration written successfully')) else - Yast::Report.Error('Writing configuration file failed. See YaST logs for details.') + Yast::Report.Error(_('Writing configuration file failed. See YaST logs for details.')) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/wizard_final_page.rb new/yast2-rmt-1.0.1/src/lib/rmt/wizard_final_page.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/wizard_final_page.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/wizard_final_page.rb 2018-07-05 10:53:09.000000000 +0200 @@ -66,8 +66,7 @@ Wizard.SetContents( _('RMT configuration summary'), contents, - _('<p>This is a list of all RMT configuration performed by this wizard.</p>'\ - '<p>Please check for anything that is incorrect.</p>'), + _('<p>This is a list of all RMT configuration performed by this wizard.</p><p>Please check for anything that is incorrect.</p>'), true, true ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/wizard_rmt_service_page.rb new/yast2-rmt-1.0.1/src/lib/rmt/wizard_rmt_service_page.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/wizard_rmt_service_page.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/wizard_rmt_service_page.rb 2018-07-05 10:53:09.000000000 +0200 @@ -72,11 +72,11 @@ rmt_services_started = false nginx_service_reloaded = false - Yast::Popup.Feedback(_('Starting RMT'), _('Starting RMT server, sync, and mirror timers ...')) do + Yast::Popup.Feedback(_('Starting RMT'), _('Starting RMT server, sync and mirror timers ...')) do rmt_services_started = rmt_service_start end unless rmt_services_started - UI.ChangeWidget(Id(:service_status), :Value, 'Could not start RMT services and timers.') + UI.ChangeWidget(Id(:service_status), :Value, _('Could not start RMT services and timers.')) Yast::Report.Error(_('Failed to enable and restart RMT services and timers')) end @@ -84,7 +84,7 @@ nginx_service_reloaded = nginx_service_reload end unless nginx_service_reloaded - UI.ChangeWidget(Id(:service_status), :Value, 'Could not reload \'nginx\' service.') + UI.ChangeWidget(Id(:service_status), :Value, _('Could not reload \'nginx\' service.')) Yast::Report.Error(_('Failed to reload service for \'nginx\'')) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.0.1/src/lib/rmt/wizard_ssl_page.rb new/yast2-rmt-1.0.1/src/lib/rmt/wizard_ssl_page.rb --- old/yast2-rmt-1.0.1/src/lib/rmt/wizard_ssl_page.rb 2018-06-27 16:36:27.000000000 +0200 +++ new/yast2-rmt-1.0.1/src/lib/rmt/wizard_ssl_page.rb 2018-07-05 10:53:09.000000000 +0200 @@ -136,8 +136,7 @@ if @cert_generator.ca_encrypted? Yast::Popup.Message(_('SSL certificates already present, skipping generation.')) else - Yast::Popup.Message(_("SSL certificates already present, skipping generation.\n" \ - 'Please consider encrypting your CA private key!')) + Yast::Popup.Message(_("SSL certificates already present, skipping generation.\nPlease consider encrypting your CA private key!")) end return finish_dialog(:next)