I think there are some bad examples in the portuguese version #151

Closed
opened 2026-02-17 11:49:56 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @yudi-azvd on GitHub (Jul 1, 2022).

In the portuguese version of conventional commits, I think there are some bad examples like the following (link):

## Mensagem de commit com ! para chamar a atenção para quebra a compatibilidade

refactor!: remove suporte para Node 6

Which translates to

## Commit message with ! to draw attention to breaking change

refactor!: removes support for Node 6

Maybe this example is not adequate since refactoring means changing the internal structure without modifying observable behavior (Refactoring, Kent Beck). Refactor and breaking changes shouldn't be in the same commit/PR, right?

I'm no expert in software development or refactoring, I'm still learning things. So I'm if I understood something, please tell me :D

Originally created by @yudi-azvd on GitHub (Jul 1, 2022). In the [portuguese version of conventional commits](https://www.conventionalcommits.org/pt-br/v1.0.0/), I think there are some bad examples like the following ([link](https://www.conventionalcommits.org/pt-br/v1.0.0/#mensagem-de-commit-com--para-chamar-a-aten%C3%A7%C3%A3o-para-quebra-a-compatibilidade)): ``` ## Mensagem de commit com ! para chamar a atenção para quebra a compatibilidade refactor!: remove suporte para Node 6 ``` Which translates to ``` ## Commit message with ! to draw attention to breaking change refactor!: removes support for Node 6 ``` Maybe this example is not adequate since refactoring means changing the internal structure _without modifying observable behavior_ (Refactoring, Kent Beck). Refactor and breaking changes shouldn't be in the same commit/PR, right? I'm no expert in software development or refactoring, I'm still learning things. So I'm if I understood something, please tell me :D
Author
Owner

@yudi-azvd commented on GitHub (Jul 1, 2022):

I've just read the summary and it says "a BREAKING CHANGE can be part of commits of any type".

Is this correct even for refactor: type? Can someone explain why?

Also, the reasoning presented in my previous comment was accepted in this PR.

@yudi-azvd commented on GitHub (Jul 1, 2022): I've just read the [summary](https://www.conventionalcommits.org/en/v1.0.0/#summary) and it says "a BREAKING CHANGE can be part of commits of any _type_". Is this correct even for `refactor:` type? Can someone explain why? Also, the reasoning presented in my previous comment was accepted in this [PR](https://github.com/conventional-commits/conventionalcommits.org/pull/350).
Author
Owner

@javier-godoy commented on GitHub (Jul 1, 2022):

See #229

@javier-godoy commented on GitHub (Jul 1, 2022): See #229
Author
Owner

@yudi-azvd commented on GitHub (Jul 5, 2022):

Ok... i've read it. Should I open a PR correcting it?

@yudi-azvd commented on GitHub (Jul 5, 2022): Ok... i've read it. Should I open a PR correcting it?
Author
Owner

@damianopetrungaro commented on GitHub (Jul 5, 2022):

Sure @yudi-azvd ! Feel free to open a PR suggesting a better example! Thanks for noticing it as well :D

@damianopetrungaro commented on GitHub (Jul 5, 2022): Sure @yudi-azvd ! Feel free to open a PR suggesting a better example! Thanks for noticing it as well :D
Author
Owner

@yudi-azvd commented on GitHub (Jul 5, 2022):

Ok :D One more thing. When correcting, should I modify v1.0.0/index.pt-br.md or create a new doc in, say, v1.0.1/...?

@yudi-azvd commented on GitHub (Jul 5, 2022): Ok :D One more thing. When correcting, should I modify `v1.0.0/index.pt-br.md` or create a new doc in, say, `v1.0.1/...`?
Author
Owner

@yudi-azvd commented on GitHub (Jul 6, 2022):

@damianopetrungaro I don't know if you speak portuguese, but can you take a look at #458? Or maybe assign a reviewer who speaks portuguese

@yudi-azvd commented on GitHub (Jul 6, 2022): @damianopetrungaro I don't know if you speak portuguese, but can you take a look at #458? Or maybe assign a reviewer who speaks portuguese
Author
Owner

@yudi-azvd commented on GitHub (Sep 7, 2022):

Closed by #458.

@yudi-azvd commented on GitHub (Sep 7, 2022): Closed by #458.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/conventionalcommits.org#151