Skip to content

Formula depends on Go for building #16

Description

@OrBin

This formula depends on Go for building.

It means that it installs go from the stable channel and leaves it there after installing buf, which is not really necessary.
It also means that it creates confusion regrading which is the "correct" Go binary, if another Go version is installed (e.g. go@1.18 from brew) or Go is installed in other way (e.g. downloaded from https://go.dev/dl/).

I believe it's possible to change this formula so it just downloads the pre-built binary from https://github.com/bufbuild/buf/releases, at least for explicitly for linux and macOS (can still install Go and build from source otherwise, to avoid losing comptability for non-linux-and-macOS-OSes). I think it should also make the formula installation faster and more reliable (why build from source on every installation if we can use the officially-released pre-built binary?).

If you agree with my suggestion, I'd love to submit a PR that does that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions