-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Altering conventions (e.g., add "sty" for "style" or "enh" as an alternative to "feat") #48
Comments
OK for the feature, I can review PRs if you're willing to send one 🙂 |
I'll gladly contribute, specially after seeing your responsiveness :) Question before I dive in. Here: git-changelog/src/git_changelog/commit.py Lines 280 to 296 in 86a8f98
A naive approach would be adding the new keywords and associating them to existing sections, however this is bound to fail since you want to have a single id for the section. Would it make sense to change this dictionary to tuples of section tuple and lists/tuples of regex tokens like |
I'm not sure to understand. If you look at the dict, you'll see that we can have multiple keys (commit type) for the same value (section title), for example |
Right, sorry for my sloppiness when looking at it. Good I asked - then this PR can focus on enabling the CLI to have a language for these additions. |
No worries! Yep, sounds right 🙂 |
Is your feature request related to a problem? Please describe.
The CLI currently allows little room for flexibility on the convention side. Either being able to provide custom conventions or a utility to add prefixes to sections would be very much appreciated.
The text was updated successfully, but these errors were encountered: