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
'broken'.

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:

<services>
<service name="tar_scm">
<param name="url">http://dev.mutt.org/hg/mutt</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>
<service name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version"/>
</services>


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

< Previous Next >