{"action":"created","issue":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/285","labels_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/285/comments","events_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/285/events","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/issues/285","id":50890536,"number":285,"title":"Create a test/tool to validate the synchronization of config files with changes in checks","user":{"login":"rdiachenko","id":875939,"avatar_url":"https://avatars.githubusercontent.com/u/875939?v=3","gravatar_id":"","url":"https://api.github.com/users/rdiachenko","html_url":"https://github.com/rdiachenko","followers_url":"https://api.github.com/users/rdiachenko/followers","following_url":"https://api.github.com/users/rdiachenko/following{/other_user}","gists_url":"https://api.github.com/users/rdiachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/rdiachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdiachenko/subscriptions","organizations_url":"https://api.github.com/users/rdiachenko/orgs","repos_url":"https://api.github.com/users/rdiachenko/repos","events_url":"https://api.github.com/users/rdiachenko/events{/privacy}","received_events_url":"https://api.github.com/users/rdiachenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-03T20:45:45Z","updated_at":"2015-03-01T10:39:34Z","closed_at":null,"body":"**Problem:**\r\nWhen we create/modify/remove checks we have to keep in mind the following resources which have to be updated as well:\r\n\r\n1) <a href=\"https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/gh-pages/sevntu-checkstyle-default-configuration.xml\">SevNTU checkstyle default configuration</a>\r\n2) <a href=\"https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/master/sevntu-checkstyle-sonar-plugin/src/main/resources/com/github/sevntu/checkstyle/sonar/checkstyle-extensions.xml\">SevNTU checkstyle sonar configuration</a>\r\n\r\nAs we're all human beings we forget to update these resources from time to time. (One of the examples: #283)\r\n\r\n**Proposal:**\r\nWe should create some kind of test/tool which will check if all resources are properly updated after regular changes in checks. It'll be also good to integrate this test into maven build and fail the whole build until a developer updates all the resources."},"comment":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/comments/76591417","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/issues/285#issuecomment-76591417","issue_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/285","id":76591417,"user":{"login":"damianszczepanik","id":9612911,"avatar_url":"https://avatars.githubusercontent.com/u/9612911?v=3","gravatar_id":"","url":"https://api.github.com/users/damianszczepanik","html_url":"https://github.com/damianszczepanik","followers_url":"https://api.github.com/users/damianszczepanik/followers","following_url":"https://api.github.com/users/damianszczepanik/following{/other_user}","gists_url":"https://api.github.com/users/damianszczepanik/gists{/gist_id}","starred_url":"https://api.github.com/users/damianszczepanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianszczepanik/subscriptions","organizations_url":"https://api.github.com/users/damianszczepanik/orgs","repos_url":"https://api.github.com/users/damianszczepanik/repos","events_url":"https://api.github.com/users/damianszczepanik/events{/privacy}","received_events_url":"https://api.github.com/users/damianszczepanik/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T10:39:34Z","updated_at":"2015-03-01T10:39:34Z","body":"I've done it already for code coverage in https://github.com/damianszczepanik/sevntu.checkstyle/commit/a2f6734b0e3140021e56912e29fba8a264a98539 so I expect validating against checkstyle rules should work similar.\r\n\r\nHave you prepared list of rules that shall be applied? I expect some of them are similar to Sonar but Sonar uses different approach and may check more than checkstyle (PMD, FindBugs).\r\n\r\nWe'd better start to clean #169 and then this one would be easier because we will not have exception for each class :)"}}