On Tue 12 Jan 2021 04:37:11 PM CST, Axel Braun wrote:
Hi,
as a prerequsite to the nightly build, I'm struggeling with the source service. I guess its a no-brainer for somebody who worked already with it... I have pulled the latest commit using obs_scm:
<service name="obs_scm"> <param name="url">https://mygitpage.com/myproject.git</param> <param name="scm">git</param> <param name="versionformat">VERSIONgit.%ci~%h</param> </service>
and end up with .obscpio file in my build repo. How can I conver this to a .tar file? I tried recompress-service, but that gives me a .obscpio.gz :-)
I have searched the wiki https://en.opensuse.org/ openSUSE:Build_Service_Concept_SourceService#All_OBS_services_available and OBS manuals, and I feel it needs some love: - obs_scm is not mentioned at all in the above list - the documentation mostly points to the github page - and the github page is not very helpful either (unless 'The code is the documentation' is considered as approach) Example: https://en.opensuse.org/ openSUSE:Build_Service_Concept_SourceService#recompress
https://en.opensuse.org/Category:Build_Service gives some insights as well, but misses proper documentation
Just seen: osc api /service (will look further into that)
Thanks Axel
Hi Axel Have a look at what I use for cherrytree.... https://build.opensuse.org/package/view_file/GNOME:Apps/cherrytree/_service?... -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) Tumbleweed 20210110 | GNOME Shell 3.38.2 | 5.10.5-1-default Intel DQ77MK MB | Xeon E3-1245 V2 X8 @ 3.40 GHz | Intel/Nvidia up 19:50, 2 users, load average: 1.25, 1.20, 0.71