Mailinglist Archive: opensuse-buildservice (136 mails)

< Previous Next >
Re: [opensuse-buildservice] setting version from mercurial repository fails
On Monday 17 August 2015, 10:37:58 wrote Olaf Hering:

What version of mercurial is used to process the _service files?

3.1.2 from openSUSE 13.2

'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"/>



Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg

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

< Previous Next >
Follow Ups