4 ms·
How do you enforce a commit policy in your projects? Do you automate it? Or do you provide feedback by mail, IM, ... to the author when a commit mistake is de
by lolive 9y ago
How do you enforce a commit policy in your projects?
Do you automate it?
Or do you provide feedback by mail, IM, ... to the author when a commit mistake is detected?
- nicwolff 9y agoWe have a GitHub integration that runs on every pull request and push, which triggers an AWS Lambda function that verifies that disables the big green "Merge" button if the branch could not also be fast-forwarded onto its parent.
- lomnakkus 9y agoReview-before-merge, maybe? Obviously, for any old arbitrary project, there's going to be limits to what you can ask your contributors to conform to before they just leave, but we're discussing "Best Practices"[1] here. I think these articles are useful because they spread the knowledge of "How To Be A Good Contributor"... for free. [1] Ugh. Not a term I like, but really this is almost always(!) the best way to do it.