Replies: 1 comment
-
Hey! I got your point. I think the most natural way is to use But there is a feature lefthook supports for P.S. There is an option called P.P.S. And after all you can use |
Beta Was this translation helpful? Give feedback.
-
I know it is probably not the goal of
lefthook
, but.. sometimeslefthook
fails for new users, because they don't have tools installed.https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues/1584
Even if it is not the goal, discussing what is available today to cover this scenario would be beneficial.
sg setup
is doing this - checking dependencies and installing them.asdf
- requires shell to be reloaded? PostgreSQL is installed from source, takes an hour.nix
- complicated. Not clear how to switch versions for testing.brew
- not clear how to pin versions.whalebrew
- looks promising, might be a way to goThe best solution is to provide tools in isolated environment, so
whalebrew
might be the best answer. Need to check that though. I don't like when SDKs are making intrusive changes to my system. These are sometimes hard to debug, so it is nice to limit all modifications only to the projectlefthook
is installed in.Beta Was this translation helpful? Give feedback.
All reactions