Bug ID 1044915
Summary tar_scm set_version not correct with specific versionprefix and revision
Classification Internal Novell Products
Product openSUSE Build Service
Version master
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component source services
Assignee adrian@suse.com
Reporter zombah@gmail.com
QA Contact adrian@suse.com
Found By ---
Blocker ---

With version prefix and revision like in example _service below:
  <service name="tar_scm">
    <param name="scm">git</param>
    <param name="versionprefix">git20170302</param>
    <param name="filename">vboot</param>
    <param name="revision">a1c5f7c006b7bb3d5894f132f70ba3bbadfd9d6b</param>
 <service name="recompress">
    <param name="file">*vboot*.tar</param>
    <param name="compression">bz2</param>
  <service name="set_version"/>
resulting set_version version is 64.
Removing 'git' string from version prefix and using short hash in revision,
like below, fix
problem and produce correct package version.
<param name="versionprefix">20170302</param>
<param name="revision">a1c5f7c</param>

You are receiving this mail because: