{"push_id":1367355656,"size":1,"distinct_size":1,"ref":"refs/heads/COOL-599/support-attribute-filters-with-dots-and-spaces","head":"ec580a16bedfd297717ca56dadb8f8c0f1025ee2","before":"6d50bffc5f477864a02771095b8f4ba91b0373b7","commits":[{"sha":"ec580a16bedfd297717ca56dadb8f8c0f1025ee2","author":{"name":"Tom Duffield","email":"55bc7b18e460d0d077310393ffbc002e6fe4eaec@chef.io"},"message":"Support knife attribute filters with dots\n\nSome node attribute keys have dots in them, i.e. our current windows\npackage resolves to `packages.Chef Client v12.12.15`. Currently, when\nparsing our `--attribute` flags we simply split on a `.` to indicate\nnesting, which would result in the data not coming back to the user as\nexpected. This change adds support for quoted attributes in the filter\nflags, so that you can specify keys that include special characters like\ndots.\n\n```shell\nknife node show --attribute 'packages.\"Chef Client v12.12.15\"'\nknife node show --attribute \"packages.'Chef Client v12.12.15'\"\n```\n\nBecause the shell processes the strings before we even get the chance to\nsee it, the user will need to make sure they escape or us a combination\nof single or double quotes to preserve the quoting as appropriate.\n\nSigned-off-by: Tom Duffield <tom@chef.io>","distinct":true,"url":"https://api.github.com/repos/chef/chef/commits/ec580a16bedfd297717ca56dadb8f8c0f1025ee2"}]}
{"actor":{"display_login":"tduffield"}}