{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/release-services/issues/1481","repository_url":"https://api.github.com/repos/mozilla/release-services","labels_url":"https://api.github.com/repos/mozilla/release-services/issues/1481/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/release-services/issues/1481/comments","events_url":"https://api.github.com/repos/mozilla/release-services/issues/1481/events","html_url":"https://github.com/mozilla/release-services/issues/1481","id":357987630,"node_id":"MDU6SXNzdWUzNTc5ODc2MzA=","number":1481,"title":"staticanalysis/bot: add a text field to enabled checkers to justify their use (e.g. in reviewbot comments)","user":{"login":"jankeromnes","id":599268,"node_id":"MDQ6VXNlcjU5OTI2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/599268?v=4","gravatar_id":"","url":"https://api.github.com/users/jankeromnes","html_url":"https://github.com/jankeromnes","followers_url":"https://api.github.com/users/jankeromnes/followers","following_url":"https://api.github.com/users/jankeromnes/following{/other_user}","gists_url":"https://api.github.com/users/jankeromnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jankeromnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankeromnes/subscriptions","organizations_url":"https://api.github.com/users/jankeromnes/orgs","repos_url":"https://api.github.com/users/jankeromnes/repos","events_url":"https://api.github.com/users/jankeromnes/events{/privacy}","received_events_url":"https://api.github.com/users/jankeromnes/received_events","type":"User","site_admin":false},"labels":[{"id":608460070,"node_id":"MDU6TGFiZWw2MDg0NjAwNzA=","url":"https://api.github.com/repos/mozilla/release-services/labels/app:staticanalysis/bot","name":"app:staticanalysis/bot","color":"fbca04","default":false},{"id":321740361,"node_id":"MDU6TGFiZWwzMjE3NDAzNjE=","url":"https://api.github.com/repos/mozilla/release-services/labels/kind:enhancement","name":"kind:enhancement","color":"1d76db","default":false},{"id":490366031,"node_id":"MDU6TGFiZWw0OTAzNjYwMzE=","url":"https://api.github.com/repos/mozilla/release-services/labels/skill:good-first-bug","name":"skill:good-first-bug","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-09-07T09:20:58Z","updated_at":"2018-11-24T12:40:16Z","closed_at":"2018-10-23T14:36:48Z","author_association":"MEMBER","body":"We could for example call this field `reason` (or `rationale` / `justification` / `why` / ...):\r\n\r\n```\r\n  - name: readability-braces-around-statements\r\n    reason: \"Mandated by Mozilla's style guide: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Control_Structures\"\r\n```\r\n\r\nThis field could then be printed in the output when a related defect is found by `./mach static-analysis check`, and also in code review comments, like so:\r\n\r\n```\r\ndom/xslt/xslt/txPatternParser.cpp:240:\r\n\r\nWarning: Statement should be inside braces [clang-tidy: readability-braces-around-statements]\r\n  if (!XMLUtils::isValidQName(key, &colon))\r\n                                          ^\r\n                                           {\r\nReason: Mandated by Mozilla's style guide: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Control_Structures\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla/release-services/issues/comments/441365170","html_url":"https://github.com/mozilla/release-services/issues/1481#issuecomment-441365170","issue_url":"https://api.github.com/repos/mozilla/release-services/issues/1481","id":441365170,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM2NTE3MA==","user":{"login":"rv404674","id":19360756,"node_id":"MDQ6VXNlcjE5MzYwNzU2","avatar_url":"https://avatars2.githubusercontent.com/u/19360756?v=4","gravatar_id":"","url":"https://api.github.com/users/rv404674","html_url":"https://github.com/rv404674","followers_url":"https://api.github.com/users/rv404674/followers","following_url":"https://api.github.com/users/rv404674/following{/other_user}","gists_url":"https://api.github.com/users/rv404674/gists{/gist_id}","starred_url":"https://api.github.com/users/rv404674/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rv404674/subscriptions","organizations_url":"https://api.github.com/users/rv404674/orgs","repos_url":"https://api.github.com/users/rv404674/repos","events_url":"https://api.github.com/users/rv404674/events{/privacy}","received_events_url":"https://api.github.com/users/rv404674/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T12:40:16Z","updated_at":"2018-11-24T12:40:16Z","author_association":"CONTRIBUTOR","body":"Thanks @sylvestre"}}
{"actor":{"display_login":"rv404674"}}