News for hackers. Stuff that matters.
Re:What’s wrong with Git? A conceptual design analysis (2016) by jayd16 on Tuesday April 27, 2021 @09:42PM (#26964394)
CI can punish but it can't solve the problem.
Re:What’s wrong with Git? A conceptual design analysis (2016) by Dunedan on Wednesday April 28, 2021 @03:49AM (#26966826)
What works really well for me is using the pre-commit framework (https://pre-commit.com/). This offers an easy way for everybody to run defined hooks locally before committing or pushing changes. That allows people to solve problems before pushing code, but if they don't, they'll get punished by CI, as the same hooks run there as well.