Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: update default changelog titles#1143

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
paduszyk wants to merge2 commits intocommitizen-tools:v5
base:v5
Choose a base branch
Loading
frompaduszyk:issue-1119

Conversation

@paduszyk
Copy link
Contributor

Description

This updates the default titles of the changelog's sections inConventionalCommitsCz.

Checklist

  • Add test cases to all the changes you introduce
  • Run./scripts/format and./scripts/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

Changelogs are more human-readable.

Additional context

Closes#1119.

@codecov
Copy link

codecovbot commentedMay 24, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.57%. Comparing base(120d514) to head(34543d5).
Report is 471 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@##           master    #1143      +/-   ##==========================================+ Coverage   97.33%   97.57%   +0.24%==========================================  Files          42       55      +13       Lines        2104     2603     +499     ==========================================+ Hits         2048     2540     +492- Misses         56       63       +7
FlagCoverage Δ
unittests97.57% <100.00%> (+0.24%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

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

@Lee-WLee-W added pr-status: ready-to-mergealmost ready to merge. just keep it for a few days for others to check and removed pr-status: wait-for-review labelsMay 27, 2024
ConventionalCommitsCz,
"change_type_map",
{
"feat":"Feat",
Copy link
Member

Choose a reason for hiding this comment

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

Why are the tests using the old format?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I did not want to change the tests. So I applied mocking instead to hard-coding the new values.

IMHO: For tests, the names should not matter, I guess. The point is what the values are actually used for.

Copy link
Member

Choose a reason for hiding this comment

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

It might be a bit confusing as these are no longer the actualdefault_change_type_map when someone's tracing the test cases, they might be misled

@Lee-W
Copy link
Member

@paduszyk Hi, would it be possible for us to address#1119 (comment). I think we're really close to merging!

@Lee-WLee-W added pr-status: wait-for-modification and removed pr-status: wait-for-review pr-status: ready-to-mergealmost ready to merge. just keep it for a few days for others to check labelsJul 11, 2024
@noirbizarre
Copy link
Member

I would flag this change as breaking as it means any user having a customchange_type_order with the defaultchange_type_map will see its changelog broken without a manual intervention (aka. updating thechange_type_order with the new names).
So maybe should include this one in the next major (v4?) ?

@Lee-W
Copy link
Member

I would flag this change as breaking as it means any user having a customchange_type_order with the defaultchange_type_map will see its changelog broken without a manual intervention (aka. updating thechange_type_order with the new names). So maybe should include this one in the next major (v4?) ?

Sounds good! Let me add the label

@Lee-WLee-W added the v4 labelAug 21, 2024
@Lee-WLee-W changed the base branch frommaster tov4November 2, 2024 05:17
@Lee-WLee-W changed the base branch fromv4 tomasterNovember 2, 2024 05:23
@Lee-WLee-W changed the base branch frommaster tov4November 2, 2024 05:23
Copy link
Member

@Lee-WLee-W left a comment

Choose a reason for hiding this comment

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

I think we need to change the test cases

@Lee-WLee-W removed the v4 labelAug 24, 2025
@Lee-WLee-W self-assigned thisAug 24, 2025
@Lee-WLee-W added this to the4.10.0 milestoneAug 24, 2025
@paduszyk
Copy link
ContributorAuthor

I think we need to change the test cases

It's been a while... Sorry.

@Lee-W Are you sure? This will result in a relatively large diff, taking into account the source itself will remain basically untouched except the update literals...

@bearomorphism
Copy link
Collaborator

I agree that test cases should be updated, otherwise it will cause confusion to future contributors.

I don't think relatively large diff on test files is an issue.

Lee-W reacted with thumbs up emoji

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

Reviewers

@woilewoilewoile left review comments

@Lee-WLee-WLee-W requested changes

@noirbizarrenoirbizarreAwaiting requested review from noirbizarrenoirbizarre is a code owner

Assignees

@Lee-WLee-W

Projects

None yet

Milestone

4.11.0

Development

Successfully merging this pull request may close these issues.

Default changelog titles forcz_conventional_commits

5 participants

@paduszyk@Lee-W@noirbizarre@bearomorphism@woile

[8]ページ先頭

©2009-2025 Movatter.jp