-
Notifications
You must be signed in to change notification settings - Fork 927
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
End user documentation - where is it? #471
Comments
Hi Jan! I don't think you can find such information here. We also can't really provide this information because it is project specific. Each project implementing commitlint may have their own way of committing. Usually, you can find that project-specific information in their |
So the projects which use commitlint can define their own types? If your answer is yes then I agree with you that the projects have to provide the documentation. If your answer is no I disagree, then it is the job of commitlint to provide the default documentation what those abbreviated types mean. The third link at least provides some information about the background of commitlint. Please add it on your project BTW: The link http://marionebl.github.io/commitlint in the head of the commitlint GitHub page is HTTP not HTTPS... |
The answer is yes 😉 The example code in the I totally agree with you that the learning curve might be a bit steep. It's something we can improve. But that doesn't mean that projects shouldn't be explaining which types and why they allow. At the company I work for, we add this on every readme file in every repository. I will fix the http -> https links now! 😄 thanks! |
I encountered commitlint in a open source community project which did not had a commit guideline. Therefore I only had the name "commitlint" and the error messages
May be it would be a good idea to make the error message a bit more verbose. Especially the error message on the missing commit message was very confusing for me because actually I did specify a commit message, however the real problem was that it did not apply to the commitlint format specification. Therefore the error message should be like this one:
|
I agree that the message output could be improved. @jpstotz it would be great if you can provide a PR with the things you mentioned which could be improved already in the README. Have a look at @marionebl s slides to a talk he gave regarding commitlint: https://slides.com/marionebl/the-perks-of-committing-with-conventions |
@escapedcat I will see what I can, however my list of tasks to be done is currently high like a sky scraper. @byCedric There is still one HTTP link on https://github.com/marionebl/commitlint right the first entry in the "Code" tab (the section above the section displaying the repo content). AFAIR those info is not stored in the git repo, it has to be edited directly on the page. |
@jpstotz I guess it's the same for us but we try to fit it into the priorities. The HTTP link in the repo description can only be changed by @marionebl for now. Thx for mentioning it. |
@escapedcat I peeked into the slides you mentioned. It is nice and clean presentation, however without somebody talking and explaining all the details, the information density per slide is a bit low. Back to the readme, even if I can't prove a PR, I want write my ideas and thoughts: At the moment the readme start with a cool demo - we are techies and the cool stuff comes first no matter if it is important. At least I got one valuable information from it: After some time the list of types appears. For my investigation of commitlint this was the first and only time I was able to see the different available types! The rest of the readme more or less is on the question "How to configure my project to use commitlint?".
And then and third position the question "How to configure my project to use commitlint?" comes into play. Therefore I would restructure the readme this way: CommitlintShort textual description what commitlint does including it's simple syntax. Add two examples for the most common usages types like Benefits using commitlintI havn't fully understand the advantages in detail, however I assume you have a lot to add here :) Configure a project to use commitlint
|
Cool, thanks @jpstotz, that's a good start. I think we can work with this. |
Hey people, thanks for the input and the great ideas. I talked with @escapedcat about this and here is what we gonna do: Short term
Long term
|
I may have missed it but I can only find the documentation for people who want to set-up commitlint for their project.
I am missing the end-user documentation for those people who want to commit something to a project that uses commitlint.
Therefore in detail I am searching for a description what all the different types mean and when should I use which one.
The text was updated successfully, but these errors were encountered: