Skip to content

Implement hooks and fix custom schemes - #2

Merged
GooseRooster merged 10 commits into
mainfrom
implement-hooks-fix-custom-schemes
Jul 10, 2026
Merged

GooseRooster merged 10 commits into
mainfrom
implement-hooks-fix-custom-schemes

Conversation

@GooseRooster

Copy link
Copy Markdown
Owner

Added support for hooks in order to run shell commands after gnomad processing on certain events. Fixed issue where custom schemes were not applying correctly.

gooze and others added 10 commits July 10, 2026 19:53
…ript

Release now runs automatically in CI when a push to main bumps the
Cargo.toml version, replacing the interactive scripts/release.sh. Also
adds scripts/test-deploy.sh for installing/reverting a local dev build
via Homebrew without touching the published tap.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Modern Homebrew rejects installing a bare formula file that isn't part
of a tap, so test-deploy.sh now maintains a small local tap
(gnomad-dev/local) and writes the formula there instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Homebrew's build sandbox PATH doesn't include a rustup-managed cargo,
so cargo install was failing with "command not found" inside the
sandboxed build step.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
cargo shells out to rustc by bare name; Homebrew's sandbox intercepts
it via its own wrapper script which failed since rustc's directory
wasn't on the restricted PATH.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The externally-managed rustup cargo can't cleanly drive Homebrew's
sandboxed cc/linker shim (missing default libs at link time). Homebrew's
own "rust" formula is built to work inside that sandbox, so depend on
it as a build dependency instead of threading through the host cargo.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… test

gnomad's CLI has no --version flag (only --help, --apply,
--update-schemes, -v). Use --help for the formula's test block and
print the resolved binary path instead of a fabricated version string.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Fixed issues with custom schemes not applying correctly. Added support
for hooks on gnomad events.
@GooseRooster GooseRooster self-assigned this Jul 10, 2026
@GooseRooster
GooseRooster merged commit 78f3bae into main Jul 10, 2026
1 check passed
@GooseRooster
GooseRooster deleted the implement-hooks-fix-custom-schemes branch July 10, 2026 19:09
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