Skip to content

Commit 1abe5c2

Browse files
authored
Merge branch 'master' into fix/squash-ref-commits-filter
2 parents e2c4876 + cf13459 commit 1abe5c2

File tree

106 files changed

+8586
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+8586
-191
lines changed

Gopkg.lock

Lines changed: 16 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[constraint]]
22
name = "gopkg.in/src-d/go-mysql-server.v0"
3-
revision = "1cffdc13f73985326120abbf1800cc4859ce2a4f"
3+
revision = "12091f663c6224024dd4b3c10d2a8c1349f046d4"
44

55
[[constraint]]
66
name = "github.com/jessevdk/go-flags"
@@ -54,15 +54,15 @@
5454

5555
[[constraint]]
5656
name = "gopkg.in/bblfsh/client-go.v3"
57-
version = "3.1.0"
57+
version = "3.2.0"
5858

5959
[[override]]
6060
name = "gopkg.in/bblfsh/sdk.v1"
6161
version = "1.16.0"
6262

6363
[[constraint]]
6464
name = "gopkg.in/bblfsh/sdk.v2"
65-
version = "2.7.0"
65+
version = "2.11.0"
6666

6767
[[constraint]]
6868
name = "github.com/uber/jaeger-client-go"

cmd/gitbase/command/server.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,23 +146,19 @@ func (c *Server) Execute(args []string) error {
146146
Fatal("unable to read jaeger environment")
147147
return err
148148
}
149-
150149
if cfg.ServiceName == "" {
151150
cfg.ServiceName = TracerServiceName
152151
}
153152

154153
logger := &jaegerLogrus{logrus.WithField("subsystem", "jaeger")}
155154

156-
t, closer, err := cfg.NewTracer(
157-
config.Logger(logger),
158-
)
159-
155+
closer, err := cfg.InitGlobalTracer(cfg.ServiceName, config.Logger(logger))
160156
if err != nil {
161-
logrus.WithField("error", err).Fatal("unable to initialize tracer")
157+
logrus.WithField("error", err).Fatal("unable to initialize global tracer")
162158
return err
163159
}
164160

165-
tracer = t
161+
tracer = opentracing.GlobalTracer()
166162
defer closer.Close()
167163

168164
logrus.Info("tracing enabled")

docs/using-gitbase/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ Also, if you want to retrieve values from a non common property, you can pass it
9595
9696
## Standard functions
9797

98-
You can check standard functions in [`go-mysql-server` documentation](https://github.com/src-d/go-mysql-server/tree/1cffdc13f73985326120abbf1800cc4859ce2a4f#custom-functions).
98+
You can check standard functions in [`go-mysql-server` documentation](https://github.com/src-d/go-mysql-server/tree/12091f663c6224024dd4b3c10d2a8c1349f046d4#custom-functions).

docs/using-gitbase/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
`gitbase` optional dependencies that should be running on your system if you're planning on using certain functionality.
66

7-
- [bblfsh](https://github.com/bblfsh/bblfshd) >= 2.6.1 (only if you're planning to use the `UAST` functionality provided in gitbase)
7+
- [bblfsh](https://github.com/bblfsh/bblfshd) >= 2.10.0 (only if you're planning to use the `UAST` functionality provided in gitbase)
88

99
## Installing gitbase
1010

docs/using-gitbase/indexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ and for the second query also two indexes will be used and the result will be a
2626

2727
You can find some more examples in the [examples](./examples.md#create-an-index-for-columns-on-a-table) section.
2828

29-
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/1cffdc13f73985326120abbf1800cc4859ce2a4f#indexes) documentation for more details
29+
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/12091f663c6224024dd4b3c10d2a8c1349f046d4#indexes) documentation for more details
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Supported clients
22

3-
To see the supported MySQL clients and examples about how to use them, take a look [here](https://github.com/src-d/go-mysql-server/blob/1cffdc13f73985326120abbf1800cc4859ce2a4f/SUPPORTED_CLIENTS.md).
3+
To see the supported MySQL clients and examples about how to use them, take a look [here](https://github.com/src-d/go-mysql-server/blob/12091f663c6224024dd4b3c10d2a8c1349f046d4/SUPPORTED_CLIENTS.md).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Supported syntax
22

3-
To see the SQL subset currently supported take a look at [this list](https://github.com/src-d/go-mysql-server/blob/1cffdc13f73985326120abbf1800cc4859ce2a4f/SUPPORTED.md) from [src-d/go-mysql-server](https://github.com/src-d/go-mysql-server).
3+
To see the SQL subset currently supported take a look at [this list](https://github.com/src-d/go-mysql-server/blob/12091f663c6224024dd4b3c10d2a8c1349f046d4/SUPPORTED.md) from [src-d/go-mysql-server](https://github.com/src-d/go-mysql-server).

vendor/github.com/grpc-ecosystem/grpc-opentracing/.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/grpc-ecosystem/grpc-opentracing/LICENSE

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)