[Exherbo-dev] Proposal for "option restrictions" syntax

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Wed Aug 13 13:00:24 BST 2008


On Sat, 09 Aug 2008 02:57:17 +0200
Bernd Steinhauser <exherbo at bernd-steinhauser.de> wrote:
> First, what are "option restrictions"?
> Option restrictions specify a set of restrictions for the state of 
> option flags in an exheres.
> For example, an exheres might have option foo1 and foo2.
> If foo1 is enabled, it needs foo2 to be enabled, too.
> The restrictions provide a way to do this.

What are all the possible types of restriction we need to describe? I
can think of:

* if a then b
* if a then not b
* at least one of a b c
* exactly one of a b c
* at most one of a b c

-- 
Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/exherbo-dev/attachments/20080813/c35647cc/attachment.pgp>


More information about the Exherbo-dev mailing list