-
Notifications
You must be signed in to change notification settings - Fork 572
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case sensitivity #110
Comments
From Dependabot's side, I think those capitalisations are a mistake. I don't know when the bug was introduced, but at some point a couple of weeks ago I think a version of Dependabot shipped that accidentally capitalised the prefix. Unfortunately that bug has been compounded by the updated Dependabot logic here, which means Dependabot will continue to use whatever prefix it last used in a merged PR - in your case that is now capitalised. If you update the commit message on a Dependabot commit when merging it (e.g., using GitHub's squash and merge) then Dependabot should pick that up and start using that prefix instead. |
Yes semantic-release is case sensitive. I'm not sure why the decision was made. I probably didn't think about that case. It hasn't been a problem so far. |
I think the spec should be a bit strict (case sensitive). But the tools can be a bit loose (case insensitive). The angular team asked me to allow |
I noticed that tool, before few weeks. And think that all parts should be insensitive except the Dang, I forgot to set the Yea, the problem comes from the |
☝️ This sounds good to me. Anyone want to take a crack at adding this to the spec? |
This was discussed in #24, but I have found a good justification for lowercase if you are a fan of Google's reasoning for Go/Angular: https://golang.org/doc/contribute.html#commit_messages |
Thanks for sharing that old issue, @dijonkitchen. I searched but somehow missed it. Hmm, for some reason that FAQ entry about uppercase vs lowercase is not showing up on the website, even though the website appears to be serving v1.0.0-beta.2 of the spec. @damianopetrungaro, you've been the most active deployer lately -- any idea what might be going on there? 🤔 From the above link:
I like that. It works well with the GitHub convention of using imperative verb forms like All that aside, it seems this topic has already been discussed and a decision was made. Given that the Semantic Pull Requests bot is designed to play nicely with |
Yeah, seems to be in the "next" version of the content: https://github.com/conventional-commits/conventionalcommits.org/blob/master/content/next/index.md |
* fix: case insensitive header regex * fix: case insensitivity for the `increment` plugin Updates for the zeke/semantic-pull-requests#39 and conventional-commits/conventionalcommits.org#110 Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
My side is done. :) zeke/semantic-pull-requests#39 should be fixed too. |
👋 I'm late to the party, but I'd always assumed that the spec expected lower-case (except for BREAKING CHANGE which expects all upper-case); I agree that we should call this out explicitly on the website? |
anyone feel like making a pull? |
@zeke did you update the next version or the current beta? |
@damianopetrungaro no I haven't touched anything. |
* fix: case insensitive header regex * fix: case insensitivity for the `increment` plugin Updates for the zeke/semantic-pull-requests#39 and conventional-commits/conventionalcommits.org#110 Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
@zeke @tunnckoCore @damianopetrungaro where did folks land on this? do we not care about case sensitivity, with the exception of "BREAKING CHANGE" being all upper case? This is potentially more user-friendly, and I'd be fine with this approach ... perhaps we update the spec to:
@stevemao ☝️would this require sweeping changes to the parser? |
I'd still lean toward a lowercase requirement, but that doesn't seem to be the popular opinion here.
|
Exactly. I don't think spec should care and it should be lite/easy on that (so, insensitive). Tools and authors on top of it can decide whatever they want as with the case with That way @zeke's |
@bcoe I believe the parser just relies on the convention package. I believe some, if not all, convention packages are case insensitive. Though, it probably doesn't matter if, say,
In addition to, or in place of, the FAQ item that exists? |
@stevemao can you confirm that the toolchain is case insensitive? |
☝️ @stevemao if so, I suggest we add this to the specification for upstream tooling implementors. |
|
I think that we can add one more point - the "All parts of the commit message are case insensitive, except the I'm all in for case insensitive in the parsers side (like my case with |
I am fine with both actually. |
we've added a stanza removing case-sensitivity from the latest revision of the spec 👍 for the record, I'm working on a conventionalcommits preset for conventional-changelog that is true to this decision: |
There seems to be no mention of case (in)sensitivity in the spec. Should there be?
Asking because I ran into this today and I'm not sure how to resolve it: zeke/semantic-pull-requests#39
@pvdlg does
semantic-release
require lowercase?@greysteil is there a particular reason you've chose capitalized PR titles for @dependabot?
cc @tunnckoCore, maintainer of
parse-commit-message
, which appears to be case sensitive. (lowercase required).The text was updated successfully, but these errors were encountered: