Repository navigation
Add curl and Homebrew installs backed by GitHub releases - #5
Conversation
- .github/workflows/release.yml: on a vX.Y.Z tag, check the tag against the versions in report.zig and build.zig.zon, run the tests, build the static binaries, package them, publish a GitHub release with SHA256SUMS, then install that release with install.sh on Linux x86_64, Linux aarch64 and macOS arm64. - packaging/package.sh: deterministic zigmap-<arch>-<os>.tar.gz archives (binary and README) and SHA256SUMS. - install.sh: picks the asset for the OS and CPU, verifies the checksum, installs to /usr/local/bin if writable or ~/.local/bin, never runs sudo. ZIGMAP_VERSION, ZIGMAP_INSTALL_DIR and ZIGMAP_BASE_URL override the defaults. - packaging/homebrew/render-formula.sh: prints the formula for the mcaney006/homebrew-zigmap tap from a release's SHA256SUMS. - build.zig.zon version set to 0.2.0 to match report.zig. - README install section and docs/releasing.md. Tested locally: packaging twice gives identical SHA256SUMS; install.sh installs and runs on macOS arm64 (curl, file://), Alpine (busybox wget, root) and Ubuntu (curl, non-root to ~/.local/bin), and refuses a tampered archive; the rendered formula passes brew style.
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 8 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 2 PR taxonomy bucket(s): Security Evidence, CI/CD Recommendation. Scanned 8 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 8 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 8 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
Caution Review failedThe pull request is closed. Summary
Merge Risk:
|
ECC Tools / PR Config AuditCommit: No changed-config issues detected (success) Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 1 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
the versions in report.zig and build.zig.zon, run the tests, build the
static binaries, package them, publish a GitHub release with
SHA256SUMS, then install that release with install.sh on Linux x86_64,
Linux aarch64 and macOS arm64.
(binary and README) and SHA256SUMS.
installs to /usr/local/bin if writable or ~/.local/bin, never runs sudo.
ZIGMAP_VERSION, ZIGMAP_INSTALL_DIR and ZIGMAP_BASE_URL override the
defaults.
mcaney006/homebrew-zigmap tap from a release's SHA256SUMS.
Tested locally: packaging twice gives identical SHA256SUMS; install.sh
installs and runs on macOS arm64 (curl, file://), Alpine (busybox wget,
root) and Ubuntu (curl, non-root to ~/.local/bin), and refuses a
tampered archive; the rendered formula passes brew style.
Note
Low Risk
Changes are limited to release automation, packaging scripts, and docs; the scanner runtime is unchanged aside from the package version bump.
Overview
Adds a tag-driven release pipeline and user-facing install paths for prebuilt zigmap binaries on Linux and macOS (x86_64 and aarch64).
Pushing a
v*tag triggers.github/workflows/release.yml, which verifies the tag againstsrc/output/report.zigandbuild.zig.zon, runs tests, builds release binaries, runspackaging/package.shfor deterministiczigmap-<arch>-<os>.tar.gzassets plusSHA256SUMS, publishes a GitHub release, and smoke-testsinstall.shon a small OS matrix.New
install.shdownloads the matching release asset, verifies checksums, and installs withoutsudo(configurable viaZIGMAP_VERSION,ZIGMAP_INSTALL_DIR,ZIGMAP_BASE_URL).packaging/homebrew/render-formula.shgenerates the Homebrew tap formula from release checksums.docs/releasing.mdand an Install section in the README document Homebrew, curl pipe, and manual release downloads. Package version is bumped to 0.2.0 inbuild.zig.zon, anddist/is gitignored.Reviewed by Cursor Bugbot for commit 180d842. Configure here.