by rtpg · 2y ago · 0 comments
Stuff from apt/etc as well? put the install script in the dependencies.
Really care about the version numbers? Add a test that just calls `tool -v` and compares the output to some fixed number. Add a big comment.
Is it perfect? No! Is it hermetic! Hell no! But is it going to catch a hell of a lot of stuff and get you fast tests along the way? Yes!
The biggest point with all CI/CD is to get as much value as you can from these systems, while introducing the least amount of friction. And velocity gained from these systems mean that if you find an issue, you can fix it quickly. It's an amazing feedback loop, and leaning into that feedback loop is way more valuable than writing `gettext` compilation scripts.
Therefore I would trust package pinning to work, but it's not quite as straightforward for the end-user as unique package hashes as identifiers.