Mailinglist Archive: opensuse-buildservice (41 mails)

< Previous Next >
[opensuse-buildservice] putting files to OTHER directory and its availability in the API
Hi.

I am trying to implement a new translation update process. I need to export pot
files from the build process.

I have been told that files copied into %{_topdir}/OTHER will become available
at api.opensuse.org after the build. But it is a half true. It works only for
i586 but not x86_64.

Is there any other step needed to get it working?

https://build.opensuse.org/package/view_file/home:sbrabec:branches:Base:System/grub2/grub2.spec?expand=0
See %prep stage and the end of %install phase just above %pre.

Log cleanly shows that it works correctly for x86_64:
https://build.opensuse.org/public/build/home:sbrabec:branches:Base:System/openSUSE_Factory/x86_64/grub2/_log
[ 589s] + tar -jcf /home/abuild/rpmbuild/OTHER/pot.tar.bz2
po-suse/grub2-suse.pot
[ 589s] + ls -al /home/abuild/rpmbuild/OTHER
[ 589s] total 12
[ 589s] drwxr-xr-x 2 abuild abuild 4096 Mar 20 16:49 .
[ 589s] drwxr-xr-x 9 abuild abuild 4096 Mar 20 16:40 ..
[ 589s] -rw-r--r-- 1 abuild abuild 2312 Mar 20 16:49 pot.tar.bz2

But
https://api.opensuse.org/build/home:sbrabec:branches:Base:System/openSUSE_Factory/x86_64/grub2
does not contain any reference to pot.tar.bz2

https://api.opensuse.org/build/home:sbrabec:branches:Base:System/openSUSE_Factory/i586/grub2
does:
<binary filename="pot.tar.bz2" size="2315" mtime="1553100342" />

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx
Křižíkova 148/34 (Corso IIa) tel: +420 284 084 060
186 00 Praha 8-Karlín fax: +420 284 084 001
Czech Republic http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups