3 ms·
>If a binary is lost, it can be rebuilt exactly as it was. You only need to ensure the source is preserved. Wouldn't this depend upon the environment as well?
by SkyBelow 6y ago
>If a binary is lost, it can be rebuilt exactly as it was. You only need to ensure the source is preserved.
Wouldn't this depend upon the environment as well? Unless the build starts off by creating a build environment, but then we are half way to "To first make bread from scratch, create a universe...".
- remexre 6y agoIf you run your builds in Docker, this is usually taken care of. If not, it seems like it'd be good practice to document exactly what build dependencies are used; I've had to track down a regression introduced by inlined code from a dependency when we weren't tracking build dependency versions, and the fact that a bug was introduced with no changes in the relevant section of the code was troublesome to say the least.