mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-03-12 02:17:21 -05:00
Allow patch as an alternative/alias to fix
#167
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lzambarda on GitHub (Jan 17, 2023).
While reading v1.0.0 I noticed the following:
This is a good description because as developers we patch things more often than we fix them (a level of uncertainty in having fixed certain bugs is not uncommon).
Therefore I would argue that
patchshould be allowed as an alternative tofixif not even used as a replacement.@bcoe commented on GitHub (Jan 30, 2023):
The challenge with aliasing the foundational types (
fixandfeat), is that there's a significant ecosystem of tooling that exists already for conventional commits.Perhaps we could instead provide more direction in the non-normative text, about how to use alternative types? If in your project you would prefer to use
patchtofix, this is perfectly reasonable if you can get your toolchain setup to handle it -- I'm hesitant to overhaul the normative text of the spec to handle this behaviour...I think I feel the same way regarding using
feature, rather thanfeat, which I used to be supportive of. This spec has been in the wild for a few years now, there's a healthy amount of tooling around it, and I think it's serving its purpose well.This is just one opinion though!