← Back to context

Comment by smarx007

5 days ago

How about specifying a version in the CI config? [0]

Also, you know that you can do a binary search for the version that works for you? 0.154.0, 0.77.0, 0.115.0 ... (had to do it once myself)

[0]: https://github.com/oslc-op/website/blob/9b63c72dbb28c2d3733c...

This is probably the smarter way actually.

Alternatively there's apparently some nix flakes that have been developed.

So, there's options.

I just recommend pinning your version and being intentional about upgrades.

  • > This is probably the smarter way actually.

    Oh definitely. How can you suggest adding a binary to a git repository? It's a bad idea on many levels: it bloats the repository by several orders of magnitude, and it locks you to the chosen architecture and OS. Nope, nope, nope.

    • The issue with binaries is when they are large, change often, is often a duplication of information already present, and that you can't diff them. A program is neither large, it doesn't change often, is not duplicate information and you don't want to diff them. IMHO this idea is fine, this is not added the build artifact in every commit type of situation.

Second this. Once I setup GitHub actions with Hugo (there’s one readily available), I rarely build the blog locally anymore. New article drafts become GH pull requests, and once ready they get merged and published. This also works on mobile well enough.