- From: Noah Kantrowitz <
>
- To: "
Dev" <
>
- Subject: [chef-dev] Re: Re: How to represent nested attributes
- Date: Mon, 7 Jul 2014 14:40:52 -0700
Maybe before 11.14 is finalized, we should change the whitelist code to use
.s then? Not sure if thats too big a change for an RC :-/
--Noah
On Jul 7, 2014, at 2:37 PM, Adam Jacob
<
>
wrote:
>
I lean towards dots as well. Sadly, dots in the search syntax probably
>
won't be forthcoming, and underscores are a terrible separator.
>
>
>
On Mon, Jul 7, 2014 at 2:31 PM, Joseph Anthony Pasquale Holsten
>
<
>
>
wrote:
>
My tooling takes attribute selectors with `.` separators and drills into
>
things accordingly. Because JSON.
>
>
eg
>
https://github.com/josephholsten/discoteq/blob/master/chef/service.go#L128
>
>
On Jul 7, 2014, at 2:09 PM, Noah Kantrowitz
>
<
>
>
wrote:
>
>
> Something that could maybe do with a bit of standardization. The issue is
>
> given some nested hashes, how do you indicate a specific key. The
>
> attribute declaration and the new attribute whitelists use a "/"
>
> separator, most knife command line options use a "." and partial searches
>
> use none and require a real array. Thoughts?
>
>
>
> --Noah
>
>
>
>
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.