unit icon indicating copy to clipboard operation
unit copied to clipboard

CLI: Include unitctl in our Homebrew and Linux packages

Open javorszky opened this issue 1 year ago • 6 comments

unitctl should also be built and published to the linux package managers that we build unit packages for, as well as homebrew

javorszky avatar May 20 '24 21:05 javorszky

@thresheek Please correct me if I am wrong, but this is complete yes?

avahahn avatar Sep 25 '24 16:09 avahahn

We have unitctl in homebrew (downloaded from GH releases), but not in the packages.

I'm not sure if the approach taken in homebrew - downloading binary packages without building those - is applicable to Linux packages where we compile it all from scratch. This needs to be figured out.

thresheek avatar Sep 25 '24 17:09 thresheek

When we include unitctl in packages, we probably should build it from scratch if possible. However, it's an end-user tool, so for the next release or two it's fine to direct people to manually grab a binary from GitHub.

callahad avatar Sep 30 '24 08:09 callahad

FWIW, Rust will become a build requirement once we merge OpenTelemetry support for 1.34 (targeting late January 2025 for release), so work here should also get reused for that :)

callahad avatar Sep 30 '24 08:09 callahad

Rust is already a build requirement due to wasm modules we ship in the binary packages; same for Java / maven. I think it's just a matter of spending time on implementing the actual build process in packages and testing it on the supported OSes.

thresheek avatar Sep 30 '24 18:09 thresheek

Ah, yes, of course. Sorry, that completely skipped my mind.

callahad avatar Oct 07 '24 08:10 callahad