From bc4674d87527c63c96475fe47e67d1e9bb846563dd8f2c1dfc32da147e962917 Mon Sep 17 00:00:00 2001 From: Ancor Gonzalez Sosa Date: Fri, 6 Feb 2015 16:48:22 +0000 Subject: [PATCH] - UI improvement: filters are activated on value changes - Some cleanup in the strings for better internationalization - Updated to use the latest version of the YaST libraries - 0.2.2 - Only offer 'previous boot' as a time interval if there are really entries for such boot. - Version 0.2.1 - New default interval in the filter: last 24 hours. - Better handling of journalctl errors. - Fixes in desktop file: moved to the proper YaST section (misc) and remove incorrect X-KDE-Library directive. - Initial unit tests added. - Version 0.2.0 - Initial prototype OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-journal?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + yast2-journal-0.2.2.tar.bz2 | 3 ++ yast2-journal.changes | 30 ++++++++++++++++ yast2-journal.spec | 69 +++++++++++++++++++++++++++++++++++++ 5 files changed, 126 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 yast2-journal-0.2.2.tar.bz2 create mode 100644 yast2-journal.changes create mode 100644 yast2-journal.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/yast2-journal-0.2.2.tar.bz2 b/yast2-journal-0.2.2.tar.bz2 new file mode 100644 index 0000000..b86bb23 --- /dev/null +++ b/yast2-journal-0.2.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef7a3c18b0164f92e756dca27996a49a6e4601658399f704166adbbc45839d1d +size 22074 diff --git a/yast2-journal.changes b/yast2-journal.changes new file mode 100644 index 0000000..f0ec027 --- /dev/null +++ b/yast2-journal.changes @@ -0,0 +1,30 @@ +------------------------------------------------------------------- +Fri Feb 6 15:18:18 UTC 2015 - ancor@suse.com + +- UI improvement: filters are activated on value changes +- Some cleanup in the strings for better internationalization +- Updated to use the latest version of the YaST libraries +- 0.2.2 + +------------------------------------------------------------------- +Tue Jan 27 08:34:17 UTC 2015 - ancor@suse.com + +- Only offer 'previous boot' as a time interval if there are really + entries for such boot. +- Version 0.2.1 + +------------------------------------------------------------------- +Thu Dec 4 16:11:29 UTC 2014 - ancor@suse.com + +- New default interval in the filter: last 24 hours. +- Better handling of journalctl errors. +- Fixes in desktop file: moved to the proper YaST section (misc) + and remove incorrect X-KDE-Library directive. +- Initial unit tests added. +- Version 0.2.0 + +------------------------------------------------------------------- +Tue Dec 2 15:48:17 UTC 2014 - ancor@suse.com + +- Initial prototype + diff --git a/yast2-journal.spec b/yast2-journal.spec new file mode 100644 index 0000000..e2f8540 --- /dev/null +++ b/yast2-journal.spec @@ -0,0 +1,69 @@ +# +# spec file for package yast2-journal +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: yast2-journal +Version: 0.2.2 +Release: 0 +BuildArch: noarch + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: %{name}-%{version}.tar.bz2 + +# First version with base Dialog class +Requires: yast2 >= 3.1.117 +Requires: yast2-ruby-bindings + +BuildRequires: update-desktop-files +# First version with the RSpec extensions +BuildRequires: yast2 +BuildRequires: yast2-devtools +BuildRequires: yast2-ruby-bindings >= 3.1.26 +#for install task +BuildRequires: rubygem(yast-rake) +# for tests +BuildRequires: rubygem(rspec) + +Url: https://github.com/ancorgs/yast-journal +Summary: YaST2 - Reading of systemd journal +License: GPL-2.0 or GPL-3.0 +Group: System/YaST + +%description +A YaST2 module to read the systemd journal in a convenient and +user-friendly way. + +%prep +%setup -n %{name}-%{version} + +%check +rake test:unit + +%install +rake install DESTDIR="%{buildroot}" + +%files +%defattr(-,root,root) +%{yast_dir}/clients/*.rb +%{yast_dir}/lib/systemd_journal +%{yast_desktopdir}/journal.desktop + +%doc COPYING + +%build + +%changelog