Skip to content

fix: resolve cnquery empty installation error#56

Open
philipbalinov wants to merge 3 commits into
masterfrom
philip/fix-cnquery-empty-install
Open

fix: resolve cnquery empty installation error#56
philipbalinov wants to merge 3 commits into
masterfrom
philip/fix-cnquery-empty-install

Conversation

@philipbalinov

Copy link
Copy Markdown
Contributor

Summary

  • Fix brew install cnquery failing with Empty installation error
  • Remove unnecessary ~24MB tarball download from the transitional formula
  • Install a lightweight placeholder file to satisfy Homebrew requirement that every formula installs something
  • Since cnspec (via depends_on) already provides the cnquery symlink, no binary download is needed

Changes to Formula/cnquery.rb

  • Replaced architecture-specific url/sha256 blocks with a no-op URL (sha256 :no_check)
  • Added a small placeholder README to share/cnquery/ in def install

Test plan

  • brew install cnquery completes without Empty installation error
  • cnquery version works (via symlink from cnspec)
  • brew uninstall cnquery works cleanly

Note

Since this is a transitional formula with no version-specific content, it no longer needs version/checksum bumps on each release.

Generated with Claude Code

philipbalinov and others added 3 commits March 17, 2026 16:51
The cnquery formula downloaded the cnspec tarball but installed nothing,
causing Homebrew to fail with Empty installation. Replace the download
with a lightweight placeholder file. Since cnspec (installed via
depends_on) already provides the cnquery symlink, no binary is needed.

This also eliminates the ~24MB unnecessary download and removes the need
to bump cnquery version/checksums on each release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Point the transitional cnquery formula at the actual mql source archive
on GitHub with a real sha256 checksum, instead of downloading the
mondoo.com homepage with :no_check. Also bump version to 13.2.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant