-
-
Brian "Krow" Aker (
krow) wrote, Brian "Krow" Aker
krow
Commit Triggers sometimes needed for revision control...
When you "commit" a changeset in most source control systems you can
run a trigger.
Sometimes the trigger sends out email, sometimes it just checks for a
common mistake.
These are the ones I need for myself, and others:
Check all comments for spelling errors.
Check all comments against Google. If Google returns no
results, the comment probably won't parse when a human reads it.
Flag all swear words. AKA #ifdef CRAP
Check blood alcohol content (not a problem I have...)
Check caffeine level (a problem I have...)
Did "make test" really get run before the code was pushed?
... -
…
-
Subject says it all.
-
Blip