Hello community,

here is the log from the commit of package yast2-tftp-server for 
openSUSE:Factory checked in at 2018-06-22 13:34:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-tftp-server (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-tftp-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-tftp-server"

Fri Jun 22 13:34:15 2018 rev:33 rq:617813 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-tftp-server/yast2-tftp-server.changes      
2018-04-05 15:37:26.399573708 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-tftp-server.new/yast2-tftp-server.changes 
2018-06-22 13:34:23.744840754 +0200
@@ -1,0 +2,6 @@
+Tue Jun 19 12:22:19 UTC 2018 - [email protected]
+
+- Use yast2-journal to read logs from journal (bsc#1008493)
+- 4.1.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-tftp-server-4.0.2.tar.bz2

New:
----
  yast2-tftp-server-4.1.0.tar.bz2

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

Other differences:
------------------
++++++ yast2-tftp-server.spec ++++++
--- /var/tmp/diff_new_pack.gCQb1h/_old  2018-06-22 13:34:24.776802606 +0200
+++ /var/tmp/diff_new_pack.gCQb1h/_new  2018-06-22 13:34:24.776802606 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-tftp-server
-Version:        4.0.2
+Version:        4.1.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -33,9 +33,11 @@
 BuildRequires:  rubygem(%rb_default_ruby_abi:yast-rake)
 
 # SuSEFirewall2 replace by firewalld (fate#323460)
+Requires:       yast2 >= 4.0.39
+# for reading logs from journal
 Requires:       augeas-lenses
 Requires:       lsof
-Requires:       yast2 >= 4.0.39
+Requires:       yast2-journal >= 4.1.0
 Requires:       rubygem(%rb_default_ruby_abi:cfa)
 
 BuildArch:      noarch

++++++ yast2-tftp-server-4.0.2.tar.bz2 -> yast2-tftp-server-4.1.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-tftp-server-4.0.2/package/yast2-tftp-server.changes 
new/yast2-tftp-server-4.1.0/package/yast2-tftp-server.changes
--- old/yast2-tftp-server-4.0.2/package/yast2-tftp-server.changes       
2018-04-05 14:21:09.000000000 +0200
+++ new/yast2-tftp-server-4.1.0/package/yast2-tftp-server.changes       
2018-06-19 15:51:31.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Jun 19 12:22:19 UTC 2018 - [email protected]
+
+- Use yast2-journal to read logs from journal (bsc#1008493)
+- 4.1.0
+
+-------------------------------------------------------------------
 Thu Apr  5 10:10:45 UTC 2018 - [email protected]
 
 - do not report error when cloning without tftp installed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-tftp-server-4.0.2/package/yast2-tftp-server.spec 
new/yast2-tftp-server-4.1.0/package/yast2-tftp-server.spec
--- old/yast2-tftp-server-4.0.2/package/yast2-tftp-server.spec  2018-04-05 
14:21:09.000000000 +0200
+++ new/yast2-tftp-server-4.1.0/package/yast2-tftp-server.spec  2018-06-19 
15:51:31.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-tftp-server
-Version:        4.0.2
+Version:        4.1.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -37,6 +37,8 @@
 
 # SuSEFirewall2 replace by firewalld (fate#323460)
 Requires:       yast2 >= 4.0.39
+# for reading logs from journal
+Requires:       yast2-journal >= 4.1.0
 Requires:      lsof
 Requires:      augeas-lenses
 Requires:       rubygem(%rb_default_ruby_abi:cfa)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-tftp-server-4.0.2/src/include/tftp-server/dialogs.rb 
new/yast2-tftp-server-4.1.0/src/include/tftp-server/dialogs.rb
--- old/yast2-tftp-server-4.0.2/src/include/tftp-server/dialogs.rb      
2018-04-05 14:21:09.000000000 +0200
+++ new/yast2-tftp-server-4.1.0/src/include/tftp-server/dialogs.rb      
2018-06-19 15:51:31.000000000 +0200
@@ -6,6 +6,10 @@
 # Authors:     Martin Vidner <[email protected]>
 #
 # $Id$
+
+require "systemd_journal/entries_dialog"
+require "systemd_journal/query"
+
 module Yast
   module TftpServerDialogsInclude
     def initialize_tftp_server_dialogs(include_target)
@@ -15,7 +19,6 @@
 
       Yast.import "CWMFirewallInterfaces"
       Yast.import "Label"
-      Yast.import "LogView"
       Yast.import "Message"
       Yast.import "Mode"
       Yast.import "Package"
@@ -188,7 +191,9 @@
           )
           UI.ChangeWidget(Id(:directory), :Value, directory) if directory != 
nil
         elsif ret == :viewlog
-          LogView.DisplayFiltered("/var/log/messages", "\\(tftp\\|TFTP\\)")
+          # show both service and socket logs for current boot
+          query = SystemdJournal::Query.new(interval: "0", filters: { "unit" 
=> ["tftp.service", "tftp.socket"] })
+          SystemdJournal::EntriesDialog.new(query: query).run
         end
 
         # validity checks


Reply via email to