Skip to content

feat(commands): add --add-author paramater to include author in chang… - #2115

Open
eamanu wants to merge 1 commit into
commitizen-tools:masterfrom
eamanu:fix/2114
Open

eamanu wants to merge 1 commit into
commitizen-tools:masterfrom
eamanu:fix/2114

Conversation

@eamanu

@eamanu eamanu commented Oct 22, 2026

Copy link
Copy Markdown

Description

Add --add-author parameter to add author in the changelog commits lines

Checklist

Code Changes

  • Add test cases to all the changes you introduce

  • Run uv run poe all locally to ensure this change passes linter check and tests

  • Manually test the changes:

    • Verify the feature/bug fix works as expected in real-world scenarios
    • Test edge cases and error conditions
    • Ensure backward compatibility is maintained
    • Document any manual testing steps performed
  • Update the documentation for the changes

  • Run uv run poe doc locally to ensure the documentation pages renders correctly

  • Check and fix any broken links (internal or external)

…elog

Signed-off-by: Emmanuel Arias <eamanu@debian.org>
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.30%. Comparing base (2ebac02) to head (123e27b).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2115      +/-   ##
==========================================
+ Coverage   98.28%   98.30%   +0.01%     
==========================================
  Files          61       61              
  Lines        2864     2888      +24     
==========================================
+ Hits         2815     2839      +24     
  Misses         49       49              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Comment thread commitizen/git.py
return f"{self.title}\n\n{self.body}".strip()

@property
def signed_off_by(self) -> tuple[str, str] | None:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be added to commitizen, the rest belong on a separate package

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, should I keep this property and let commitizen users handle how the changelog gets printed?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants