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

How to include all the commits #85

Open
lorenzo-bc opened this issue May 14, 2019 · 2 comments
Open

How to include all the commits #85

lorenzo-bc opened this issue May 14, 2019 · 2 comments

Comments

@lorenzo-bc
Copy link

lorenzo-bc commented May 14, 2019

This is my .changelogrc

{
    "app_name": "Git Changelog",
    "logo": "https://github.com/rafinskipg/git-changelog/raw/master/images/git-changelog-logo.png",
    "intro": "Git changelog is a utility tool for generating changelogs. It is free and opensource. :)",
    "branch" : "",
    "repo_url": "",
    "version_name" : "v1.0.0",
    "file": "CHANGELOG.md",
    "template": "myCustomTemplate.md",
    "sections": [
        {
            "title": "Bug Fixes",
            "grep": "^fix"
        },
        {
            "title": "Features",
            "grep": "^feat"
        },
        {
            "title": "Documentation",
            "grep": "^docs"
        },
        {
            "title": "Breaking changes",
            "grep": "BREAKING"
        },
        {
            "title": "Refactor",
            "grep": "^refactor"
        },
        {
            "title": "Style",
            "grep": "^style"
        },
        {
            "title": "Test",
            "grep": "^test"
        },
        {
            "title": "Chore",
            "grep": "^chore"
        },
        {
            "title": "Branchs merged",
            "grep": "^Merge branch"
        },
        {
            "title" : "Pull requests merged",
            "grep": "^Merge pull request"
        },
        {
            "title" : "Other",
            "grep": "^"
        }
    ]
}

Is it possible to modify the Other section to catch all the commits with malformed titles?,
e.g. I am trying to catch commits like:

fea(cli): gggg (misspelling of feat)
created something

The first won't be displayed but the second does

@rafinskipg
Copy link
Owner

Hello, the grep option passed is used in the command to pick the logs, i guess if you find a regular expression that is compatible to do what you want, you may do it. Sorry, i don't know clearly if it is possible

@lorenzo-bc
Copy link
Author

lorenzo-bc commented May 16, 2019

I tried

        {
            "title" : "Other",
            "grep": "*"
        }

but this doesn't match any

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

No branches or pull requests

2 participants