-
Notifications
You must be signed in to change notification settings - Fork 3
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
Create contributing guidelines #16
Comments
Yeah we need lots of docs! 😄 Here's the resource for the commit message: https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines |
Should we use something like commitizen to help work flow/force consistency in commit messages. |
@kwelch so I'd love to use it for PRs. But my understanding is that it works on every commit, which would be annoying because we probably make a bunch of local commits before putting up the PR. And since we only do rebase merges of PRs, the only title that really matters is the title of the PR... |
Britecharts has set up templating for issues and pull requests which has worked really well for us! I would be in favor of adding something like that here. Here's a link to one of the prs setting it up in britecharts |
Sounds like you should take this issue then 😉 |
so down 👍 |
@benmvp Good point, that would be very annoying locally. The Templates are a great approach. On react-slingshot, we have a PR template that includes a checklist, it is for both the submitter and the reviewer. |
That one is nice too @kwelch! I feel like we can merge them together to ensure enough information is included in the PRs. But the real key is making sure the title format is followed (as well as mentioning a breaking change) |
This looks like it could be helpful in verifying and validating both messages and PR titles. https://github.com/uber-workflow/probot-app-pr-title |
I was thinking of going the approach of running a script in travis that would fail the build if the PR wasn't the right format. Maybe somehow using the underlying CLI from This bot is interesting. Not quite sure how we'd run it in travis. The docs are sparse to say the least... I think it might be worthwhile to move this discussion about PR title validation to a separate issue and leave this to be just around the Contributing guidelines |
@BenAtEventbrite +1 on moving to a new issue, i think for this pr i'm going to add a CONTRIBUTING.md an issues template and a pr template (about halfway done) and we can work out the rest in that separate issue. sound good? |
I know we're no longer talking about commit title validation in Travis, but I stumbled upon http://marionebl.github.io/commitlint/#/guides-ci-setup which may help us and I need somewhere to put it :) |
We should include some contributing guidelines to replace the "coming soon" portion of our docs!
Probably a CONTRIBUTING.md file would be good and then link it from the README.md.
Things to include:
The text was updated successfully, but these errors were encountered: