{"action":"created","issue":{"url":"https://api.github.com/repos/jorisroovers/gitlint/issues/63","repository_url":"https://api.github.com/repos/jorisroovers/gitlint","labels_url":"https://api.github.com/repos/jorisroovers/gitlint/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/jorisroovers/gitlint/issues/63/comments","events_url":"https://api.github.com/repos/jorisroovers/gitlint/issues/63/events","html_url":"https://github.com/jorisroovers/gitlint/issues/63","id":310336864,"number":63,"title":"Allow regex in body-changed-file-mention","user":{"login":"darnir","id":1660085,"avatar_url":"https://avatars3.githubusercontent.com/u/1660085?v=4","gravatar_id":"","url":"https://api.github.com/users/darnir","html_url":"https://github.com/darnir","followers_url":"https://api.github.com/users/darnir/followers","following_url":"https://api.github.com/users/darnir/following{/other_user}","gists_url":"https://api.github.com/users/darnir/gists{/gist_id}","starred_url":"https://api.github.com/users/darnir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darnir/subscriptions","organizations_url":"https://api.github.com/users/darnir/orgs","repos_url":"https://api.github.com/users/darnir/repos","events_url":"https://api.github.com/users/darnir/events{/privacy}","received_events_url":"https://api.github.com/users/darnir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-01T16:42:33Z","updated_at":"2018-04-02T07:41:31Z","closed_at":null,"author_association":"NONE","body":"My specific usecase is to use `gitlint` to lint commit messages which should follow the GNU Change Log guidelines (https://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs).\r\n\r\nThese commit messages are run through a script which converts git log entries to a ChangeLog file for distribution.\r\n\r\nOne of the requirements of the ChangeLog is that every commit explicitly lists out all the files which were modified in that commit. So, I'd like for `body-changed-file-mention` to run for every single file in the git repository. A simple way to do that would be to allow the rule to be a regex, so that `.*` will cause the rule to be executed for all files."},"comment":{"url":"https://api.github.com/repos/jorisroovers/gitlint/issues/comments/377876514","html_url":"https://github.com/jorisroovers/gitlint/issues/63#issuecomment-377876514","issue_url":"https://api.github.com/repos/jorisroovers/gitlint/issues/63","id":377876514,"user":{"login":"jorisroovers","id":575086,"avatar_url":"https://avatars3.githubusercontent.com/u/575086?v=4","gravatar_id":"","url":"https://api.github.com/users/jorisroovers","html_url":"https://github.com/jorisroovers","followers_url":"https://api.github.com/users/jorisroovers/followers","following_url":"https://api.github.com/users/jorisroovers/following{/other_user}","gists_url":"https://api.github.com/users/jorisroovers/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisroovers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisroovers/subscriptions","organizations_url":"https://api.github.com/users/jorisroovers/orgs","repos_url":"https://api.github.com/users/jorisroovers/repos","events_url":"https://api.github.com/users/jorisroovers/events{/privacy}","received_events_url":"https://api.github.com/users/jorisroovers/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T07:41:30Z","updated_at":"2018-04-02T07:41:30Z","author_association":"OWNER","body":"Hey, thanks for the suggestion. I like this idea.\r\n\r\nNot sure when I'll get to it  - it might take me a while. I'm wrapping up a few more commits for the upcoming 0.10.0 release, but I won't be able to get this in. There's typically a few months between releases - so that would be a rough timeline.\r\n\r\nIf you need something earlier than that, I'd recommend writing a custom rule:\r\nhttp://jorisroovers.github.io/gitlint/user_defined_rules/\r\n\r\nYou can basically copy-paste the existing ```body-changed-file-mention``` rule and modify it as you need:\r\nhttps://github.com/jorisroovers/gitlint/blob/master/gitlint/rules.py#L283-L297\r\n\r\nHappy to accept PRs as well! (see http://jorisroovers.github.io/gitlint/contributing/)\r\n"}}
{"actor":{"display_login":"jorisroovers"}}