Overview

Request 1190292 accepted

new package woodpecker: server, agent and CLI for the Woodpecker CI system

Loading...

Johannes Kastl's avatar
author source maintainer target maintainer

Also includes the system-user-woodpecker subpackages (required by both server and agent) as pointed out by @pluskalm in SR#1189837

Only caveat: The subpackage for the system users has the same version as the main package.


Martin Pluskal's avatar

You could set Version per sub-package


Johannes Kastl's avatar
author source maintainer target maintainer

I tried that, but it messed up later uses of %{version}. I thought this should be possible, but found nothing in the docs on short glance...


Martin Pluskal's avatar

I have seen some case where it was done - I vaguely recall that there was some extra trick to make it work - lets see if I can find it


Martin Pluskal's avatar

Actually one example is texlive - where different subpackages have diffferent versions


Johannes Kastl's avatar
author source maintainer target maintainer

Ouch, that is a big one.

From what I understood there are only two places where %{version} is actually used. My guess is that those are not used due to the if or the subpackage version that was defined last is used there.

I cannot get the woodpecker package to use the actual woddpecker version 2.7.0 for the go ldflags, if the subpackage for the system user has a Version: defined.


Martin Pluskal's avatar

define some helper variable with real version (i.e real_version), then use it for go ldflags instead of Version


Martin Pluskal's avatar

also having increasing versions of subpackage which contains user is not a problem I would spent much time solving - I would actually not consider it problem at all


Johannes Kastl's avatar
author source maintainer target maintainer

There is a vagrant-libvirt setup to play around with WoodpeckerCI. It is using the packages from my branch-project for devel:tools:scm, i.e. the package being submitted in this SR. https://github.com/johanneskastl/woodpecker_vagrant_libvirt_ansible

Request History
Johannes Kastl's avatar

ojkastl_buildservice created request

new package woodpecker: server, agent and CLI for the Woodpecker CI system


Martin Pluskal's avatar

pluskalm accepted request

openSUSE Build Service is sponsored by