-
Notifications
You must be signed in to change notification settings - Fork 94
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
BuildBuddy GitHub app: Submodules #6234
Comments
I would recommend using Our BuildBuddy Workflows should work with @ivucica could you switch from using |
At this time, I have a strong preference to keep this project on submodules: editing the dependency is significantly easier with submodules than when leveraging (I recently had a similar irritation with Go modules: using |
@ivucica thanks for replying! It's possible to checkout I will discuss with my team to see if we could add this as an opt-in config for BuildBuddy Workflows. 🤔 |
Thanks -- that's a good point; I suppose as long as it's run through Bazel, I can run anything. FWIW checking out submodules became a thing in GitHub Actions embedded into the "stock" |
That unfortunately does not do the trick because
|
Hello!
I have a toy project repo where I've quasi-vendored a few other rules repos by adding them as Git submodules, and then using
WORKSPACE
rules to pull them in vialocal_repository()
.These are perfectly usable with GitHub Actions, but if I get the BuildBuddy GH app to run bazelisk et al, it doesn't check out the submodules first. I haven't spotted a way to make it do so.
While I could by now switch over to pulling them in via a HTTP archive (perhaps write a wrapper repo rule that falls back to that approach if the submodule is not checked out, or write a wrapper rule that runs
git submodule update --init
if the submodule is not checked out), it would be a useful feature in BuildBuddy as well.The text was updated successfully, but these errors were encountered: