4 ms·
If you want central authority, isn't it the job of CI? Use CI to verify the commits fits the styles and review the commits before merging.
by joshuaavalon 5y ago
If you want central authority, isn't it the job of CI?
Use CI to verify the commits fits the styles and review the commits before merging.
- jayd16 5y agoCI can punish but it can't solve the problem.
- Dunedan 5y agoWhat works really well for me is using the pre-commit framework (https://pre-commit.com/ 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.
- rualca 5y ago> If you want central authority, isn't it the job of CI? You can't fault a tool for not providing a centralized authority when it's very central design principle is being decentralized.