Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] obs service github_tarballs
Am 26.06.2018 um 11:18 schrieb Victor Pereira:
Hi Christian an example of _service, where I'm downloading something
from github, recompress it and do set the version would be:

<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/foo/bar.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">1-git.%h</param>
<param name="revision">remotes/origin/master</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">bar</param>
</service>
</services>

I recommend you to read the documentation provided on
https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.source_service.html
Hi Victor,

thanks for the example.
You are using '%h' in 'versionformat' ... where do I get information
about the 'placeholders/vars' ?

But all 3 services are 'disabled' ... why ?
Thank you :)


--

Christian
------------------------------------------------------------
https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
http://www.sc24.de - Sportbekleidung
------------------------------------------------------------

< Previous Next >