Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
[opensuse-buildservice] RFC: new repository scheduling options
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Wed, 28 Apr 2010 15:10:54 +0200
  • Message-id: <201004281510.55068.adrian@xxxxxxx>

Hello,

micha and me thought about how to configure the upcoming new scheduler
modes per repository. We will have new attributes called "rebuild", "block"
and "linkedbuild" optionally per repo. And we would like to hear some feedback
about them.

In addition to that it will be possible to reuse all package sources from
other projects.

Such a project meta xml might look like this:

<project>
...
<link project="openSUSE:Tools" />
...
<repository name="openSUSE_11.2" rebuild="local" block="all"
linkedbuild="localdep" >
<path repository="standard" project="openSUSE.org:openSUSE:11.2"/>
<arch>x86_64</arch>
</repository>
</project>

The values of the attributes can be these:

<define ns="" name="rebuild-modes">
<choice>
<value>transitive</value> <!-- DEFAULT: build on source change and all
depending packages including indirect dependencies -->
<value>direct</value> <!-- build on source change and direct
depending packages -->
<value>local</value> <!-- build on source change only -->
</choice>
</define>

<define ns="" name="block-modes">
<choice>
<value>all</value> <!-- DEFAULT: block until all packages we depend
on are built -->
<value>local</value> <!-- like all, but ignore packages from other
repositories -->
<value>never</value> <!-- immediately start building the packages -->
</choice>
</define>

<define ns="" name="linkedbuild-modes">
<choice>
<value>off</value> <!-- DEFAULT: do not build packages from project
links -->
<value>localdep</value> <!-- only build project linked packages if they
depend on a local package -->
<value>all</value> <!-- treat packages from project links like
local packages -->
</choice>
</define>

does this make sense ? What better names are thinkable ?

bye
adrian

--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >