Mailinglist Archive: opensuse-buildservice (253 mails)

< Previous Next >
Re: [opensuse-buildservice] GNOME:community [WAS: New project: usr-local-bin]
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Fri, 10 Nov 2006 14:53:28 +0100
  • Message-id: <1163166808.1207.34.camel@xxxxxxxxxxxxxx>
Dr. Peter Poeml wrote:
> On Thu, Nov 09, 2006 at 06:40:20PM +0100, Stanislav Brabec wrote:
> > I finished initial submit. The tool cannot yet be run automatically
> > (createpac fails to sync descriptions and create package on random
> > packages for some reasons), but it basically works.
> > Please ping me for sync from FACTORY. I will try to sync it on regular
> > basis in future.
>
> Could you give more details about what fails and how?

I am not sure, what failed.

I created list in GNOME\:STABLE.lst.

I did a simple loop:

for PACKAGE in $(<GNOME\:STABLE.lst) ; do
if ! test -d $PACKAGE ; then
PACKAGE=$PACKAGE EDITOR=/home/sbrabec/OSC/EDITOR osc createpac GNOME:STABLE $PACKAGE
fi
done

EDITOR is also a simple script:
----
#! /bin/sh
cat >$1 <<EOF
<package name="$PACKAGE">
<title>$(pdb query --filter $PACKAGE --attribs label.english | sed 's/</\&lt;/g;s/>/\&gt;/g;s/&/\&amp;/g;/^ *$/d')</title>
<description>$(pdb query --filter $PACKAGE --attribs description.english | sed 's/</\&lt;/g;s/>/\&gt;/g;s/&/\&amp;/g')</description>
<person role="maintainer" userid="sbrabec"/>
</package>
EOF
----

After about 15 runs of this script it finally created all packages
except gnome-pilot. I did not search deeper for reason.
Typical problem was:

File unchanged. Not saving.

Sometimes it reported a HTML error (sorry, it is scrolled out just now,
but I guess it was 501).

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups