Skip to content

feat(commit-parser): enable parsers to flag commit to be ignored for changelog #1108

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

Conversation

codejedi365
Copy link
Contributor

@codejedi365 codejedi365 commented Nov 30, 2024

Purpose

Rationale

This adds an attribute to the ParsedCommit object that allows custom parsers to set to false if it is desired to ignore the commit completely from entry into the changelog.

How did you test?

Added a new E2E test that uses a custom parser that would ignore any chore prefixed commits. Using the no tags repo, I was able to check that the changelog did not change when I would regenerate the changelog after making an additional chore commit.

…changelog

This adds an attribute to the ParsedCommit object that allows custom
parsers to set to false if it is desired to ignore the commit completely
from entry into the changelog.

Resolves: python-semantic-release#778
@codejedi365 codejedi365 force-pushed the feat/enable-parser-to-flag-changelog-2-ignore branch from 60a59c8 to 2121cbe Compare November 30, 2024 04:50
@codejedi365 codejedi365 merged commit 0cc668c into python-semantic-release:master Nov 30, 2024
12 checks passed
@codejedi365 codejedi365 deleted the feat/enable-parser-to-flag-changelog-2-ignore branch November 30, 2024 04:56
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

Successfully merging this pull request may close these issues.

Commit Parser has the ability to say "ignore this commit" for the purposes of building the changelog
1 participant