Hello community,

here is the log from the commit of package webyast-status-ws for 
openSUSE:Factory
checked in at Thu May 19 13:15:30 CEST 2011.



--------
--- webyast-status-ws/webyast-status-ws.changes 2011-05-02 14:45:24.000000000 
+0200
+++ /mounts/work_src_done/STABLE/webyast-status-ws/webyast-status-ws.changes    
2011-05-16 12:50:54.000000000 +0200
@@ -1,0 +2,12 @@
+Mon May 16 10:49:47 UTC 2011 - sch...@novell.com
+
+- changed licence to the correct name GPL-2.0
+- 0.2.9 
+
+-------------------------------------------------------------------
+Tue May 10 11:57:20 UTC 2011 - sch...@novell.com
+
+- fixed writing limits (bnc#691982)
+- 0.2.8
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ webyast-status-ws.spec ++++++
--- /var/tmp/diff_new_pack.ocwUhe/_old  2011-05-19 13:14:49.000000000 +0200
+++ /var/tmp/diff_new_pack.ocwUhe/_new  2011-05-19 13:14:49.000000000 +0200
@@ -23,11 +23,11 @@
 Provides:       WebYaST(org.opensuse.yast.system.graphs)
 Provides:       yast2-webservice-status = %{version}
 Obsoletes:      yast2-webservice-status < %{version}
-License:        GPLv2
+License:        GPL-2.0        
 Group:          Productivity/Networking/Web/Utilities
 Url:            http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:    on
-Version:        0.2.7
+Version:        0.2.9
 Release:        1
 Summary:        WebYaST - system status service
 Source:         www.tar.bz2
@@ -52,7 +52,7 @@
 #
 
 %package testsuite
-License:        GPLv2
+
 Group:          Productivity/Networking/Web/Utilities
 Requires:       %{name} = %{version}
 Requires:       webyast-base-ws-testsuite



++++++ www.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/models/graph.rb new/www/app/models/graph.rb
--- old/www/app/models/graph.rb 2011-04-29 18:23:25.000000000 +0200
+++ new/www/app/models/graph.rb 2011-05-10 13:53:10.000000000 +0200
@@ -71,11 +71,11 @@
     data.each do |key, values|
       if key == metric_column
         values.each do |date, value| 
-          if limits.has_key?("max") && limits["max"].to_i > 0 && value && 
limits["max"].to_i < value/y_scale
+          if limits.has_key?("max") && limits["max"].to_i > 0 && value && 
limits["max"].to_i < value/y_scale.to_i
             Rails.logger.info "Max #{limits['max']} for 
#{metric_id}(#{metric_column}) has been reached"
             limit_reached = true
           end 
-          if limits.has_key?("min") && limits["min"].to_i > 0 && value && 
limits["min"].to_i > value/y_scale
+          if limits.has_key?("min") && limits["min"].to_i > 0 && value && 
limits["min"].to_i > value/y_scale.to_i
             Rails.logger.info "Min #{limits['min']} for 
#{metric_id}(#{metric_column}) has been reached"
             limit_reached = true
           end 
@@ -283,7 +283,6 @@
   def self.find(what, limitcheck = true, opts = {})
     #checking if collectd is running
     raise ServiceNotRunning.new('collectd') unless Metric.collectd_running?
-
     YastCache.fetch(self,what) {
       do_find(what, limitcheck)
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/models/plugin.rb new/www/app/models/plugin.rb
--- old/www/app/models/plugin.rb        2011-04-29 18:23:25.000000000 +0200
+++ new/www/app/models/plugin.rb        2011-05-02 16:24:30.000000000 +0200
@@ -41,10 +41,15 @@
   public
 
   # initialize on element
-  def initialize(level, message_id, short_description, 
-                 long_description, details, confirmation_host, 
-                 confirmation_link, confirmation_label,
-                 confirmation_kind)
+  def initialize(level = "", 
+                 message_id = "", 
+                 short_description = "", 
+                 long_description = "", 
+                 details = "", 
+                 confirmation_host = "", 
+                 confirmation_link = "", 
+                 confirmation_label = "",
+                 confirmation_kind = "")
     @level = level
     @message_id = message_id
     @short_description = short_description


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to