Skip to content

Commit

Permalink
Merge pull request #102 from abeaumont/feature/upgrade-to-sdk-v1
Browse files Browse the repository at this point in the history
[Do not merge] Upgrade to SDK v1
  • Loading branch information
abeaumont authored Sep 19, 2017
2 parents 9fc311a + d641442 commit 30fca16
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion cmd/bblfsh/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/Sirupsen/logrus"
"google.golang.org/grpc"
"gopkg.in/bblfsh/sdk.v0/protocol"
"gopkg.in/bblfsh/sdk.v1/protocol"
"gopkg.in/src-d/go-errors.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/bblfsh/server/runtime"

"github.com/Sirupsen/logrus"
"gopkg.in/bblfsh/sdk.v0/protocol"
"gopkg.in/bblfsh/sdk.v0/protocol/driver"
"gopkg.in/bblfsh/sdk.v1/protocol"
"gopkg.in/bblfsh/sdk.v1/protocol/driver"
)

// Driver is a client to communicate with a driver. It provides the parser
Expand Down
8 changes: 4 additions & 4 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import:
version: ^1.1.0
- package: google.golang.org/grpc
version: ^1.4.2
- package: gopkg.in/bblfsh/sdk.v0
version: ^0.2.1
- package: gopkg.in/bblfsh/sdk.v1
version: ^1.0.0-rc1
- package: gopkg.in/src-d/enry.v1
version: ^1.3.0
- package: gopkg.in/src-d/go-errors.v1
Expand Down
2 changes: 1 addition & 1 deletion pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/pkg/errors"
"gopkg.in/bblfsh/sdk.v0/protocol"
"gopkg.in/bblfsh/sdk.v1/protocol"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/stretchr/testify/require"
"gopkg.in/bblfsh/sdk.v0/protocol"
"gopkg.in/bblfsh/sdk.v1/protocol"
)

type mockDriver struct {
Expand Down
2 changes: 1 addition & 1 deletion runtime/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/containers/image/types"
"gopkg.in/bblfsh/sdk.v0/manifest"
"gopkg.in/bblfsh/sdk.v1/manifest"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion runtime/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"path/filepath"

"gopkg.in/bblfsh/sdk.v0/manifest"
"gopkg.in/bblfsh/sdk.v1/manifest"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion runtime/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/stretchr/testify/require"
"gopkg.in/bblfsh/sdk.v0/manifest"
"gopkg.in/bblfsh/sdk.v1/manifest"
)

func TestStorageInstall(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/Sirupsen/logrus"
"google.golang.org/grpc"
"gopkg.in/bblfsh/sdk.v0/protocol"
"gopkg.in/bblfsh/sdk.v0/uast"
"gopkg.in/bblfsh/sdk.v1/protocol"
"gopkg.in/bblfsh/sdk.v1/uast"
"gopkg.in/src-d/go-errors.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"gopkg.in/bblfsh/sdk.v0/protocol"
"gopkg.in/bblfsh/sdk.v0/uast"
"gopkg.in/bblfsh/sdk.v1/protocol"
"gopkg.in/bblfsh/sdk.v1/uast"
)

type echoDriver struct{}
Expand Down

0 comments on commit 30fca16

Please sign in to comment.