Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure generated files are not manually altered #4

Open
schrockn opened this issue Jul 2, 2017 · 0 comments
Open

Ensure generated files are not manually altered #4

schrockn opened this issue Jul 2, 2017 · 0 comments

Comments

@schrockn
Copy link
Owner

schrockn commented Jul 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant