[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:Syst... 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/op... [ 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_Fa... does not contain any reference to pot.tar.bz2 https://api.opensuse.org/build/home:sbrabec:branches:Base:System/openSUSE_Fa... 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@suse.com 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 20. März 2019, 19:11:16 CET Stanislav Brabec wrote:
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:Syst em/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/op enSUSE_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_Fa ctory/x86_64/grub2 does not contain any reference to pot.tar.bz2
https://api.opensuse.org/build/home:sbrabec:branches:Base:System/openSUSE_Fa ctory/i586/grub2 does: <binary filename="pot.tar.bz2" size="2315" mtime="1553100342" />
actually, it also gets copied on x86_64, but there is the second build step run, which is needed for secure boot. And it gets not exported there. one more example of conflicting hacks... but we can maybe export it also in the second step. Will have a look tomorrow ... -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Stanislav Brabec