Skip to content

Conversation

@rynbrd
Copy link
Contributor

@rynbrd rynbrd commented Oct 23, 2017

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 bzl files so have resorted to '/'.join(...). Open to suggestions on a better way to do that.

@bazel-io
Copy link

Can one of the admins verify this patch?

@googlebot
Copy link

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!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If your company signed a CLA, they designated a Point of Contact who decides which employees are authorized to participate. You may need to contact the Point of Contact for your company and ask to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the project maintainer to go/cla#troubleshoot.
  • In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again.

@rynbrd
Copy link
Contributor Author

rynbrd commented Oct 23, 2017

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

@johnynek
Copy link
Contributor

I don't know a better way to fix this.

Looks good to me.

@ittaiz
Copy link
Contributor

ittaiz commented Oct 24, 2017

Not sure this will work for windows, I'll merge since I think it's better than before
@damienmg is there a better way to handle this problem?

@ittaiz ittaiz merged commit 2191e5e into bazel-contrib:master Oct 24, 2017
@damienmg
Copy link
Contributor

Unfortunately not at the moment.

@ittaiz
Copy link
Contributor

ittaiz commented Oct 24, 2017

I see. So if we wanted to support windows you'd suggest just doing an if there and use relevant separators?

@damienmg
Copy link
Contributor

damienmg commented Oct 24, 2017 via email

@ittaiz
Copy link
Contributor

ittaiz commented Oct 24, 2017

Thanks, skylib definitely looks interesting though they declare they don't support windows yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants