linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.31k stars 1.01k forks source link

add travis check to reject bad commit messages #108

Open vapier opened 7 years ago

vapier commented 7 years ago

if we have a standard (like requiring s-o-b tags), we should be able to add a travis check that'd run on every pull request

metan-ucw commented 7 years ago

Sounds like a good idea. I guess that we can even run the checkpatch.pl (from a kernel git repo) to check the incoming patches as well. I will have a look into this later.

pevik commented 5 years ago

Another thing would be to use checkbashisms.pl for testing changed shell in commit hooks.

metan-ucw commented 5 years ago

It would be nice to have this as a pre-commit hook, unlike compilation this could be fast and efficient.

pevik commented 9 months ago

I'm not sure any more if this is good idea. But github now have in the setup "Require contributors to sign off on web-based commits", that might be useful.