Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for commits patterns #13

Closed
ocombe opened this issue Jun 10, 2014 · 4 comments
Closed

Option for commits patterns #13

ocombe opened this issue Jun 10, 2014 · 4 comments

Comments

@ocombe
Copy link

ocombe commented Jun 10, 2014

I would like to be able to use a custom commit pattern. It would be nice to have an option to customize the following regex:

var COMMIT_PATTERN = /^(\w*)(\(([\w\$\.\-\* ]*)\))?\: (.*)$/;

And also I would like to be able to list more than just feat & fix commits in the changelog (docs for example, and probably other things later), it would be nice to be able to provide a list of the headers to parse.

If you don't have the time to do it but think it's a good idea, just tell me and I'll work on it and send a PR.

@ajoslin
Copy link
Contributor

ajoslin commented Jul 7, 2014

Hey @ocombe,

It's on the roadmap but I haven't found the time. If you'd like to open a PR in the vein of #12, please go for it!

@stevemao
Copy link
Member

Also a custom closes pattern would be nice

https://help.github.com/articles/closing-issues-via-commit-messages/

@ocombe
Copy link
Author

ocombe commented Jun 11, 2015

Woot!! \o/
Thanks a lot Steve!

@stevemao
Copy link
Member

Please checkout the rewrite on the master branch and see if the problem still exists. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants