commit webyast-status-ws for openSUSE:Factory
Hello community, here is the log from the commit of package webyast-status-ws for openSUSE:Factory checked in at Sun Oct 16 13:01:37 CEST 2011. --- openSUSE:Factory/webyast-status-ws/webyast-status-ws.changes 2011-09-23 12:50:31.0 +0200 +++ /mounts/work_src_done/STABLE/webyast-status-ws/webyast-status-ws.changes 2011-10-14 12:15:55.0 +0200 @@ -1,0 +2,6 @@ +Fri Oct 14 10:12:05 UTC 2011 - sch...@suse.com + +- resetting cache if the limits have been changed +- 0.2.13 + +--- calling whatdependson for head-i586 Other differences: -- ++ webyast-status-ws.spec ++ --- /var/tmp/diff_new_pack.0l2gcH/_old 2011-10-16 13:01:32.0 +0200 +++ /var/tmp/diff_new_pack.0l2gcH/_new 2011-10-16 13:01:32.0 +0200 @@ -27,8 +27,8 @@ Group: Productivity/Networking/Web/Utilities Url:http://en.opensuse.org/Portal:WebYaST AutoReqProv:on -Version:0.2.12 -Release:1 +Version:0.2.13 +Release:0 Summary:WebYaST - system status service Source: www.tar.bz2 Source1:org.opensuse.yast.system.status.policy @@ -52,7 +52,6 @@ # %package testsuite - 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-08-03 10:58:03.0 +0200 +++ new/www/app/models/graph.rb 2011-10-14 12:11:50.0 +0200 @@ -388,6 +388,8 @@ f.write(config.to_yaml) f.close end +YastCache.delete(self) +YastCache.delete(Metric.new) end # converts the graph to xml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/models/metric.rb new/www/app/models/metric.rb --- old/www/app/models/metric.rb2011-08-03 10:58:03.0 +0200 +++ new/www/app/models/metric.rb2011-10-14 12:11:50.0 +0200 @@ -169,11 +169,11 @@ end # initialize with the path to the rrdb database - def initialize(path) + def initialize(path = nil) @path = path # these values can be extracted from the file but we cache # them -@host, @plugin, @plugin_instance, @type, @type_instance = Metric.parse_file_path(path) +@host, @plugin, @plugin_instance, @type, @type_instance = Metric.parse_file_path(path) unless path.blank? end continue with q... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit webyast-status-ws for openSUSE:Factory
Hello community, here is the log from the commit of package webyast-status-ws for openSUSE:Factory checked in at Wed Aug 3 18:07:39 CEST 2011. --- webyast-status-ws/webyast-status-ws.changes 2011-05-27 15:42:00.0 +0200 +++ /mounts/work_src_done/STABLE/webyast-status-ws/webyast-status-ws.changes 2011-08-03 11:38:43.0 +0200 @@ -1,0 +2,12 @@ +Wed Aug 3 09:37:35 UTC 2011 - sch...@novell.com + +- fixed build for 12.1 +- 0.2.12 + +--- +Tue Jun 7 08:50:11 UTC 2011 - vle...@novell.com + +- Updated Czech translations (jsrain) +- 0.2.11 + +--- calling whatdependson for head-i586 Other differences: -- ++ webyast-status-ws.spec ++ --- /var/tmp/diff_new_pack.Ta3t9T/_old 2011-08-03 18:07:26.0 +0200 +++ /var/tmp/diff_new_pack.Ta3t9T/_new 2011-08-03 18:07:26.0 +0200 @@ -27,7 +27,7 @@ Group: Productivity/Networking/Web/Utilities Url:http://en.opensuse.org/Portal:WebYaST AutoReqProv:on -Version:0.2.10 +Version:0.2.12 Release:1 Summary:WebYaST - system status service Source: www.tar.bz2 @@ -53,7 +53,6 @@ %package testsuite - Group: Productivity/Networking/Web/Utilities Requires: %{name} = %{version} Requires: webyast-base-ws-testsuite @@ -168,7 +167,7 @@ %dir %{webyast_ws_dir}/vendor/plugins %dir %{plugin_dir} %dir %{plugin_dir}/doc -%dir %{plugin_dir}/locale +%{plugin_dir}/locale %{plugin_dir}/app %{plugin_dir}/doc/README_FOR_APP %{plugin_dir}/doc/logs.yml ++ www.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/po/cs/webyast-status-ws.po new/www/po/cs/webyast-status-ws.po --- old/www/po/cs/webyast-status-ws.po 1970-01-01 01:00:00.0 +0100 +++ new/www/po/cs/webyast-status-ws.po 2011-08-03 10:58:03.0 +0200 @@ -0,0 +1,53 @@ +# Vojtěch Zeisek vojtech.zei...@opensuse.org, 2010. +msgid +msgstr +Project-Id-Version: @PACKAGE@\n +Report-Msgid-Bugs-To: \n +POT-Creation-Date: 2011-03-04 11:25+0100\n +PO-Revision-Date: 2010-06-05 19:00+0200\n +Last-Translator: Vojtěch Zeisek vojtech.zei...@opensuse.org\n +Language-Team: Czech opensuse-translat...@opensuse.org\n +Language: cs\n +MIME-Version: 1.0\n +Content-Type: text/plain; charset=UTF-8\n +Content-Transfer-Encoding: 8bit\n +X-Generator: Lokalize 1.0\n +Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n=2 n=4) ? 1 : 2;\n + +#: app/models/graph.rb:116 app/models/graph.rb:116 +msgid GByte +msgstr Gbytů + +#: app/models/graph.rb:117 app/models/graph.rb:117 +msgid Disk +msgstr Disk + +#: app/models/graph.rb:140 config/status_configuration.yaml:6 +#: app/models/graph.rb:140 config/status_configuration.yaml:6 +msgid MByte/s +msgstr Mbytů/s + +#: app/models/graph.rb:141 config/status_configuration.yaml:4 +#: app/models/graph.rb:141 config/status_configuration.yaml:4 +msgid Network +msgstr Síť + +#: app/models/graph.rb:163 config/status_configuration.yaml:64 +#: app/models/graph.rb:163 config/status_configuration.yaml:64 +msgid MByte +msgstr Mbytů + +#: app/models/graph.rb:164 config/status_configuration.yaml:62 +#: app/models/graph.rb:164 config/status_configuration.yaml:62 +msgid Memory +msgstr Paměť + +#: app/models/graph.rb:185 config/status_configuration.yaml:29 +#: app/models/graph.rb:185 config/status_configuration.yaml:29 +msgid Percent +msgstr Procento + +#: app/models/graph.rb:186 config/status_configuration.yaml:27 +#: app/models/graph.rb:186 config/status_configuration.yaml:27 +msgid CPU +msgstr CPU Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit webyast-status-ws for openSUSE:Factory
Hello community, here is the log from the commit of package webyast-status-ws for openSUSE:Factory checked in at Tue May 31 16:25:32 CEST 2011. --- webyast-status-ws/webyast-status-ws.changes 2011-05-16 12:50:54.0 +0200 +++ /mounts/work_src_done/STABLE/webyast-status-ws/webyast-status-ws.changes 2011-05-27 15:42:00.0 +0200 @@ -1,0 +2,6 @@ +Fri May 27 13:38:54 UTC 2011 - sch...@novell.com + +- taking care about s390 network (bnc#696496) +- 0.2.10 + +--- calling whatdependson for head-i586 Other differences: -- ++ webyast-status-ws.spec ++ --- /var/tmp/diff_new_pack.OWr4AS/_old 2011-05-31 16:24:30.0 +0200 +++ /var/tmp/diff_new_pack.OWr4AS/_new 2011-05-31 16:24:30.0 +0200 @@ -27,7 +27,7 @@ Group: Productivity/Networking/Web/Utilities Url:http://en.opensuse.org/Portal:WebYaST AutoReqProv:on -Version:0.2.9 +Version:0.2.10 Release:1 Summary:WebYaST - system status service Source: www.tar.bz2 @@ -53,6 +53,7 @@ %package testsuite + 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-05-10 13:53:10.0 +0200 +++ new/www/app/models/graph.rb 2011-05-27 15:35:47.0 +0200 @@ -146,7 +146,8 @@ y_decimal_places=0, single_graphs=[]} metrics.each do |metric| - if metric.type == if_packets metric.type_instance.start_with?(eth) + if metric.type == if_packets + (metric.type_instance.start_with?(eth) || metric.type_instance.start_with?(ctc)) metric_id = metric.id[metric.host.length+1..metric.id.length-1] #cut off host-id network[single_graphs] {lines=[{label=received, limits={max=0, min=0}, metric_column=rx, metric_id=metric_id}, Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit webyast-status-ws for openSUSE:Factory
Hello community, here is the log from the commit of package webyast-status-ws for openSUSE:Factory checked in at Wed May 4 10:42:46 CEST 2011. --- webyast-status-ws/webyast-status-ws.changes 2011-02-09 09:28:27.0 +0100 +++ /mounts/work_src_done/STABLE/webyast-status-ws/webyast-status-ws.changes 2011-05-02 14:45:24.0 +0200 @@ -1,0 +2,12 @@ +Mon May 2 12:45:10 UTC 2011 - sch...@novell.com + +- adapt caching to the new job handling +- 0.2.7 + +--- +Tue Apr 12 13:30:44 UTC 2011 - sch...@novell.com + +- new caching +- 0.2.6 + +--- calling whatdependson for head-i586 Other differences: -- ++ webyast-status-ws.spec ++ --- /var/tmp/diff_new_pack.Ra6I1b/_old 2011-05-04 10:39:21.0 +0200 +++ /var/tmp/diff_new_pack.Ra6I1b/_new 2011-05-04 10:39:21.0 +0200 @@ -27,7 +27,7 @@ Group: Productivity/Networking/Web/Utilities Url:http://en.opensuse.org/Portal:WebYaST AutoReqProv:on -Version:0.2.5 +Version:0.2.7 Release:1 Summary:WebYaST - system status service Source: www.tar.bz2 ++ www.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/controllers/graphs_controller.rb new/www/app/controllers/graphs_controller.rb --- old/www/app/controllers/graphs_controller.rb2011-02-01 10:49:25.0 +0100 +++ new/www/app/controllers/graphs_controller.rb2011-04-11 12:49:05.0 +0200 @@ -62,11 +62,7 @@ def index permission_check(org.opensuse.yast.system.status.read) # RORSCAN_ITL init_translation - -bgr = params['background'] == 'true' -Rails.logger.info Reading status in background if bgr - -@graph = Graph.find(:all, params[:checklimits] || false, {:background = bgr}) +@graph = Graph.find(:all, params[:checklimits] || true) render :show end @@ -76,6 +72,6 @@ def show permission_check(org.opensuse.yast.system.status.read) # RORSCAN_ITL init_translation -@graph = Graph.find(params[:id], params[:checklimits] || false) +@graph = Graph.find(params[:id], params[:checklimits] || true) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/controllers/plugins_controller.rb new/www/app/controllers/plugins_controller.rb --- old/www/app/controllers/plugins_controller.rb 2011-02-01 10:49:25.0 +0100 +++ new/www/app/controllers/plugins_controller.rb 2011-04-11 12:49:05.0 +0200 @@ -63,8 +63,9 @@ # def index permission_check(org.opensuse.yast.system.status.read) # RORSCAN_ITL -load_translations -@plugins = Plugin.find(:all) +what = :all +load_translations unless Rails.cache.exist?(plugin:find:#{what.inspect}) +@plugins = Plugin.find(what) render :show end @@ -73,7 +74,7 @@ # def show permission_check(org.opensuse.yast.system.status.read) # RORSCAN_ITL -load_translations +load_translations unless Rails.cache.exist?(plugin:find:#{params[:id]}) @plugins = Plugin.find(params[:id]) render :show end 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-02-01 10:49:11.0 +0100 +++ new/www/app/models/graph.rb 2011-04-29 18:23:25.0 +0200 @@ -38,10 +38,6 @@ attr_reader :y_decimal_places attr_reader :single_graphs - CONFIGURATION_FILE = status_configuration.yaml - TRANSLATE = true - - private # avoid race conditions when creating the config file @@ -49,10 +45,14 @@ # @@mutex = Mutex.new + #global variables + @@configuration_file = status_configuration.yaml + @@translate = true + # # reading data from Metric # - def read_data(id) + def self.read_data(id) data = {} metric = Metric.find(id) data = metric.data() if metric @@ -66,7 +66,7 @@ def check_limits(metric_id, metric_column, limits) id = Metric.default_host + + + metric_id metric_column ||= value -data = read_data(id) +data = Graph.read_data(id) limit_reached = false data.each do |key, values| if key == metric_column @@ -84,7 +84,7 @@ end break if limit_reached end -return limit_reached +limit_reached end # @@ -244,7 +244,7 @@ # reading configuration file # def self.parse_config(translate = false, path = nil) -path = File.join(Graph.plugin_config_dir(), CONFIGURATION_FILE ) if path == nil +path = File.join(Graph.plugin_config_dir(), @@configuration_file ) if path == nil #create default configuration file Graph.create_config(path)