{"action":"created","issue":{"url":"https://api.github.com/repos/conan-io/conan/issues/889","repository_url":"https://api.github.com/repos/conan-io/conan","labels_url":"https://api.github.com/repos/conan-io/conan/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/conan-io/conan/issues/889/comments","events_url":"https://api.github.com/repos/conan-io/conan/issues/889/events","html_url":"https://github.com/conan-io/conan/issues/889","id":202376899,"node_id":"MDU6SXNzdWUyMDIzNzY4OTk=","number":889,"title":"Usage of conditional options","user":{"login":"sixten-hilborn","id":729451,"node_id":"MDQ6VXNlcjcyOTQ1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/729451?v=4","gravatar_id":"","url":"https://api.github.com/users/sixten-hilborn","html_url":"https://github.com/sixten-hilborn","followers_url":"https://api.github.com/users/sixten-hilborn/followers","following_url":"https://api.github.com/users/sixten-hilborn/following{/other_user}","gists_url":"https://api.github.com/users/sixten-hilborn/gists{/gist_id}","starred_url":"https://api.github.com/users/sixten-hilborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sixten-hilborn/subscriptions","organizations_url":"https://api.github.com/users/sixten-hilborn/orgs","repos_url":"https://api.github.com/users/sixten-hilborn/repos","events_url":"https://api.github.com/users/sixten-hilborn/events{/privacy}","received_events_url":"https://api.github.com/users/sixten-hilborn/received_events","type":"User","site_admin":false},"labels":[{"id":400895537,"node_id":"MDU6TGFiZWw0MDA4OTU1Mzc=","url":"https://api.github.com/repos/conan-io/conan/labels/Feedback%20please!","name":"Feedback please!","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-22T11:20:13Z","updated_at":"2018-07-06T09:39:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nIf I try to set a conditional option (an option that may or may not exist, depending on other options and settings etc) of a package from my conanfile, I'll get an error if this option does not exist, see lasote/conan-boost#37 for example.\r\n\r\nIn some cases it's easy to not set that option in my conanfile if the condition is simple, however a package could have a very complex relation between that option and other parameters, which may even change between releases of that package etc.\r\n\r\nIt's also a good thing that conan raises errors when an invalid option is specified, to prevent other mistakes like misspelling.\r\nOne solution is to add support for marking options as conditional, allowing them to be passed to a package without an error even though it is missing/disabled."},"comment":{"url":"https://api.github.com/repos/conan-io/conan/issues/comments/402983898","html_url":"https://github.com/conan-io/conan/issues/889#issuecomment-402983898","issue_url":"https://api.github.com/repos/conan-io/conan/issues/889","id":402983898,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjk4Mzg5OA==","user":{"login":"amerry","id":8223327,"node_id":"MDQ6VXNlcjgyMjMzMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/8223327?v=4","gravatar_id":"","url":"https://api.github.com/users/amerry","html_url":"https://github.com/amerry","followers_url":"https://api.github.com/users/amerry/followers","following_url":"https://api.github.com/users/amerry/following{/other_user}","gists_url":"https://api.github.com/users/amerry/gists{/gist_id}","starred_url":"https://api.github.com/users/amerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amerry/subscriptions","organizations_url":"https://api.github.com/users/amerry/orgs","repos_url":"https://api.github.com/users/amerry/repos","events_url":"https://api.github.com/users/amerry/events{/privacy}","received_events_url":"https://api.github.com/users/amerry/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T09:39:24Z","updated_at":"2018-07-06T09:39:24Z","author_association":"NONE","body":"It works for what I want - I'm not the original reporter, though."}}
{"actor":{"display_login":"amerry"}}