






















Generated code, ideally, should not be committed to version control. Committing generated code can sometimes speed up testing and code generation but it is a design smell. It is better to cache generated code via CI caching. Committing generated code to version control is the worst as it is hard to even detect the difference.
However, there are a few specific circumstances where committing generated code/config/data to version control is worth it.
openapi.json specifications to version control. So, any breaking modifications to it can be
tracked via CI.Should Machine Learning models be committed to version control? I don’t think so. These are huge binary blobs. It is best to put them in an Amazon S3 bucket/Google Cloud Storage bucket and use that as a version control.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。