Skip to content

Conversation

@cgwalters
Copy link
Collaborator

This adds a Homebrew formula for bcvk, addressing issue #100.

The formula supports both stable releases and HEAD installations. Users can install with:
brew install bootc-dev/bcvk/bcvk

Closes: #100

Assisted-by: Claude Code (Sonnet 4.5)

This adds a Homebrew formula for bcvk, addressing issue bootc-dev#100.

The formula supports both stable releases and HEAD installations.
Users can install with:
  brew install bootc-dev/bcvk/bcvk

Closes: bootc-dev#100

Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters mentioned this pull request Oct 29, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces Homebrew support for bcvk, which is a valuable addition for easier installation on Linux. The Homebrew formula is well-crafted and follows current best practices, and the accompanying documentation changes are clear and helpful. My review includes one suggestion to add a livecheck block to the formula, which will improve its long-term maintainability by enabling automatic version updates.

url "https://github.com/bootc-dev/bcvk/archive/refs/tags/v0.5.3.tar.gz"
sha256 "67c632b26513f77edcf63b3da8b22941a4ef467c984bfce301544533a1f12979"
license any_of: ["MIT", "Apache-2.0"]
head "https://github.com/bootc-dev/bcvk.git", branch: "main"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This is a well-written Homebrew formula. To improve its long-term maintainability, I suggest adding a livecheck block. This allows Homebrew's infrastructure to automatically detect new releases of bcvk and open pull requests to update the formula, ensuring users get timely updates.

  head "https://github.com/bootc-dev/bcvk.git", branch: "main"

  livecheck do
    url :stable
    strategy :github_latest
  end

@cgwalters
Copy link
Collaborator Author

I only very superficially tested this locally (didn't test the GHA flow before this push but it should cover the basics).

@tulilirockz
Copy link

I think this needs to be on a separate repository with the homebrew-bcvk name, similar to what is done with the Homebrew package for podman-bootc 😞

@tulilirockz
Copy link

I made a repository for this, could it be cloned or moved into the bootc-dev org? We could make it into a general tap if podman-bootc would like it or something:

https://github.com/tulilirockz/homebrew-bcvk.git

@cgwalters
Copy link
Collaborator Author

OK so we can have multiple taps in a single git repo? If so let's just call it homebrew then? As far as transferring it requires a bit of a complex dance, it was simpler to fork https://github.com/bootc-dev/homebrew-bcvk - that OK?

@cfergeau
Copy link

OK so we can have multiple taps in a single git repo? If so let's just call it homebrew then? As far as transferring it requires a bit of a complex dance, it was simpler to fork https://github.com/bootc-dev/homebrew-bcvk - that OK?

brew has some magic when the repo is on github and is named homebrew-something, you’d lose that with just homebrew as the repo name, see https://docs.brew.sh/Taps#repository-naming-conventions-and-assumptions

You can have multiple formulas (~packages) in the same git repo (~tap)

@cgwalters
Copy link
Collaborator Author

cgwalters commented Oct 30, 2025

And thanks for working on this!

As far as homebrew on Linux...I was initially primed to like it, but after looking at some of the implementation choices (ruby code not a declarative format, /home/linuxbrew feels pretty weird as a hardcoded choice) I cooled on it a bit. But...yeah it does fill a niche.

Though I think we should support https://crates.io/crates/cargo-binstall too.

@cgwalters cgwalters closed this Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Homebrew tap

3 participants