Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Action properties [WAS Action output?]

Perhaps it's a good idea to avoid using characters that many shell might try to expand one way or another and simply use the '/' to separate?

Yes - though I don't think using '#' is a problem as we're using it now. But we can certainly decide to use '/' exclusively (which I think is fine)

We could then do:

Global foo:

  foo

'foo' for all 'flmberry' actions (in all components):

  flmberry/foo

'foo' for the 'flmberry' action in 'Z':

  Z/flmberry/foo=bar

'foo' for all actions in 'Z'

 Z//foo=bar


About the only thing you can't do with this syntax is to select 'some but not all'. But I wonder if that's so useful...it can be enhanced later.

Yes, I agree. Let's make it mutable=false by default.

Just to be difficult, something else came up - what if a action designer forgets to describe a property *at all*? In order to enforce mutable=false by default, we must actually check and only allow overlays using names that have an explicit mutable=true entry...

Should be easy enough to implement. Perhaps issue a warning rather then say it's illegal?

Yes, why not. It highlights the fact that it's a non-beneficial but also non-helping request.

ken1


Back to the top