graphscale icon indicating copy to clipboard operation
graphscale copied to clipboard

Ensure generated files are not manually altered

Open schrockn opened this issue 7 years ago • 0 comments

It's easy to write manual code in generated files and accidentally check it in. This should be controlled by tooling. One good way would be a "signed source" system where the code generation inserts a hash of the content of the file and then a commit hook evaluates the hash to ensure that is has not been altered.

schrockn avatar Jul 02 '17 22:07 schrockn