{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/2390","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/2390/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/2390/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/2390/events","html_url":"https://github.com/mesonbuild/meson/pull/2390","id":261709274,"number":2390,"title":"Add an array type to user options","user":{"login":"dcbaker","id":1779595,"avatar_url":"https://avatars3.githubusercontent.com/u/1779595?v=4","gravatar_id":"","url":"https://api.github.com/users/dcbaker","html_url":"https://github.com/dcbaker","followers_url":"https://api.github.com/users/dcbaker/followers","following_url":"https://api.github.com/users/dcbaker/following{/other_user}","gists_url":"https://api.github.com/users/dcbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/dcbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcbaker/subscriptions","organizations_url":"https://api.github.com/users/dcbaker/orgs","repos_url":"https://api.github.com/users/dcbaker/repos","events_url":"https://api.github.com/users/dcbaker/events{/privacy}","received_events_url":"https://api.github.com/users/dcbaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-09-29T17:23:45Z","updated_at":"2017-12-04T22:14:52Z","closed_at":"2017-12-02T17:54:28Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mesonbuild/meson/pulls/2390","html_url":"https://github.com/mesonbuild/meson/pull/2390","diff_url":"https://github.com/mesonbuild/meson/pull/2390.diff","patch_url":"https://github.com/mesonbuild/meson/pull/2390.patch"},"body":"In mesa (using autotools and scons) we take options such as `--enable-dri-drivers=i965,i915,swrast,...`. These options have a *lot* of possible values, so it makes sense to me to carry this pattern over to meson instead of having 30+ options to toggle each driver individually. I'm emulating it with a string type, and splitting, but it's impossible to validate that way.\r\n\r\nThis option looks just like a combo in meson_options.txt, except that `value` can take a list of options.\r\n\r\nOn the command line this is passed as a comma separated list of values, with white-space stripped."},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/349124438","html_url":"https://github.com/mesonbuild/meson/pull/2390#issuecomment-349124438","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/2390","id":349124438,"user":{"login":"jpakkane","id":4079821,"avatar_url":"https://avatars3.githubusercontent.com/u/4079821?v=4","gravatar_id":"","url":"https://api.github.com/users/jpakkane","html_url":"https://github.com/jpakkane","followers_url":"https://api.github.com/users/jpakkane/followers","following_url":"https://api.github.com/users/jpakkane/following{/other_user}","gists_url":"https://api.github.com/users/jpakkane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpakkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpakkane/subscriptions","organizations_url":"https://api.github.com/users/jpakkane/orgs","repos_url":"https://api.github.com/users/jpakkane/repos","events_url":"https://api.github.com/users/jpakkane/events{/privacy}","received_events_url":"https://api.github.com/users/jpakkane/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T22:14:52Z","updated_at":"2017-12-04T22:14:52Z","author_association":"OWNER","body":"The user facing name was already `array`, #2732 changes the internal name."}}
{"actor":{"display_login":"jpakkane"}}