Hello community,

here is the log from the commit of package yast2-tune for openSUSE:Factory 
checked in at 2017-02-04 15:18:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-tune (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-tune.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-tune"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-tune/yast2-tune.changes    2016-07-24 
19:42:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-tune.new/yast2-tune.changes       
2017-02-04 16:52:36.428590164 +0100
@@ -1,0 +2,6 @@
+Fri Jan 20 16:21:30 UTC 2017 - [email protected]
+
+- Added Tune::Widgets::SystemInformation (FATE#322328).
+- 3.2.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-tune-3.1.9.tar.bz2

New:
----
  yast2-tune-3.2.0.tar.bz2

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

Other differences:
------------------
++++++ yast2-tune.spec ++++++
--- /var/tmp/diff_new_pack.BUfYID/_old  2017-02-04 16:52:36.828533220 +0100
+++ /var/tmp/diff_new_pack.BUfYID/_new  2017-02-04 16:52:36.832532650 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-tune
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-tune
-Version:        3.1.9
+Version:        3.2.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -81,6 +81,8 @@
 %{yast_desktopdir}/hwinfo.desktop
 %{yast_desktopdir}/system_settings.desktop
 %{yast_moduledir}/*.rb
+%dir %{yast_libdir}/tune
+%{yast_libdir}/tune/*.rb
 %{yast_scrconfdir}/*.scr
 %dir %{yast_docdir}
 %doc %{yast_docdir}/COPYING

++++++ yast2-tune-3.1.9.tar.bz2 -> yast2-tune-3.2.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/.travis.yml 
new/yast2-tune-3.2.0/.travis.yml
--- old/yast2-tune-3.1.9/.travis.yml    2016-07-14 09:51:43.853822812 +0200
+++ new/yast2-tune-3.2.0/.travis.yml    2017-01-31 09:51:51.391173433 +0100
@@ -1,13 +1,11 @@
-language: cpp
-compiler:
-    - gcc
+sudo: required
+language: bash
+services:
+  - docker
+
 before_install:
-    # disable rvm, use system Ruby
-    - rvm reset
-    - wget 
https://raw.githubusercontent.com/yast/yast-devtools/SLE-12-GA/travis-tools/travis_setup.sh
-    - sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2 
yast2-bootloader yast2-storage" -g "yast-rake gettext rspec:3.3.0 simplecov 
coveralls"
+  - docker build -t yast-tune-image .
 script:
-    - rake check:syntax
-    - rake check:pot
-    - COVERAGE=1 rake test:unit
-    - sudo rake install
+  # the "yast-travis-ruby" script is included in the base yastdevel/ruby image
+  # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
+  - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-tune-image yast-travis-ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/CONTRIBUTING.md 
new/yast2-tune-3.2.0/CONTRIBUTING.md
--- old/yast2-tune-3.1.9/CONTRIBUTING.md        2016-07-14 09:51:43.861822812 
+0200
+++ new/yast2-tune-3.2.0/CONTRIBUTING.md        2017-01-31 09:51:51.403173433 
+0100
@@ -3,7 +3,7 @@
 
 YaST is an open source project and as such it welcomes all kinds of
 contributions. If you decide to contribute, please follow these guidelines to
-ensure the process is effective and pleasant both for you and YaST maintainers.
+ensure the process is effective and pleasant both for you and the YaST 
maintainers.
 
 There are two main forms of contribution: reporting bugs and performing code
 changes.
@@ -17,13 +17,11 @@
 
registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp)
 if you don't have an account yet.)
 
-If you find a problem, please report it either using
-[Bugzilla](https://bugzilla.suse.com/) or GitHub issues. We can't guarantee
-that every bug will be fixed, but we'll try.
-
 When creating a bug report, please follow our [bug reporting
 guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug).
 
+We can't guarantee that every bug will be fixed, but we'll try.
+
 Code Changes
 ------------
 
@@ -44,15 +42,22 @@
      to the [Ruby style
      guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md).
 
-  4. Make sure your change didn't break anything by building the RPM package
+  4. Update the package version (in `packages/*.spec`, usually by
+     `rake version:bump`) and add a new entry to the `package/*.changes` file
+     (by `osc vc package`).  
+     For bigger changes or changes which need longer discussion it is advised 
to
+     add this as a separate last commit so it can be easily updated when 
another
+     change is merged in the meantime.
+
+  5. Make sure your change didn't break anything by building the RPM package
      (`rake osc:build`). The build process includes running the full testsuite.
 
-  5. Publish the branch and create a pull request.
+  6. Publish the branch and create a pull request.
 
-  6. YaST developers will review your change and possibly point out issues.
+  7. YaST developers will review your change and possibly point out issues.
      Adapt the code under their guidance until they are all resolved.
 
-  7. Finally, the pull request will get merged or rejected.
+  8. Finally, the pull request will get merged or rejected.
 
 See also [GitHub's guide on
 contributing](https://help.github.com/articles/fork-a-repo).
@@ -60,9 +65,6 @@
 If you want to do multiple unrelated changes, use separate branches and pull
 requests.
 
-Do not change the `VERSION` and `*.changes` files as this could lead to
-conflicts.
-
 ### Commits
 
 Each commit in the pull request should do only one thing, which is clearly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/Dockerfile 
new/yast2-tune-3.2.0/Dockerfile
--- old/yast2-tune-3.1.9/Dockerfile     1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-tune-3.2.0/Dockerfile     2017-01-31 09:51:51.407173433 +0100
@@ -0,0 +1,3 @@
+FROM yastdevel/ruby
+COPY . /usr/src/app
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/package/yast2-tune.changes 
new/yast2-tune-3.2.0/package/yast2-tune.changes
--- old/yast2-tune-3.1.9/package/yast2-tune.changes     2016-07-14 
09:51:43.889822812 +0200
+++ new/yast2-tune-3.2.0/package/yast2-tune.changes     2017-01-31 
09:51:51.423173433 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Jan 20 16:21:30 UTC 2017 - [email protected]
+
+- Added Tune::Widgets::SystemInformation (FATE#322328).
+- 3.2.0
+
+-------------------------------------------------------------------
 Mon Jul 11 12:24:21 UTC 2016 - [email protected]
 
 - Prevent scheduler settings to be removed during installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/package/yast2-tune.spec 
new/yast2-tune-3.2.0/package/yast2-tune.spec
--- old/yast2-tune-3.1.9/package/yast2-tune.spec        2016-07-14 
09:51:43.889822812 +0200
+++ new/yast2-tune-3.2.0/package/yast2-tune.spec        2017-01-31 
09:51:51.423173433 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-tune
-Version:        3.1.9
+Version:        3.2.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -81,6 +81,8 @@
 %{yast_desktopdir}/hwinfo.desktop
 %{yast_desktopdir}/system_settings.desktop
 %{yast_moduledir}/*.rb
+%dir %{yast_libdir}/tune
+%{yast_libdir}/tune/*.rb
 %{yast_scrconfdir}/*.scr
 %dir %{yast_docdir}
 %doc %{yast_docdir}/COPYING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/src/Makefile.am 
new/yast2-tune-3.2.0/src/Makefile.am
--- old/yast2-tune-3.1.9/src/Makefile.am        2016-07-14 09:51:43.889822812 
+0200
+++ new/yast2-tune-3.2.0/src/Makefile.am        2017-01-31 09:51:51.423173433 
+0100
@@ -12,6 +12,10 @@
   clients/hwinfo.rb \
   clients/system_settings_finish.rb
 
+ylibdir = "${yast2dir}/lib/tune"
+ylib_DATA = \
+  lib/tune/widgets.rb
+
 yncludedir = @yncludedir@/hwinfo
 ynclude_DATA = \
   include/hwinfo/system_settings_ui.rb \
@@ -26,6 +30,6 @@
   desktop/system_settings.desktop \
   desktop/hwinfo.desktop
 
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(desktop_DATA)
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ylib_DATA) $(ynclude_DATA) 
$(scrconf_DATA) $(desktop_DATA)
 
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/src/lib/tune/widgets.rb 
new/yast2-tune-3.2.0/src/lib/tune/widgets.rb
--- old/yast2-tune-3.1.9/src/lib/tune/widgets.rb        1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-tune-3.2.0/src/lib/tune/widgets.rb        2017-01-31 
09:51:51.455173433 +0100
@@ -0,0 +1,44 @@
+# encoding: utf-8
+
+# 
------------------------------------------------------------------------------
+# Copyright (c) 2017 SUSE LLC
+#
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of version 2 of the GNU General Public License as published by the
+# Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, contact SUSE.
+#
+# To contact SUSE about this file by physical or electronic mail, you may find
+# current contact information at www.suse.com.
+# 
------------------------------------------------------------------------------
+
+require "yast"
+require "cwm/widget"
+
+module Tune
+  module Widgets
+    class SystemInformation < CWM::PushButton
+      def initialize
+        textdomain "tune"
+      end
+
+      def label
+        # PushButton label
+        _("System Information")
+      end
+
+      def handle
+        Yast::WFM.CallFunction("inst_hwinfo", [])
+        # stay in the dialog
+        nil
+      end
+    end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.9/test/system_settings_test.rb 
new/yast2-tune-3.2.0/test/system_settings_test.rb
--- old/yast2-tune-3.1.9/test/system_settings_test.rb   2016-07-14 
09:51:43.917822812 +0200
+++ new/yast2-tune-3.2.0/test/system_settings_test.rb   2017-01-31 
09:51:51.463173433 +0100
@@ -12,6 +12,7 @@
 
   before do
     allow(File).to receive(:exist?).and_return(true)
+    allow(Yast::Bootloader).to receive(:Read)
     settings.main
   end
 
@@ -27,7 +28,6 @@
     let(:scheduler)     { "cfq" }
 
     before do
-      allow(Yast::SCR).to receive(:Read).and_call_original
       allow(Yast::SCR).to receive(:Read)
         .with(Yast::Path.new(".etc.sysctl_conf.\"kernel.sysrq\""))
         .and_return(sysctl_sysrq)


Reply via email to