Skip to content

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

Merged
codejedi365 merged 2 commits intopython-semantic-release:masterfrom
codejedi365:feat/enable-parser-to-flag-changelog-2-ignore
Nov 30, 2024
Merged

feat(commit-parser): enable parsers to flag commit to be ignored for changelog#1108
codejedi365 merged 2 commits intopython-semantic-release:masterfrom
codejedi365:feat/enable-parser-to-flag-changelog-2-ignore

Conversation

@codejedi365
Copy link
Copy Markdown
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
@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