-
-
Notifications
You must be signed in to change notification settings - Fork 286
Prepend generated file root to protobuf input root path. #321
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
Prepend generated file root to protobuf input root path. #321
Conversation
|
Can one of the admins verify this patch? |
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
CLAs look good, thanks! |
|
I don't know a better way to fix this. Looks good to me. |
|
Not sure this will work for windows, I'll merge since I think it's better than before |
|
Unfortunately not at the moment. |
|
I see. So if we wanted to support windows you'd suggest just doing an |
|
I believe people have open sourced skylib (
https://github.com/bazelbuild/bazel-skylib) for exactly those kind of base
functions. Cc @dslomov also for windows and Skylark.
…On Tue, Oct 24, 2017, 8:25 AM Ittai Zeidman ***@***.***> wrote:
I see. So if we wanted to support windows you'd suggest just doing an if
there and use relevant separators?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#321 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADjHf8g0eBTV0x8x21fHCMt9eK1KCvMMks5svYLzgaJpZM4QDb3a>
.
|
|
Thanks, skylib definitely looks interesting though they declare they don't support windows yet |
Protobufs generated in a separate repository do not have their root set properly. This causes builds to fail when using well known protos from the latest https://github.com/google/protobuf.
Fixes #312.
I could not find documentation on the right way to join paths in
bzlfiles so have resorted to'/'.join(...). Open to suggestions on a better way to do that.