![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package yast2-devtools for openSUSE:Factory checked in at Thu May 7 02:53:51 CEST 2009. -------- --- yast2-devtools/yast2-devtools.changes 2009-04-27 15:13:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-devtools/yast2-devtools.changes 2009-05-06 19:16:43.000000000 +0200 @@ -1,0 +2,21 @@ +Wed May 6 14:52:13 CEST 2009 - jsrain@suse.cz + +- updates of oscupdate +- 2.18.5 + +------------------------------------------------------------------- +Wed Apr 29 10:41:19 CEST 2009 - lslezak@suse.cz + +- updated vim YCP syntax file - added missing built-ins: lsort, + lsubstring, ClientExists, GetEncoding, GetEnvironmentEncoding, + dgettext, dngettext, dpgettext, float::abs, float::ceil, + float::floor, float::pow, float::trunc, list::reduce, sublist, + added type name: const, added UI option: Cell + +------------------------------------------------------------------- +Mon Apr 27 16:39:40 CEST 2009 - jsrain@suse.cz + +- fixed y2tool oscsubmit when submitting package the first time +- make oscsubmit work correctly with cmake-based modules + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-devtools-2.18.4.tar.bz2 New: ---- yast2-devtools-2.18.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-devtools.spec ++++++ --- /var/tmp/diff_new_pack.x22345/_old 2009-05-07 02:53:30.000000000 +0200 +++ /var/tmp/diff_new_pack.x22345/_new 2009-05-07 02:53:30.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-devtools (Version 2.18.4) +# spec file for package yast2-devtools (Version 2.18.5) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,12 +19,12 @@ Name: yast2-devtools -Version: 2.18.4 +Version: 2.18.5 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-devtools-2.18.4.tar.bz2 +Source0: yast2-devtools-2.18.5.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 <msvec@suse.cz> %prep -%setup -n yast2-devtools-2.18.4 +%setup -n yast2-devtools-2.18.5 %build autoreconf --force --install @@ -110,6 +110,18 @@ %{prefix}/share/pkgconfig/yast2-devtools.pc %doc %{prefix}/share/doc/packages/yast2-devtools %changelog +* Wed May 06 2009 jsrain@suse.cz +- updates of oscupdate +- 2.18.5 +* Wed Apr 29 2009 lslezak@suse.cz +- updated vim YCP syntax file - added missing built-ins: lsort, + lsubstring, ClientExists, GetEncoding, GetEnvironmentEncoding, + dgettext, dngettext, dpgettext, float::abs, float::ceil, + float::floor, float::pow, float::trunc, list::reduce, sublist, + added type name: const, added UI option: Cell +* Mon Apr 27 2009 jsrain@suse.cz +- fixed y2tool oscsubmit when submitting package the first time +- make oscsubmit work correctly with cmake-based modules * Mon Apr 27 2009 jsrain@suse.cz - added y2tool oscsubmit (for Factory only) - 2.18.4 ++++++ yast2-devtools-2.18.4.tar.bz2 -> yast2-devtools-2.18.5.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.4/configure new/yast2-devtools-2.18.5/configure --- old/yast2-devtools-2.18.4/configure 2009-04-27 15:06:10.000000000 +0200 +++ new/yast2-devtools-2.18.5/configure 2009-05-06 19:14:21.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.4. +# Generated by GNU Autoconf 2.63 for yast2-devtools 2.18.5. # # 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.4' -PACKAGE_STRING='yast2-devtools 2.18.4' +PACKAGE_VERSION='2.18.5' +PACKAGE_STRING='yast2-devtools 2.18.5' 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.4 to adapt to many kinds of systems. +\`configure' configures yast2-devtools 2.18.5 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.4:";; + short | recursive ) echo "Configuration of yast2-devtools 2.18.5:";; 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.4 +yast2-devtools configure 2.18.5 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.4, which was +It was created by yast2-devtools $as_me 2.18.5, 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.4' + VERSION='2.18.5' cat >>confdefs.h <<_ACEOF @@ -2800,7 +2800,7 @@ -VERSION="2.18.4" +VERSION="2.18.5" RPMNAME="yast2-devtools" MAINTAINER="Martin Vidner <mvidner@suse.cz>" @@ -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.4, which was +This file was extended by yast2-devtools $as_me 2.18.5, 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.4 +yast2-devtools config.status 2.18.5 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.4/configure.in new/yast2-devtools-2.18.5/configure.in --- old/yast2-devtools-2.18.4/configure.in 2009-04-27 15:05:54.000000000 +0200 +++ new/yast2-devtools-2.18.5/configure.in 2009-05-06 19:14:09.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.in for yast2-devtools dnl -dnl -- This file is generated by y2autoconf 2.18.4 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.18.5 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-devtools, 2.18.4, http://bugs.opensuse.org/, yast2-devtools) +AC_INIT(yast2-devtools, 2.18.5, 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.4" +VERSION="2.18.5" RPMNAME="yast2-devtools" MAINTAINER="Martin Vidner <mvidner@suse.cz>" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.4/devtools/bin/oscsubmit new/yast2-devtools-2.18.5/devtools/bin/oscsubmit --- old/yast2-devtools-2.18.4/devtools/bin/oscsubmit 2009-04-27 12:53:17.000000000 +0200 +++ new/yast2-devtools-2.18.5/devtools/bin/oscsubmit 2009-05-06 19:12:39.000000000 +0200 @@ -15,16 +15,54 @@ # Author: Jiri Srain <jsrain@suse.cz> ##### -OBS_PROJECT=$1; -OBS_MOVE_PROJECT=$2; -LOGFILE=$3; +printhelp() +{ + echo "Usage: $0 [OPTIONS]" + echo + echo "OPTIONS:" + echo " -h, --help this message" + echo " -d, --devel-project development project to submit to; default YaST:Head" + echo " -p, --project project to create submit request to" + echo " -l, --log the logfile, default ~/.y2submitlog" + echo " -e, --empty_log empty the log before starting" + echo +} + +# inirialize default values +OBS_PROJECT=YaST:Head +OBS_MOVE_PROJECT="" +LOGFILE=~/.y2submitlog + +# parse parameters +TEMP=`/usr/bin/getopt -o hl:d:p:e --long help,log:,devel-project:,project:,empty-log \ + -n 'oscsubmit' -- "$@"` + +# Note the quotes around `$TEMP': they are essential! +eval set -- "$TEMP" + +while true ; do + case "$1" in + -h|--help) printhelp; exit 0 ;; + -l|--log) LOGFILE="$2"; shift 2; ;; + -d|--devel-project) OBS_PROJECT="$2"; shift 2; ;; + -p|--project) OBS_MOVE_PROJECT="$2"; shift 2; ;; + -e|--empty-log) EMPTY_LOG=1; shift; ;; + --) shift ; break ;; + *) echo "Unrecognized option $1" ; exit 1 ;; + + # IMPORTANT: Remember to change that "getopt" call above, too + # if you change anything here! + esac +done + PACKAGE=`cat RPMNAME`; -test -z $OBS_PROJECT && OBS_PROJECT=YaST:Head -test -z $OBS_MOVE_PROJECT && OBS_MOVE_PROJECT=openSUSE:Factory -test -z "$LOGFILE" && LOGFILE=~/.y2submitlog -rm $LOGFILE -echo "Submitting $PACKAGE to $OBS_PROJECT, forwarding to $OBS_MOVE_PROJECT" | tee -a $LOGFILE +test -f $LOGFILE && test -z $EMPTY_LOG || rm $LOGFILE +if test -z $OBS_MOVE_PROJECT; then + echo "Submitting $PACKAGE to $OBS_PROJECT" | tee -a $LOGFILE +else + echo "Submitting $PACKAGE to $OBS_PROJECT, forwarding to $OBS_MOVE_PROJECT" | tee -a $LOGFILE +fi echo -n "Checking out module from OBS... " | tee -a $LOGFILE echo "" >>$LOGFILE; @@ -36,11 +74,14 @@ echo -n "Preparing new package for submission... " | tee -a $LOGFILE echo "" >>$LOGFILE; -rm $OBS_PROJECT/$PACKAGE/* + +# FIXME directory may be empty +rm $OBS_PROJECT/$PACKAGE/* 2>&1 | tee -a $LOGFILE +test -d build/package && cp build/package/* $OBS_PROJECT/$PACKAGE # needed for cmake-based modules cp package/* $OBS_PROJECT/$PACKAGE -osc addremove $OBS_PROJECT/$PACKAGE >>$LOGFILE echo "OK" | tee -a $LOGFILE diff $OBS_PROJECT/$PACKAGE/*changes $OBS_PROJECT/$PACKAGE/.osc/*changes >diff +test -f $OBS_PROJECT/$PACKAGE/.osc/*changes || echo "< New package" >diff cat diff | tee -a $LOGFILE if grep '^>' diff ; then echo "There are changes in OBS only not reflected in SVN. Merge them first." | tee -a $LOGFILE @@ -56,6 +97,7 @@ echo -n "Submitting the package... " | tee -a $LOGFILE echo "" >>$LOGFILE; +osc addremove $OBS_PROJECT/$PACKAGE >>$LOGFILE find $OBS_PROJECT >>$LOGFILE; if osc ci -F diff $OBS_PROJECT/$PACKAGE >>$LOGFILE 2>&1 ; then echo "OK" | tee -a $LOGFILE @@ -63,12 +105,22 @@ echo "Failed" | tee -a $LOGFILE; exit 5 fi -echo -n "Forwarding package from $OBS_PROJECT to $OBS_MOVE_PROJECT... " | tee -a $LOGFILE -echo "" >>$LOGFILE; -if osc sr create --nodevelproject $OBS_PROJECT $PACKAGE $OBS_MOVE_PROJECT ; then - echo "OK" | tee -a $LOGFILE +if [ -z $OBS_MOVE_PROJECT ]; then + echo "To create submit request, run +osc sr create --nodevelproject $OBS_PROJECT $PACKAGE <project>, +to sobmit to Factory, run. +osc sr create --nodevelproject $OBS_PROJECT $PACKAGE openSUSE:Factory + + +" | tee -a $LOGFILE else - echo "Failed" | tee -a $LOGFILE; exit 6 + echo -n "Forwarding package from $OBS_PROJECT to $OBS_MOVE_PROJECT... " | tee -a $LOGFILE + echo "" >>$LOGFILE; + if osc sr create --nodevelproject $OBS_PROJECT $PACKAGE $OBS_MOVE_PROJECT ; then + echo "OK" | tee -a $LOGFILE + else + echo "Failed" | tee -a $LOGFILE; exit 6 + fi fi echo -n "Cleaning up... " | tee -a $LOGFILE diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.4/devtools/bin/version new/yast2-devtools-2.18.5/devtools/bin/version --- old/yast2-devtools-2.18.4/devtools/bin/version 2009-04-27 15:06:29.000000000 +0200 +++ new/yast2-devtools-2.18.5/devtools/bin/version 2009-05-06 19:14:32.000000000 +0200 @@ -1,5 +1,5 @@ #!/bin/bash -echo 2.18.4 +echo 2.18.5 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.4/VERSION new/yast2-devtools-2.18.5/VERSION --- old/yast2-devtools-2.18.4/VERSION 2009-04-27 14:19:32.000000000 +0200 +++ new/yast2-devtools-2.18.5/VERSION 2009-05-06 18:21:27.000000000 +0200 @@ -1 +1 @@ -2.18.4 +2.18.5 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-devtools-2.18.4/yast2/ycp.vim new/yast2-devtools-2.18.5/yast2/ycp.vim --- old/yast2-devtools-2.18.4/yast2/ycp.vim 2009-04-23 16:36:56.000000000 +0200 +++ new/yast2-devtools-2.18.5/yast2/ycp.vim 2009-05-06 18:21:13.000000000 +0200 @@ -2,7 +2,7 @@ " Filename: ycp.vim " Language: YCP: SuSE YaST2 scripting language " Maintainer: Michal Svec <msvec@suse.cz> -" Last change: 20.8.2003 +" $Id: ycp.vim 57021 2009-04-29 08:57:29Z lslezak $ " Remove any old syntax stuff hanging around if version < 600 @@ -63,16 +63,16 @@ syn keyword ycpBuiltin is select remove change contains syn keyword ycpBuiltin setcontains lookup haskey add union merge size syn keyword ycpBuiltin symbolof sleep foreach filter maplist mapmap -syn keyword ycpBuiltin flatten toset sort sformat tointeger argsof +syn keyword ycpBuiltin flatten toset sort lsort sformat tointeger argsof syn keyword ycpBuiltin crypt cryptmd5 cryptbigcrypt cryptblowfish syn keyword ycpBuiltin eval find isnil syn keyword ycpBuiltin random srandom syn keyword ycpBuiltin getenv setenv " WFM builtins -syn keyword ycpBuiltin WFM UI SCR Args +syn keyword ycpBuiltin WFM UI SCR Args ClientExists syn keyword ycpBuiltin Read Write Dir Execute -syn keyword ycpBuiltin CallFunction CallModule SetLanguage GetLanguage +syn keyword ycpBuiltin CallFunction CallModule SetLanguage GetLanguage GetEncoding GetEnvironmentEncoding syn keyword ycpBuiltin SCROpen SCRClose SCRGetName GetClientName syn keyword ycpBuiltin SCRSetDefault SCRGetDefault @@ -148,6 +148,7 @@ syn keyword ycpBuiltin cryptblowfish syn keyword ycpBuiltin timestring syn keyword ycpBuiltin substring +syn keyword ycpBuiltin lsubstring syn keyword ycpBuiltin findfirstof syn keyword ycpBuiltin findlastof syn keyword ycpBuiltin findfirstnotof @@ -181,11 +182,21 @@ syn keyword ycpBuiltin y2useritem syn keyword ycpBuiltin regexptokenize syn keyword ycpBuiltin tohexstring +syn keyword ycpBuiltin dgettext +syn keyword ycpBuiltin dngettext +syn keyword ycpBuiltin dpgettext +syn keyword ycpBuiltin float::abs +syn keyword ycpBuiltin float::ceil +syn keyword ycpBuiltin float::floor +syn keyword ycpBuiltin float::pow +syn keyword ycpBuiltin float::trunc +syn keyword ycpBuiltin list::reduce +syn keyword ycpBuiltin sublist " YCP types syn keyword ycpType any void boolean integer float string locale syn keyword ycpType symbol list map term path block declaration -syn keyword ycpType expression byteblock +syn keyword ycpType expression byteblock const " YCP boolean syn keyword ycpBoolean true false nil @@ -269,6 +280,7 @@ syn keyword ycpWidget Filename syn keyword ycpWidget Item syn keyword ycpWidget Items +syn keyword ycpWidget Cell syn keyword ycpWidget Label syn keyword ycpWidget Labels syn keyword ycpWidget LastLine ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org