Hello community, here is the log from the commit of package yast2-dns-server for openSUSE:Factory checked in at 2015-12-03 13:30:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-dns-server (Old) and /work/SRC/openSUSE:Factory/.yast2-dns-server.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-dns-server" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-dns-server/yast2-dns-server.changes 2015-10-22 12:58:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-dns-server.new/yast2-dns-server.changes 2015-12-03 13:30:50.000000000 +0100 @@ -1,0 +2,13 @@ +Fri Nov 27 09:35:39 UTC 2015 - an...@suse.com + +- Adapted to latest changes in UI::ServiceStatus API (fate#318771) +- 3.1.19 + +------------------------------------------------------------------- +Thu Nov 26 08:56:08 UTC 2015 - an...@suse.com + +- Use new version of the UI component for services handling + (fate#318771) +- 3.1.18 + +------------------------------------------------------------------- Old: ---- yast2-dns-server-3.1.17.tar.bz2 New: ---- yast2-dns-server-3.1.19.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-dns-server.spec ++++++ --- /var/tmp/diff_new_pack.SbcEcG/_old 2015-12-03 13:30:51.000000000 +0100 +++ /var/tmp/diff_new_pack.SbcEcG/_new 2015-12-03 13:30:51.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-dns-server -Version: 3.1.17 +Version: 3.1.19 Release: 0 Url: https://github.com/yast/yast-dns-server @@ -33,8 +33,8 @@ BuildRequires: yast2-testsuite BuildRequires: rubygem(rspec) -# requires SrvStatusComponent -BuildRequires: yast2 >= 3.1.151 +# UI::ServiceStatus +BuildRequires: yast2 >= 3.1.161 Requires: /usr/bin/host Requires: perl-gettext # Exporter Data::Dumper @@ -55,8 +55,8 @@ # FATE #303386: Network setup tools Requires: yast2-sysconfig -# for SrvStatusComponent -Requires: yast2 >= 3.1.151 +# UI::ServiceStatus +Requires: yast2 >= 3.1.161 BuildArch: noarch ++++++ yast2-dns-server-3.1.17.tar.bz2 -> yast2-dns-server-3.1.19.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dns-server-3.1.17/package/yast2-dns-server.changes new/yast2-dns-server-3.1.19/package/yast2-dns-server.changes --- old/yast2-dns-server-3.1.17/package/yast2-dns-server.changes 2015-10-02 21:23:25.000000000 +0200 +++ new/yast2-dns-server-3.1.19/package/yast2-dns-server.changes 2015-11-27 14:47:01.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Nov 27 09:35:39 UTC 2015 - an...@suse.com + +- Adapted to latest changes in UI::ServiceStatus API (fate#318771) +- 3.1.19 + +------------------------------------------------------------------- +Thu Nov 26 08:56:08 UTC 2015 - an...@suse.com + +- Use new version of the UI component for services handling + (fate#318771) +- 3.1.18 + +------------------------------------------------------------------- Fri Oct 2 11:09:19 UTC 2015 - an...@suse.com - UI component for services handling moved from yast2-dns-server diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dns-server-3.1.17/package/yast2-dns-server.spec new/yast2-dns-server-3.1.19/package/yast2-dns-server.spec --- old/yast2-dns-server-3.1.17/package/yast2-dns-server.spec 2015-10-02 21:23:25.000000000 +0200 +++ new/yast2-dns-server-3.1.19/package/yast2-dns-server.spec 2015-11-27 14:47:01.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-dns-server -Version: 3.1.17 +Version: 3.1.19 Release: 0 Url: https://github.com/yast/yast-dns-server @@ -33,8 +33,8 @@ BuildRequires: yast2-perl-bindings BuildRequires: yast2-testsuite -# requires SrvStatusComponent -BuildRequires: yast2 >= 3.1.151 +# UI::ServiceStatus +BuildRequires: yast2 >= 3.1.161 Requires: /usr/bin/host Requires: perl-gettext # Exporter Data::Dumper @@ -55,8 +55,8 @@ # FATE #303386: Network setup tools Requires: yast2-sysconfig -# for SrvStatusComponent -Requires: yast2 >= 3.1.151 +# UI::ServiceStatus +Requires: yast2 >= 3.1.161 BuildArch: noarch diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dns-server-3.1.17/src/include/dns-server/dialog-main.rb new/yast2-dns-server-3.1.19/src/include/dns-server/dialog-main.rb --- old/yast2-dns-server-3.1.17/src/include/dns-server/dialog-main.rb 2015-10-02 21:23:25.000000000 +0200 +++ new/yast2-dns-server-3.1.19/src/include/dns-server/dialog-main.rb 2015-11-27 14:47:01.000000000 +0100 @@ -5,7 +5,7 @@ # Summary: Data for configuration of dns-server, input and output functions. # Authors: Jiri Srain <jsr...@suse.cz> -require "ui/srv_status_component" +require "ui/service_status" module Yast # Representation of the configuration of dns-server. @@ -39,10 +39,8 @@ # String defines the initial screen for the expert dialog @initial_screen = "start_up" - @status_component = ::UI::SrvStatusComponent.new( - "named", - enabled_callback: ->(e) { DnsServer.SetStartService(e) } - ) + @service = SystemdService.find("named") + @status_widget = ::UI::ServiceStatus.new(@service) @global_options_add_items = Builtins.sort( [ @@ -272,7 +270,7 @@ method(:HandleStartUp), "symbol (string, map)" ), - "help" => @status_component.help + "help" => @status_widget.help }, "firewall" => CWMFirewallInterfaces.CreateOpenFirewallWidget( { "services" => ["service:bind"], "display_details" => true } @@ -411,7 +409,7 @@ "start_up" => { # FIXME: new startup "contents" => VBox( - @status_component.widget, + @status_widget.widget, VSpacing(), "firewall", VStretch(), @@ -528,7 +526,7 @@ end def InitStartUp(_key) - @status_component.refresh_widget + @status_widget.refresh nil end @@ -537,7 +535,9 @@ if event_id == "apply" SaveAndRestart() else - @status_component.handle_input(event_id) + if @status_widget.handle_input(event_id) == :enabled_flag + DnsServer.SetStartService(@status_widget.enabled_flag?) + end end nil end @@ -2147,7 +2147,7 @@ Wizard.RestoreHelp(Ops.get_string(@HELPS, "write", "")) ret = DnsServer.Write if ret - @status_component.reload + @service.reload if @status_widget.reload_flag? :next else if Popup.YesNo(_("Saving the configuration failed. Change the settings?")) @@ -2164,7 +2164,7 @@ Wizard.RestoreHelp(Ops.get_string(@HELPS, "write", "")) ret = DnsServer.Write if ret - @status_component.reload + @service.reload if @status_widget.reload_flag? else Report.Error(_("Saving the configuration failed")) end