Does pants support an equivalent of bazel's `git_r...
# general
t
Does pants support an equivalent of bazel's
git_repository
which will clone a repository and apply patches/inject build files at target execution time?
c
Not out of the box. Can you share an example how this is useful? (Me being curious;) )
t
we use it for pulling 3rdparty repositories mostly. Normally you would add a git submodule and check in your added BUILD files, but this won't work with a big monorepo codebase so you want them pulled when needed as a dependency. Injecting the BUILD files or patches also allows you to avoid modifying the 3rdparty repo
👀 1