obs-service-tar_scm
obs-service-tar_scm copied to clipboard
Empty version and versionformat param behaves differently with localrun and on obs
Hi,
for my package https://build.opensuse.org/package/show/home:reichwald/qutebrowser-nightly I would like to get a qutebrowser_1.4.99.orig.tar.gz by using a _service. Since default version seperator is - and not changeable via param I used the following:
<service name="tar_scm">
<param name="url">git://github.com/qutebrowser/qutebrowser.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="version"></param>
<param name="versionformat"></param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v([0-9]\.[0-9])\.[0-9]</param>
<param name="filename">qutebrowser_1.4.99</param>
<param name="extension">orig.tar</param>
</service>
So I keep version and versionformat empty by intention since I just write the version (that changes quite rarely) in the filename because I then get the _ where needed. This results in 'qutebrowser_1.4.99.orig.tar.gz' when using 'osc service localrun' but in 'qutebrowser_1.4.99-1536151711.e2b14caa5.orig.tar.gz' when running on build.opensuse.org
Is this perhaps a version mismatch between my local version of osc/obs-service-tar_scm (0.5.0 downloaded from https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm) and the version on obs?
Best regards Fritz
Actually the version I got locally is: obs-service-tar-scm_0.9.1.1534504824.0732756
There was a big merge of features from OBS so this might be fixed.