Mailinglist Archive: opensuse-buildservice (136 mails)

< Previous Next >
[opensuse-buildservice] setting version from mercurial repository fails

What version of mercurial is used to process the _service files?
'osc service lr' works, but 'rr' fails and home:olh/mutt enters state

Files could not be expanded: Cleaning: /lxc.tmp.18755/out/tmpdsZgGd

Unfortunately obs-service-tar_scm lacks a shortcut to construct an
usable version string, so I tried to emulate it like that:

<service name="tar_scm">
<param name="url"></param>
<param name="scm">hg</param>
<param name="versionformat">{date(date, '%Y%m%dT%H%M%S')}.r{rev}</param>
<param name="revision">default</param>
<param name="filename">mutt</param>
<service name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<service name="set_version"/>

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >