{"action":"created","issue":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/1906","repository_url":"https://api.github.com/repos/mbedmicro/mbed","labels_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1906/labels{/name}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1906/comments","events_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1906/events","html_url":"https://github.com/mbedmicro/mbed/pull/1906","id":159790796,"number":1906,"title":"[build tools] Added support for cumulative attributes in configs directly","user":{"login":"geky","id":1075160,"avatar_url":"https://avatars.githubusercontent.com/u/1075160?v=3","gravatar_id":"","url":"https://api.github.com/users/geky","html_url":"https://github.com/geky","followers_url":"https://api.github.com/users/geky/followers","following_url":"https://api.github.com/users/geky/following{/other_user}","gists_url":"https://api.github.com/users/geky/gists{/gist_id}","starred_url":"https://api.github.com/users/geky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geky/subscriptions","organizations_url":"https://api.github.com/users/geky/orgs","repos_url":"https://api.github.com/users/geky/repos","events_url":"https://api.github.com/users/geky/events{/privacy}","received_events_url":"https://api.github.com/users/geky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-11T19:46:16Z","updated_at":"2016-06-11T20:32:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mbedmicro/mbed/pulls/1906","html_url":"https://github.com/mbedmicro/mbed/pull/1906","diff_url":"https://github.com/mbedmicro/mbed/pull/1906.diff","patch_url":"https://github.com/mbedmicro/mbed/pull/1906.patch"},"body":"Example in your mbed_lib.json:\r\n``` json\r\nAttributes now get the filtering provided by target_overrides: \r\n{                                                              \r\n    \"name\": \"cmsis-nodejs-SQL-x86\",                            \r\n    \"target_overrides\": {                                      \r\n        \"*\": {                                                 \r\n            \"device_has\": [\"SILLY_STRING\", \"FIRE\"]             \r\n        },                                                     \r\n        \"SHOE\": {                                              \r\n            \"features_add\": [\"SMELLS_FUNNY\"],                  \r\n            \"features_remove\": [\"SMELLS_NICE\"],                \r\n        }                                                      \r\n    }                                                          \r\n}                                                                          \r\n```\r\n\r\nThis shares the previous logic in custom_targets but avoids the need to instantiate a target. We may want to look into removing duplicate logic between the config and target systems at a later date.\r\n\r\ncc @screamerbg, @bogdanm, @bridadan "},"comment":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/comments/225392647","html_url":"https://github.com/mbedmicro/mbed/pull/1906#issuecomment-225392647","issue_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1906","id":225392647,"user":{"login":"geky","id":1075160,"avatar_url":"https://avatars.githubusercontent.com/u/1075160?v=3","gravatar_id":"","url":"https://api.github.com/users/geky","html_url":"https://github.com/geky","followers_url":"https://api.github.com/users/geky/followers","following_url":"https://api.github.com/users/geky/following{/other_user}","gists_url":"https://api.github.com/users/geky/gists{/gist_id}","starred_url":"https://api.github.com/users/geky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geky/subscriptions","organizations_url":"https://api.github.com/users/geky/orgs","repos_url":"https://api.github.com/users/geky/repos","events_url":"https://api.github.com/users/geky/events{/privacy}","received_events_url":"https://api.github.com/users/geky/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T20:32:00Z","updated_at":"2016-06-11T20:32:00Z","body":"Updated per comments from @screamerbg "}}
{"actor":{"display_login":"geky"}}