Skip to content
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

FE: Create proto description of feature extractor service #52

Merged
merged 1 commit into from
Mar 15, 2018
Merged

FE: Create proto description of feature extractor service #52

merged 1 commit into from
Mar 15, 2018

Conversation

smacker
Copy link
Contributor

@smacker smacker commented Mar 14, 2018

First point in #51

P.S. Tests correctness by running

$ python -m grpc_tools.protoc -Isrc/main/proto --python_out=src/main/python --grpc_python_out=src/main/python src/main/proto/service.proto src/main/proto/github.com/gogo/protobuf/gogoproto/gogo.proto src/main/proto/gopkg.in/bblfsh/sdk.v1/uast/generated.proto

and looking at source code.

@smacker smacker requested a review from bzz March 14, 2018 14:55
@bzz bzz mentioned this pull request Mar 14, 2018
7 tasks

// The identifiers request message containing extractor configuration and uast.
message IdentifiersRequest {
bytes uast = 1;
Copy link
Contributor

@bzz bzz Mar 14, 2018

Choose a reason for hiding this comment

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

One thing that we discussed is that we should be using a super-set of our existing UAST msg type.

This can be done by adding adding 2 files to our /proto/ dir

and then

import "github.com/gogo/protobuf/gogoproto/gogo.proto";
import "gopkg.in/bblfsh/sdk.v1/uast/generated.proto";

and

uast gopkg.in.bblfsh.sdk.v1.uast.generated.Node = 1;

Copy link
Contributor Author

@smacker smacker Mar 14, 2018

Choose a reason for hiding this comment

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

yes. very sorry.

Signed-off-by: Maxim Sukharev <maxim@sourced.tech>
Copy link
Contributor

@bzz bzz left a comment

Choose a reason for hiding this comment

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

LGTM

🙇 for documenting exact command on how it was tested

@bzz bzz changed the title Create proto description of feature extractor service FE: Create proto description of feature extractor service Mar 14, 2018
@smacker smacker merged commit 51781e4 into src-d:master Mar 15, 2018
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