Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit e8d1741

Browse files
authored
Merge pull request #31 from juanjux/fix/protofile_paths
move proto files
2 parents 3cc75c9 + d849370 commit e8d1741

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

github.com/bblfsh/sdk/protocol/generated.proto renamed to gopkg.in/bblfsh/sdk.v0/protocol/generated.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
// the License.
1111

1212
syntax = "proto3";
13-
package github.com.bblfsh.sdk.protocol;
13+
package gopkg.in.bblfsh.sdk.v0.protocol;
1414

1515
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
16-
import "github.com/bblfsh/sdk/uast/generated.proto";
16+
import "gopkg.in/bblfsh/sdk.v0/uast/generated.proto";
1717

1818
option (gogoproto.protosizer_all) = true;
1919
option (gogoproto.sizer_all) = false;
@@ -26,16 +26,16 @@ message ParseRequest {
2626
string filename = 1;
2727
string language = 2;
2828
string content = 3;
29-
github.com.bblfsh.sdk.protocol.Encoding encoding = 4;
29+
gopkg.in.bblfsh.sdk.v0.protocol.Encoding encoding = 4;
3030
}
3131

3232
// ParseResponse is the reply to ParseRequest.
3333
message ParseResponse {
3434
option (gogoproto.goproto_getters) = false;
3535
option (gogoproto.typedecl) = false;
36-
github.com.bblfsh.sdk.protocol.Status status = 1;
36+
gopkg.in.bblfsh.sdk.v0.protocol.Status status = 1;
3737
repeated string errors = 2;
38-
github.com.bblfsh.sdk.uast.Node uast = 3 [(gogoproto.customname) = "UAST"];
38+
gopkg.in.bblfsh.sdk.v0.uast.Node uast = 3 [(gogoproto.customname) = "UAST"];
3939
}
4040

4141
// Encoding is the encoding used for the content string. Currently only
@@ -66,6 +66,6 @@ enum Status {
6666

6767
service ProtocolService {
6868
// Parse uses DefaultParser to process the given parsing request to get the UAST.
69-
rpc Parse (github.com.bblfsh.sdk.protocol.ParseRequest) returns (github.com.bblfsh.sdk.protocol.ParseResponse);
69+
rpc Parse (gopkg.in.bblfsh.sdk.v0.protocol.ParseRequest) returns (gopkg.in.bblfsh.sdk.v0.protocol.ParseResponse);
7070
}
7171

github.com/bblfsh/sdk/uast/generated.proto renamed to gopkg.in/bblfsh/sdk.v0/uast/generated.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License.
1111

1212
syntax = "proto3";
13-
package github.com.bblfsh.sdk.uast;
13+
package gopkg.in.bblfsh.sdk.v0.uast;
1414

1515
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
1616

@@ -25,11 +25,11 @@ message Node {
2525
option (gogoproto.typedecl) = false;
2626
string internal_type = 1;
2727
map<string, string> properties = 2;
28-
repeated github.com.bblfsh.sdk.uast.Node children = 3;
28+
repeated gopkg.in.bblfsh.sdk.v0.uast.Node children = 3;
2929
string token = 4;
30-
github.com.bblfsh.sdk.uast.Position start_position = 5;
31-
github.com.bblfsh.sdk.uast.Position end_position = 6;
32-
repeated github.com.bblfsh.sdk.uast.Role roles = 7;
30+
gopkg.in.bblfsh.sdk.v0.uast.Position start_position = 5;
31+
gopkg.in.bblfsh.sdk.v0.uast.Position end_position = 6;
32+
repeated gopkg.in.bblfsh.sdk.v0.uast.Role roles = 7;
3333
}
3434

3535
// Position represents a position in a source code file.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
setup(
2828
name="bblfsh",
2929
description="Fetches Universal Abstract Syntax Trees from Babelfish.",
30-
version="0.2.1",
30+
version="0.2.2",
3131
license="Apache 2.0",
3232
author="source{d}",
3333
author_email="language-analysis@sourced.tech",

0 commit comments

Comments
 (0)