This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "YaST web service".
The branch, master has been updated
via 3aadb5e35028de49edef92e6b155db4bedc2c7a7 (commit)
via 899096cc9f4d28a7ba11f8368cc89028f38f30d0 (commit)
from a0a9aa09a1a59665c786351dfdbf8bd61b80bab3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3aadb5e35028de49edef92e6b155db4bedc2c7a7
Author: Martin Vidner
Date: Wed Jun 24 12:06:59 2009 +0200
0.0.3
using rubygem-yast2-webservice-tasks in Rakefile
commit 899096cc9f4d28a7ba11f8368cc89028f38f30d0
Author: Martin Vidner
Date: Wed Jun 24 12:06:03 2009 +0200
Removed %config
-----------------------------------------------------------------------
Summary of changes and diff:
plugins/services/Rakefile | 21 ++++++---------
.../package/yast2-webservice-services.changes | 11 ++++++++
.../package/yast2-webservice-services.spec | 27 +++++++++----------
3 files changed, 32 insertions(+), 27 deletions(-)
diff --git a/plugins/services/Rakefile b/plugins/services/Rakefile
index f3a9230..2bb841f 100644
--- a/plugins/services/Rakefile
+++ b/plugins/services/Rakefile
@@ -1,12 +1,16 @@
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
-require 'rake/packagetask'
+begin
+ require 'tasks/webservice'
+rescue LoadError => e
+ $stderr.puts "Install rubygem-yast2-webservice-tasks.rpm"
+end
desc 'Default: run unit tests.'
task :default => :test
-desc 'Test the services plugin.'
+desc 'Test this plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
@@ -14,24 +18,15 @@ Rake::TestTask.new(:test) do |t|
t.verbose = true
end
-desc 'Generate documentation for the services plugin.'
+desc 'Generate documentation for this plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Services'
+ rdoc.rdoc_dir = 'rdoc'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-desc 'Generate tarball package'
-Rake::PackageTask.new('www', :noversion) do |p|
- %x[rm -r package/www]
- p.need_tar_bz2 = true
- p.package_dir = 'package'
- p.package_files.include('**/*')
- p.package_files.exclude('package')
-end
-
desc "install policies"
task :install do |t|
Dir.glob("**/*.policy").each do |policy|
diff --git a/plugins/services/package/yast2-webservice-services.changes b/plugins/services/package/yast2-webservice-services.changes
index e2df92b..c1709a4 100644
--- a/plugins/services/package/yast2-webservice-services.changes
+++ b/plugins/services/package/yast2-webservice-services.changes
@@ -1,4 +1,15 @@
-------------------------------------------------------------------
+Wed Jun 24 10:40:44 CEST 2009 - mvidner@suse.cz
+
+- /services shows all services, not just fakes (but avoids "halt")
+- /services no longer includes command info, /services/FOO does.
+- /services is now sorted, disable by ?sort=0
+- /commands/update:
+ * call /etc/init.d/FOO, /usr/sbin/rcFOO is nonstandard
+ * always return exit+stdout+stderr
+- 0.0.3
+
+-------------------------------------------------------------------
Fri Apr 17 11:50:12 CEST 2009 - schubi@suse.de
- splitted off from yast2-webservice
diff --git a/plugins/services/package/yast2-webservice-services.spec b/plugins/services/package/yast2-webservice-services.spec
index 010362d..c56a787 100644
--- a/plugins/services/package/yast2-webservice-services.spec
+++ b/plugins/services/package/yast2-webservice-services.spec
@@ -15,7 +15,7 @@ Provides: yast2-webservice:/srv/www/yastws/app/controllers/services_contro
License: MIT
Group: Productivity/Networking/Web/Utilities
Autoreqprov: on
-Version: 0.0.1
+Version: 0.0.3
Release: 0
Summary: YaST2 - Webservice - Services
Source: www.tar.bz2
@@ -69,16 +69,15 @@ rm -rf $RPM_BUILD_ROOT
%dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
%dir /usr/share/PolicyKit
%dir /usr/share/PolicyKit/policy
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/MIT-LICENSE
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/README
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/Rakefile
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/init.rb
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/install.rb
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/uninstall.rb
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/app
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/config
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/lib
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/tasks
-%config /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/test
-%attr(644,root,root) %config /usr/share/PolicyKit/policy/org.opensuse.yast.system.%{plugin_name}.policy
-
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/MIT-LICENSE
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/README
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/Rakefile
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/init.rb
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/install.rb
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/uninstall.rb
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/app
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/config
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/lib
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/tasks
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/test
+%attr(644,root,root) /usr/share/PolicyKit/policy/org.opensuse.yast.system.%{plugin_name}.policy
hooks/post-receive
--
YaST web service
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org