{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/2590","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/2590/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/2590/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/2590/events","html_url":"https://github.com/checkstyle/checkstyle/issues/2590","id":116616914,"number":2590,"title":"Tests for validating commit message should not allow period at the end of commit message","user":{"login":"MEZk","id":7242568,"avatar_url":"https://avatars.githubusercontent.com/u/7242568?v=3","gravatar_id":"","url":"https://api.github.com/users/MEZk","html_url":"https://github.com/MEZk","followers_url":"https://api.github.com/users/MEZk/followers","following_url":"https://api.github.com/users/MEZk/following{/other_user}","gists_url":"https://api.github.com/users/MEZk/gists{/gist_id}","starred_url":"https://api.github.com/users/MEZk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEZk/subscriptions","organizations_url":"https://api.github.com/users/MEZk/orgs","repos_url":"https://api.github.com/users/MEZk/repos","events_url":"https://api.github.com/users/MEZk/events{/privacy}","received_events_url":"https://api.github.com/users/MEZk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/approved","name":"approved","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-12T18:58:34Z","updated_at":"2015-11-13T07:37:31Z","closed_at":null,"body":"@romani, @liscju\r\nTests for validating commit message which were implemented in scope of https://github.com/checkstyle/checkstyle/pull/1518 skip period at the end of commit message.\r\n\r\nExample: https://github.com/checkstyle/checkstyle/commit/17eaaa5a0aec1943cf0f2c59a95e81fa72b740c1\r\n\r\nIt leads to a problem for future release notes xdoc generator: some commits messages can have period at the end and other cannot. It is not a big problem, yet we should follow the rules which were suggested in https://github.com/checkstyle/checkstyle/pull/1518.\r\n\r\n@liscju \r\nFYI: we have the following regexp to validate commit message: \"^(minor|config|infra|doc|spelling): .*$\";\r\n\r\nDot (.) matches any character (except newline).\r\nProof: https://regex101.com/\r\n"},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/156354674","html_url":"https://github.com/checkstyle/checkstyle/issues/2590#issuecomment-156354674","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/2590","id":156354674,"user":{"login":"MEZk","id":7242568,"avatar_url":"https://avatars.githubusercontent.com/u/7242568?v=3","gravatar_id":"","url":"https://api.github.com/users/MEZk","html_url":"https://github.com/MEZk","followers_url":"https://api.github.com/users/MEZk/followers","following_url":"https://api.github.com/users/MEZk/following{/other_user}","gists_url":"https://api.github.com/users/MEZk/gists{/gist_id}","starred_url":"https://api.github.com/users/MEZk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEZk/subscriptions","organizations_url":"https://api.github.com/users/MEZk/orgs","repos_url":"https://api.github.com/users/MEZk/repos","events_url":"https://api.github.com/users/MEZk/events{/privacy}","received_events_url":"https://api.github.com/users/MEZk/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T07:37:31Z","updated_at":"2015-11-13T07:37:31Z","body":"@romani \r\nNew regexp should be **^(minor|config|infra|doc|spelling): .[^\\.]*$** for minor, config, infra, doc, or spelling.\r\n[^\\.] match a single character not present in the list below.\r\n\r\n**^Issue #\\\\d*: .[^\\\\.]*$** is for issue massages.\r\n**^Pull #\\\\d*: .[^\\\\.]*$** is for pull request messages.\r\n\r\nI've checked them with https://regex101.com/\r\n"}}