Skip to content

Remove ignored Configuration GRPC API #558

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
merged 3 commits into from
Jan 17, 2020

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jan 16, 2020

At the moment we have the Configuration field in InitReq that is marked as deprecated but it's actually not supported anymore.

IMHO if we want to deprecate it we should not silently ignore it otherwise, from the client perspective, it seems that the command has been accepted, leading to a hard to diagnose errors.

Otherwise, if we don't want to support it anymore it's better to merge this PR and remove it altogether so we have a clear indicator that the old API is no longer available.

@rsora rsora force-pushed the remove-ignored-grpc-apis branch from 8956017 to 6f42ae3 Compare January 17, 2020 11:34
@rsora rsora added this to the 0.8.0 milestone Jan 17, 2020
@rsora
Copy link
Contributor

rsora commented Jan 17, 2020

@cmaglie rebased on master to include latest changes and re-generated proto files!

go.mod Outdated
@@ -47,6 +47,7 @@ require (
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45 // indirect
golang.org/x/net v0.0.0-20190311183353-d8887717615a
golang.org/x/text v0.3.0
google.golang.org/appengine v1.4.0 // indirect
Copy link
Member Author

Choose a reason for hiding this comment

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

Why this appengine keeps coming back? Are we using it?

@cmaglie
Copy link
Member Author

cmaglie commented Jan 17, 2020

I can't approve my own PR, anyway the rebase seems ok, we can merge IMHO.

@masci
Copy link
Contributor

masci commented Jan 17, 2020

Ok to remove because we're 0.x, but the reason why I deprecated it instead of killing with fire was to avoid breaking clients that were not using the Config message (it was the case of the PRO ide).

@rsora rsora merged commit 43d863d into arduino:master Jan 17, 2020
@cmaglie cmaglie deleted the remove-ignored-grpc-apis branch January 17, 2020 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants