Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[skip changelog] Demonstrate the use of the gRPC Settings interface in client_example #554

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

Merged
masci merged 1 commit into arduino:master from per1234:settings-demonstration
Jan 14, 2020
Merged

[skip changelog] Demonstrate the use of the gRPC Settings interface in client_example #554

masci merged 1 commit into arduino:master from per1234:settings-demonstration
Jan 14, 2020

Conversation

Copy link
Contributor

@per1234 per1234 commented Jan 12, 2020

As requested at #553 (comment)

Copy link
Contributor Author

per1234 commented Jan 12, 2020

@andmeyee I've updated client_example as you requested. If you have some time, have a look and let me know if you have any suggestions for improvement.

@per1234 per1234 added topic: documentation Related to documentation for the project kind/bug labels Jan 12, 2020
...n client_example
- Demonstrate SetValue, Merge, GetValue, and GetAll.
- Switch from the deprecated configuration request field of Init to using the Settings service to configure arduino-cli's directories.
Copy link

@per1234 thanks for the update. From what I can see in the code everything looks good. But I have to say that I have currently no go runtime installed and am therefore not able to run the code and see if it is fully working. But if you like I can give it a try within the next days.

Using the same gRPC calls from Python is working as expected.

Copy link
Contributor Author

per1234 commented Jan 13, 2020

Hi @andmeyee thanks for taking a look at it. Don't feel obligated to set up Go just for this, but if you want to, it would be welcome. I was mostly interested in getting your feedback on whether this change provides a clear example of how to use the Settings interface.

Copy link
Contributor

@masci masci left a comment

Choose a reason for hiding this comment

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

Thanks a ton, I completely forgot to update the example 🙇‍♂️

per1234 reacted with thumbs up emoji
@masci masci merged commit 23e4d70 into arduino:master Jan 14, 2020
@per1234 per1234 self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@masci masci masci approved these changes

Reviewers whose approvals may not affect merge requirements
Labels
topic: documentation Related to documentation for the project
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /