Mailinglist Archive: opensuse-buildservice (89 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS source_service usage with upstream git sources -- syntax for .spec file's dynamic Source:/Version:/Release: values?
Found this as a best example so far


https://saschpe.wordpress.com/2013/11/08/obs-introducting-the-refresh_patches-source-service/

informs this 1st attempt

edit _service
<services>
<service name="tar_scm" mode="disabled">
<param
name="url">https://github.com/cryptodev-linux/cryptodev-linux.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">pgnd-cryptodev</param>
</service>
</services>

on service exec returns,

osc service dr
Cloning into '/tmp/tmp5RQuOB/tmpz2895f/cryptodev-linux'...
ERROR(1): ''
HEAD is now at da73010 tests/Makefile: fix arg passing to CC in
implicit rule
Cleaning: /tmp/tmp5RQuOB/tmpz2895f
/tmp/tmp5RQuOB/cryptodev-linux-1git.da73010
Compressed cryptodev-linux-1git.da73010.tar to
cryptodev-linux-1git.da73010.tar.gz
No version found or defined at /usr/lib/obs/service/set_version
line 196.
Aborting: service call failed:
/usr/lib/obs/service/set_version --basename pgnd-cryptodev --outdir
/tmp/tmpBEHSGo

Some data's clearly passed, but not all.
The package name format is wrong. How to config the above in keeping with the
package naming conventions is not clear.
No version is apparently passed &/or used.

Looking for a bit more.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References