Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

The path to Grpc.Tools in the example command for Linux(or macOS) does not exist #784

Merged
merged 1 commit into from
Dec 3, 2018
Merged

Conversation

ptrkrlsrd
Copy link

Hey,

I belive there is a mistake in the path to Grpc.Tools in the example command for Linux in the documentation. When I tried running the example command displayed on the page (look below) I got an error saying that the path does not exist. It worked when I replaced the dot after tools in the current path (~.nuget/packages/grpc.tools.1.16.0/) with a slash, which resulted in a valid path: ~/.nuget/packages/grpc.tools/1.16.0/

@thelinuxfoundation
Copy link

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.

After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

Regards,
CLA GitHub bot

@ptrkrlsrd
Copy link
Author

I signed it

@carl-mastrangelo
Copy link

@jtattermusch can you take a look?

@@ -164,7 +164,7 @@ protoc-gen-grpc plugin requires fullpath of "grpc_csharp_plugin" executable inst

```
# Local nuget cache on Linux and Mac is located in ~/.nuget/packages
$ ~/.nuget/packages/grpc.tools.{{ site.data.config.grpc_release_tag | remove_first: "v" }}/tools/linux_x64/protoc -I../../protos --csharp_out Greeter --grpc_out Greeter ../../protos/helloworld.proto --plugin=protoc-gen-grpc=${HOME}/.nuget/packages/grpc.tools.{{ site.data.config.grpc_release_tag | remove_first: "v" }}/tools/linux_x64/grpc_csharp_plugin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might need to fix the path for windows too.

@jtattermusch
Copy link

@ptrkrlsrd can you please sign the CLA? Otherwise I can't merge.

@jtattermusch
Copy link

Btw, in the upcoming release v1.17.0 we will have experimental support for codegen integration (see https://github.com/grpc/grpc/blob/master/src/csharp/BUILD-INTEGRATION.md), so juggling with grpc.tools path should not be necessary anymore.

@ptrkrlsrd
Copy link
Author

ptrkrlsrd commented Dec 3, 2018

@jtattermusch Hey, I signed it right after creating the pull request. But maybe something went wrong in the process. I'll have a look

Edit:
Try again now. My profile on linuxfoundation.org seems to be updated now

Copy link

@jtattermusch jtattermusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks!

@jtattermusch jtattermusch merged commit 454ea92 into grpc:master Dec 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants