Am Dienstag, 12. Januar 2021, 16:37:11 CET schrieb Axel Braun:
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)
Hi Axel, you might want to switch to tar_scm service. obs_scm isn't always an improvement. Of course, you can expand an cpio file manually: cpio -iduvm < _service:obs_scm:package.obscpio Cheers, Pete