Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git hooks integration #2501

Open
joeapearson opened this issue Feb 1, 2025 · 1 comment
Open

Git hooks integration #2501

joeapearson opened this issue Feb 1, 2025 · 1 comment
Labels
feature New feature or request triage Issue needs triage

Comments

@joeapearson
Copy link

What problem are you trying to solve?

I'd like to be able to invoke scripts defined in devbox.json via git hooks.

What solution would you like?

A plug-in that would allow you to define a script in devbox and have it automatically be associated with an appropriate git hook.

Alternatives you've considered

There's a clever approach in devenv here. It automates the process of defining an appropriate pre-commit configuration, and comes with a bunch of canned tooling. https://github.com/cachix/git-hooks.nix .

@joeapearson joeapearson added feature New feature or request triage Issue needs triage labels Feb 1, 2025
@joeapearson
Copy link
Author

Here's an example of the kind of thing I think could be useful:

https://github.com/joeapearson/devbox-git-hooks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request triage Issue needs triage
Development

No branches or pull requests

1 participant