Hello community,
here is the log from the commit of package yast2-devtools for openSUSE:Factory
checked in at Mon Jun 8 16:18:06 CEST 2009.
--------
--- yast2-devtools/yast2-devtools.changes 2009-05-06 19:16:43.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-devtools/yast2-devtools.changes 2009-06-08 14:04:07.000000000 +0200
@@ -1,0 +2,22 @@
+Mon Jun 8 13:58:32 CEST 2009 - lslezak@suse.cz
+
+- 2.18.6
+
+-------------------------------------------------------------------
+Mon May 25 17:32:05 CEST 2009 - lslezak@suse.cz
+
+- added new skeleton 'rest-plugin' for webservice plugins,
+ initial version
+
+-------------------------------------------------------------------
+Wed May 20 17:23:49 CEST 2009 - lslezak@suse.cz
+
+- create-new-package - fixed syntax error (missing semicolon)
+
+-------------------------------------------------------------------
+Wed May 20 13:17:00 CEST 2009 - mvidner@suse.cz
+
+- y2tool tagversion: fixed branch tagging for tmp/* branches such as
+ tmp/SLE-11-SP1-Stash.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-devtools-2.18.5.tar.bz2
New:
----
yast2-devtools-2.18.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-devtools.spec ++++++
--- /var/tmp/diff_new_pack.V17710/_old 2009-06-08 16:17:16.000000000 +0200
+++ /var/tmp/diff_new_pack.V17710/_new 2009-06-08 16:17:16.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-devtools (Version 2.18.5)
+# spec file for package yast2-devtools (Version 2.18.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-devtools
-Version: 2.18.5
+Version: 2.18.6
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-devtools-2.18.5.tar.bz2
+Source0: yast2-devtools-2.18.6.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets gcc-c++ libxslt perl-XML-Writer pkgconfig sgml-skel
Requires: perl
@@ -63,7 +63,7 @@
Michal Svec
%prep
-%setup -n yast2-devtools-2.18.5
+%setup -n yast2-devtools-2.18.6
%build
autoreconf --force --install
@@ -110,6 +110,16 @@
%{prefix}/share/pkgconfig/yast2-devtools.pc
%doc %{prefix}/share/doc/packages/yast2-devtools
%changelog
+* Mon Jun 08 2009 lslezak@suse.cz
+- 2.18.6
+* Mon May 25 2009 lslezak@suse.cz
+- added new skeleton 'rest-plugin' for webservice plugins,
+ initial version
+* Wed May 20 2009 lslezak@suse.cz
+- create-new-package - fixed syntax error (missing semicolon)
+* Wed May 20 2009 mvidner@suse.cz
+- y2tool tagversion: fixed branch tagging for tmp/* branches such as
+ tmp/SLE-11-SP1-Stash.
* Wed May 06 2009 jsrain@suse.cz
- updates of oscupdate
- 2.18.5
++++++ yast2-devtools-2.18.5.tar.bz2 -> yast2-devtools-2.18.6.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/configure new/yast2-devtools-2.18.6/configure
--- old/yast2-devtools-2.18.5/configure 2009-05-06 19:14:21.000000000 +0200
+++ new/yast2-devtools-2.18.6/configure 2009-06-08 13:59:17.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-devtools 2.18.5.
+# Generated by GNU Autoconf 2.63 for yast2-devtools 2.18.6.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-devtools'
PACKAGE_TARNAME='yast2-devtools'
-PACKAGE_VERSION='2.18.5'
-PACKAGE_STRING='yast2-devtools 2.18.5'
+PACKAGE_VERSION='2.18.6'
+PACKAGE_STRING='yast2-devtools 2.18.6'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1535,7 +1535,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-devtools 2.18.5 to adapt to many kinds of systems.
+\`configure' configures yast2-devtools 2.18.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1606,7 +1606,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-devtools 2.18.5:";;
+ short | recursive ) echo "Configuration of yast2-devtools 2.18.6:";;
esac
cat <<\_ACEOF
@@ -1715,7 +1715,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-devtools configure 2.18.5
+yast2-devtools configure 2.18.6
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1729,7 +1729,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-devtools $as_me 2.18.5, which was
+It was created by yast2-devtools $as_me 2.18.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2576,7 +2576,7 @@
# Define the identity of the package.
PACKAGE='yast2-devtools'
- VERSION='2.18.5'
+ VERSION='2.18.6'
cat >>confdefs.h <<_ACEOF
@@ -2800,7 +2800,7 @@
-VERSION="2.18.5"
+VERSION="2.18.6"
RPMNAME="yast2-devtools"
MAINTAINER="Martin Vidner "
@@ -16530,7 +16530,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-devtools $as_me 2.18.5, which was
+This file was extended by yast2-devtools $as_me 2.18.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16584,7 +16584,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-devtools config.status 2.18.5
+yast2-devtools config.status 2.18.6
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/configure.in new/yast2-devtools-2.18.6/configure.in
--- old/yast2-devtools-2.18.5/configure.in 2009-05-06 19:14:09.000000000 +0200
+++ new/yast2-devtools-2.18.6/configure.in 2009-06-08 13:59:00.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-devtools
dnl
-dnl -- This file is generated by y2autoconf 2.18.5 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-devtools, 2.18.5, http://bugs.opensuse.org/, yast2-devtools)
+AC_INIT(yast2-devtools, 2.18.6, http://bugs.opensuse.org/, yast2-devtools)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.18.5"
+VERSION="2.18.6"
RPMNAME="yast2-devtools"
MAINTAINER="Martin Vidner "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/admin/all-packages new/yast2-devtools-2.18.6/devtools/admin/all-packages
--- old/yast2-devtools-2.18.5/devtools/admin/all-packages 2008-09-11 08:37:54.000000000 +0200
+++ new/yast2-devtools-2.18.6/devtools/admin/all-packages 2009-06-08 13:57:06.000000000 +0200
@@ -1,5 +1,5 @@
# All yast2 packages
-# $Id: all-packages 50925 2008-09-10 08:44:08Z gs $
+# $Id: all-packages 57441 2009-06-04 12:46:36Z mkudlvasr $
#
# Use TABS to delimit fields.
# where fields:
@@ -23,6 +23,7 @@
yast2-ycp-ui-bindings inst-sys,default all
yast2-control-center default all
yast2-gtk default all
+yast2-gtk-pkg default all
yast2-control-center-gnome default all
yast2-ncurses inst-sys,default all
yast2-ncurses-pkg inst-sys,default all
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/bin/create-new-package new/yast2-devtools-2.18.6/devtools/bin/create-new-package
--- old/yast2-devtools-2.18.5/devtools/bin/create-new-package 2009-03-06 08:23:02.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/bin/create-new-package 2009-05-20 17:22:53.000000000 +0200
@@ -153,7 +153,7 @@
}
print ("\n\n Your package '$new_name' was successfully created\n\n");
- print ("(To work with it, do not forget: cd $target_dir)\n\n")
+ print ("(To work with it, do not forget: cd $target_dir)\n\n");
print ("If you 'svn import' *before* building it, it will be easier.\n");
print ("After that, 'y2tool svnignore' will be useful\n");
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/bin/tagversion new/yast2-devtools-2.18.6/devtools/bin/tagversion
--- old/yast2-devtools-2.18.5/devtools/bin/tagversion 2008-04-18 16:37:17.000000000 +0200
+++ new/yast2-devtools-2.18.6/devtools/bin/tagversion 2009-05-20 17:16:06.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: tagversion 46765 2008-04-16 16:21:00Z mvidner $
+# $Id: tagversion 57259 2009-05-20 11:17:48Z mvidner $
usage () {
echo "tagversion, tag version in subversion"
echo "options:"
@@ -66,16 +66,18 @@
# means: print just the line on which the subst succeeded
# URLs don't contain spaces so it's safe to use them as delimiters
- svn info | sed -n -e 's@^URL: \(.*\)/\(trunk\|branches/[^/]*\)/\(.*\)$@\1 \2 \3@;T;p;q' | {
+ svn info | sed -n -e 's@^URL: \(.*\)/\(trunk\|branches/.*\)/\([^/]*\)$@\1 \2 \3@;T;p;q' | {
# the pipe creates a subshell. the variables will be lost when it's left
# therefore the {braces}
read REPOSITORY BRANCH MODULE
-
- b=`echo "$BRANCH" | sed -n -e 's@^branches/SuSE-\([^/]*\)-Branch$@\1@;T;p'`
- if [ "$b" ]; then
- t=branch-$b-$v
- else
+ : $REPOSITORY $BRANCH $MODULE
+ b=${BRANCH##branches*/}
+ b=${b#SuSE-}
+ b=${b%-Branch}
+ if [ "$b" = "trunk" ]; then
t=stable-$v
+ else
+ t=branch-$b-$v
fi
URL_t=$REPOSITORY/tags/$t
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/bin/version new/yast2-devtools-2.18.6/devtools/bin/version
--- old/yast2-devtools-2.18.5/devtools/bin/version 2009-05-06 19:14:32.000000000 +0200
+++ new/yast2-devtools-2.18.6/devtools/bin/version 2009-06-08 13:59:38.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/bash
-echo 2.18.5
+echo 2.18.6
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/app/controllers/XXpkgXX_controller.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/app/controllers/XXpkgXX_controller.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/app/controllers/XXpkgXX_controller.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/app/controllers/XXpkgXX_controller.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,139 @@
+
+require "XXpkgXX"
+
+class XXPkgXXController < ApplicationController
+
+ # the user must be logged in
+ before_filter :login_required
+
+ # GET /XXpkgXX
+ # GET /XXpkgXX.xml
+ # GET /XXpkgXX.json
+ def index
+ # read all items
+ # FIXME: use the correct permission ID according to XXPkgXX::find_all function
+# if !permission_check("org.opensuse.yast.modules.yapi.XXpkgXX.list")
+# render ErrorResult.error(403, 1, "no permission") and return
+# end
+# FIXME: ^^^^ uncomment this block!!
+
+ @items = XXPkgXX.find_all
+
+ respond_to do |format|
+ format.html { render :xml => @items, :location => "none" } #return xml only
+ format.xml { render :xml => @items, :location => "none" }
+ format.json { render :json => @items.to_json, :location => "none" }
+ end
+ end
+
+ # GET /XXpkgXX/id
+ # GET /XXpkgXX/id.xml
+ # GET /XXpkgXX/id.json
+ # return properties of one item
+ def show
+ # FIXME: use the correct permission ID according to XXPkgXX::find function
+# if !permission_check("org.opensuse.yast.modules.yapi.XXpkgXX.get")
+# render ErrorResult.error(403, 1, "no permission") and return
+# end
+# FIXME: ^^^^ uncomment this block!!
+
+ @item = XXPkgXX.new
+ @item.name = params[:id]
+
+ if !@item.find
+ render ErrorResult.error(404, 2, "item not found") and return
+ end
+
+ respond_to do |format|
+ format.html { render :xml => @item, :location => "none" } #return xml only
+ format.xml { render :xml => @item, :location => "none" }
+ format.json { render :json => @item.to_json, :location => "none" }
+ end
+ end
+
+ # POST /XXpkgXX
+ # POST /XXpkgXX.xml
+ # POST /XXpkgXX.json
+ # create a new item
+ def create
+ @item = XXPkgXX.new
+
+ # FIXME: use the correct permission ID according to XXPkgXX::add function
+ if !permission_check("org.opensuse.yast.modules.yapi.XXpkgXX.add")
+ render ErrorResult.error(403, 1, "no permission") and return
+ else
+ if !@item.update_attributes(params[:id])
+ render ErrorResult.error(404, 2, "input error") and return
+ end
+
+ if !@item.name.blank?
+ if !@item.add
+ render ErrorResult.error(404, 3, "adding share failed") and return
+ end
+ else
+ render ErrorResult.error(404, 4, "empty share name") and return
+ end
+ end
+
+ respond_to do |format|
+ format.html { render :xml => @item, :location => "none" } #return xml only
+ format.xml { render :xml => @item, :location => "none" }
+ format.json { render :json => @item.to_json, :location => "none" }
+ end
+ end
+
+ # PUT /XXpkgXX/id
+ # PUT /XXpkgXX/id.xml
+ # PUT /XXpkgXX/id.json
+ # update one item
+ def update
+ # FIXME: use the correct permission ID according to XXPkgXX::edit function
+ if !permission_check("org.opensuse.yast.modules.yapi.XXpkgXX.edit")
+ render ErrorResult.error(403, 1, "no permission") and return
+ end
+
+ @item = XXPkgXX.find(params[:id][:name])
+
+ render ErrorResult.error(403, 1, "share not found") and return if @item.properties.blank?
+
+ if !@item.update_attributes(params[:id])
+ render ErrorResult.error(404, 2, "input error") and return
+ end
+
+ if !@item.edit
+ render ErrorResult.error(404, 3, "editing share failed") and return
+ end
+
+ respond_to do |format|
+ format.html { render :xml => @item, :location => "none" } #return xml only
+ format.xml { render :xml => @item, :location => "none" }
+ format.json { render :json => @item.to_json, :location => "none" }
+ end
+ end
+
+ # DELETE /XXpkgXX/id
+ # DELETE /XXpkgXX/id.xml
+ # DELETE /XXpkgXX/id.json
+ # delete one item
+ def destroy
+ # FIXME: use the correct permission ID according to XXPkgXX::delete function
+ if !permission_check("org.opensuse.yast.modules.yapi.XXpkgXX.delete")
+ render ErrorResult.error(403, 1, "no permission") and return
+ end
+
+ @item = XXPkgXX.new
+ @item.name = params[:id]
+
+ if !@item.delete
+ render ErrorResult.error(404, 2, "delete failed") and return
+ end
+
+ respond_to do |format|
+ format.html { render :xml => @item, :location => "none" } #return xml only
+ format.xml { render :xml => @item, :location => "none" }
+ format.json { render :json => @item.to_json, :location => "none" }
+ end
+ end
+
+end
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/app/models/XXpkgXX.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/app/models/XXpkgXX.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/app/models/XXpkgXX.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/app/models/XXpkgXX.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,147 @@
+
+# import YastService class
+require "yast_service"
+
+# models XXPkgXX objects
+class XXPkgXX
+
+ # FIXME: adapt to your model, add members to store all needed properties
+ attr_accessor :name,
+ :parameters
+
+ def initialize
+ # unique identification (name, ID number, ...)
+ @name = nil
+
+ # attributes
+ # FIXME: adapt to your model, add as many members as needed...
+ # initialize them to a default or empty values
+ @parameters = nil
+ end
+
+ def XXPkgXX.find_all()
+ # read IDs of all existing items
+
+ # FIXME: Use the correct Yast function call, e.g.
+ # items = YastService.Call("YaPI::XXPkgXX::List")
+
+ items = [ "first", "second", "last" ] # FIXME: remove this dummy line
+
+ # FIXME optionaly sort the result
+ items.sort!
+
+ result = [ ]
+
+ # convert the list of items to list of objects
+ items.each { |p|
+ item = XXPkgXX.new
+
+ # set only ID, the other parameters should have default or empty values
+ item.name = p
+
+ result << item
+ }
+
+ return result
+ end
+
+ def find
+ # cannot find invalid object
+ return false if @name.blank?
+
+ # get properties of the object
+
+ # FIXME: Use the correct Yast function call, e.g.
+ # properties = YastService.Call("YaPI::XXPkgXX::Get", @name)
+
+ properties = { :p1 => "foo", :p2 => "bar" } # FIXME: remove this dummy line
+
+ # check the value
+ if properties.nil? || properties == {}
+ @parameters = nil
+ return false
+ else
+ # FIXME update all class members
+ @parameters = properties
+ return true
+ end
+ end
+
+ def update_attributes(attribs)
+ if attribs.has_key?(:name)
+ new_name = attribs[:name]
+
+ # FIXME: valide the option
+ if new_name.class != :String
+ return false
+ end
+
+ @name = new_name
+ end
+
+ if attribs.has_key?(:parameters)
+ new_params = attribs[:parameters]
+
+ # FIXME: valide the option
+ if new_params.class != :Hash
+ return false
+ end
+
+ @parameters = new_params
+ end
+
+ # FIXME: update all properties here...
+
+ return true
+ end
+
+ def add
+ # FIXME: Use the correct Yast function call, e.g.
+ # return YastService.Call("YaPI::XXPkgXX::Add", @name, @parameters) if !@name.blank?
+
+ return false
+ end
+
+ def edit
+ # FIXME: Use the correct Yast function call, e.g.
+ # return YastService.Call("YaPI::XXPkgXX::Edit", @name, @parameters) if !@name.blank?
+
+ return false
+ end
+
+ def delete
+ # FIXME: Use the correct Yast function call, e.g.
+ # return YastService.Call("YaPI::XXPkgXX::Delete", @name) if !@name.blank?
+
+ return false
+ end
+
+ # FIXME: export all members in XML
+ def to_xml( options = {} )
+ return nil if @name.nil?
+
+ xml = options[:builder] ||= Builder::XmlMarkup.new(options)
+ xml.instruct! unless options[:skip_instruct]
+
+ xml.XXpkgXX do
+ xml.tag!(:name, @name)
+
+ if !@parameters.blank?
+ # FIXME: Note: the first parameter of tag! is tag name, the second is value,
+ # the result is <parameters>[value of @parameter]</parameters>
+ # see http://api.rubyonrails.org/classes/Builder/XmlMarkup.html
+ xml.tag!(:parameters, @parameters)
+ end
+ end
+ end
+
+ # export the object in JSON format
+ # reuse the XML builder functionality
+ def to_json( options = {} )
+ hash = Hash.from_xml(to_xml())
+ return hash.to_json
+ end
+
+end
+
+# vim: ft=ruby
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/config/resources/XXpkgXX.yml new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/config/resources/XXpkgXX.yml
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/config/resources/XXpkgXX.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/config/resources/XXpkgXX.yml 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,2 @@
+interface: org.opensuse.yast.system.XXpkgXX
+controller: XXpkgXX
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/init.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/init.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/init.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/init.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1 @@
+# Include hook code here
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/install.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/install.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/install.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/install.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1 @@
+# Install hook code here
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/MIT-LICENSE new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/MIT-LICENSE
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/MIT-LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/MIT-LICENSE 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,20 @@
+Copyright (c) 2009 Novell
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.changes new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.changes
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.changes 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.changes 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+XXdateXX - XXemailXX
+
+- initial version
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.spec new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.spec
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.spec 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/package/yast2-webservice-XXpkgXX.spec 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,67 @@
+#
+# spec file for package yast2-webservice-XXpkgXX
+#
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+%define pkg_user yastws
+%define plugin_name XXpkgXX
+
+Name: yast2-webservice-XXpkgXX
+PreReq: yast2-webservice
+Provides: yast2-webservice:/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/app/controllers/XXpkgXX_controller.rb
+License: MIT
+Group: Productivity/Networking/Web/Utilities
+Autoreqprov: on
+Version: 0.0.1
+Release: 0
+Summary: YaST2 - Webservice - REST API for XXPkgXX Yast module
+Source: www.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+
+
+
+%description
+YaST2 - Webservice - REST based interface for YaST XXPkgXX module.
+Authors:
+--------
+ XXmaintainerXX <XXemailXX>
+
+%prep
+%setup -q -n www
+
+%build
+
+%install
+
+#
+# Install all web and frontend parts.
+#
+mkdir -p $RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+cp -a * $RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%dir /srv/www/%{pkg_user}
+%dir /srv/www/%{pkg_user}/vendor
+%dir /srv/www/%{pkg_user}/vendor/plugins
+%dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+/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}/tasks
+/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/test
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/Rakefile new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/Rakefile
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/Rakefile 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/Rakefile 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,41 @@
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+require 'rake/packagetask'
+
+# load all Yast webservice specific tasks
+begin
+ require 'tasks/webservice'
+rescue LoadError => e
+ $stderr.puts "WARNING: 'yast2-webservice-tasks' gem is missing, some tasks will be missing or can be broken."
+ $stderr.puts "Install 'yast2-webservice-tasks' Ruby gem from 'rubygem-yast2-webservice-tasks' RPM package.\n"
+end
+
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test the XXPkgXX plugin.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
+desc 'Generate documentation for the XXPkgXX plugin.'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'XXPkgXX'
+ 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|
+ p.need_tar_bz2 = true
+ p.package_dir = 'package'
+ p.package_files.include('**/*')
+ p.package_files.exclude('package')
+end
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/rakelib/XXpkgXX_tasks.rake new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/rakelib/XXpkgXX_tasks.rake
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/rakelib/XXpkgXX_tasks.rake 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/rakelib/XXpkgXX_tasks.rake 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,4 @@
+# desc "Explaining what the task does"
+# task :XXpkgXX do
+# # Task goes here
+# end
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/README new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/README
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/README 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/README 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,13 @@
+XXPkgXX
+===========
+
+REST API for XXPkgXX Yast module.
+
+
+Example
+=======
+
+Get list of all items:
+http://localhost:8080/XXpkgXX.xml
+
+Copyright (c) 2009 Novell, released under the MIT license
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/test/test_helper.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/test/test_helper.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/test/test_helper.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/test/test_helper.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,3 @@
+require 'rubygems'
+require 'active_support'
+require 'active_support/test_case'
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/test/XXpkgXX_test.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/test/XXpkgXX_test.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/test/XXpkgXX_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/test/XXpkgXX_test.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class XXPkgXXTest < ActiveSupport::TestCase
+ # Replace this with your real tests.
+ test "the truth" do
+ assert true
+ end
+end
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/uninstall.rb new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/uninstall.rb
--- old/yast2-devtools-2.18.5/devtools/skeletons/rest-plugin/uninstall.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-devtools-2.18.6/devtools/skeletons/rest-plugin/uninstall.rb 2009-06-08 14:02:28.000000000 +0200
@@ -0,0 +1 @@
+# Uninstall hook code here
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/VERSION new/yast2-devtools-2.18.6/VERSION
--- old/yast2-devtools-2.18.5/VERSION 2009-05-06 18:21:27.000000000 +0200
+++ new/yast2-devtools-2.18.6/VERSION 2009-06-08 13:58:23.000000000 +0200
@@ -1 +1 @@
-2.18.5
+2.18.6
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.5/y2logview/y2log_ana/cgui.moc.cc new/yast2-devtools-2.18.6/y2logview/y2log_ana/cgui.moc.cc
--- old/yast2-devtools-2.18.5/y2logview/y2log_ana/cgui.moc.cc 2009-04-23 16:42:36.000000000 +0200
+++ new/yast2-devtools-2.18.6/y2logview/y2log_ana/cgui.moc.cc 2009-05-20 17:20:57.000000000 +0200
@@ -2,7 +2,7 @@
** Meta object code from reading C++ file 'cgui.h'
**
** Created
-** by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
+** by: The Qt Meta Object Compiler version 61 (Qt 4.5.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
@@ -10,8 +10,8 @@
#include "cgui.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'cgui.h' doesn't include <QObject>."
-#elif Q_MOC_OUTPUT_REVISION != 59
-#error "This file was generated using the moc from 4.4.3. It"
+#elif Q_MOC_OUTPUT_REVISION != 61
+#error "This file was generated using the moc from 4.5.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
@@ -20,12 +20,13 @@
static const uint qt_meta_data_MyWidget[] = {
// content:
- 1, // revision
+ 2, // revision
0, // classname
0, 0, // classinfo
- 18, 10, // methods
+ 18, 12, // methods
0, 0, // properties
0, 0, // enums/sets
+ 0, 0, // constructors
// slots: signature, parameters, type, tag, flags
12, 10, 9, 9, 0x0a,
@@ -104,6 +105,7 @@
case 15: showColHex((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 16: colorDialog(); break;
case 17: searchAhead((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
+ default: ;
}
_id -= 18;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org