Skip to content

Should we commit generated files and how does it affect change detection? #1108

Answered by mariux
cwe1ss asked this question in Q&A
Discussion options

You must be logged in to vote

Change detection is highly dependent on the files being checked in in the current version of terramate.

In addition terramate might change generated code slightly in different versions or in worst case and edge case triggers a bug, that could be detected by changes in the generated code easily. Without checking in the generated code won't be available and any issues in generated code is invisible to a reviewer.

We have a feature planned in the backlog that would only generate a checksum that you would still need to check in but that can provide you with slightly better safeguards and supports full change detection as the checksum will change for different versions. In addition the "oudate…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@cwe1ss
Comment options

@i4ki
Comment options

@cwe1ss
Comment options

Answer selected by cwe1ss
Comment options

You must be logged in to vote
1 reply
@mariux
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
4 participants