-
Notifications
You must be signed in to change notification settings - Fork 380
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
Add and update git_repository and http_archive rules #182
Comments
This would have helped me today. I set out to add https://github.com/golang/dep to my workspace via a Having failed to use a |
Sorry for the bad experience. I'm currently working on a major refactoring right now which will allow Gazelle to support multiple languages. I hope to get back to feature requests like this soon after. |
@jayconrod No need to apologise. :) I think I'd misunderstood how straightforward what I wanted to do would be anyhow. I was under the impression I'd be able to happily |
I am currently facing the same issue as noted in #178, where I want to be able to easily export
As the repository, https://github.com/spf13/cobra, is using standard Golang tools and not Bazel, I am using Gazelle to import it. I don't see a mechanism to actually add an If there was a setting to do this automatically, it would go a long way. As for now, I'm somewhat stymied by this barrier and not sure how to implement the license notices short of copying files around. |
@Fleker did you ever figure a workaround for this issue? |
It looks like I just copied every open-source license into a YAML file and print that out. |
Gazelle should be able to add and update
git_repository
andhttp_archive
rules (the overlay rules provided by Gazelle, not the native rules of the same name) in WORKSPACE using a command like the one below:This will generate build files and write them to
third_party/com_example_repo
. The build files can be hand-edited and checked in.The build files can be fixed and updated by running the same command again (perhaps without needing the
-kind
flag).The text was updated successfully, but these errors were encountered: