Skip to content

Commit 8a5a2cd

Browse files
authored
Merge pull request #12 from jfontan/update-dependencies
Update dependencies and CI
2 parents 0f413ce + 77c6da2 commit 8a5a2cd

File tree

2,498 files changed

+1060943
-167
lines changed

Some content is hidden

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

2,498 files changed

+1060943
-167
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# Folders
77
_obj
88
_test
9-
vendor
109

1110
# Architecture specific extensions/prefixes
1211
*.[568vq]

.travis.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
language: go
2-
sudo: false
2+
33
go:
44
- 1.9
55
- tip
6-
go_import_path: gopkg.in/sqle/gitquery.v0
6+
7+
go_import_path: github.com/src-d/gitquery
8+
79
matrix:
810
fast_finish: true
911
allow_failures:
1012
- go: tip
13+
1114
install:
12-
- go get -u github.com/golang/dep/cmd/dep
13-
- dep ensure -v
14-
- go build -ldflags="-X main.version=$TRAVIS_TAG" -v -o gitquery ./cmd/...
15+
- make dependencies
16+
1517
script:
16-
- sh ./go.test.sh
17-
after_success:
18-
- bash <(curl -s https://codecov.io/bash)
19-
deploy:
20-
provider: releases
21-
api_key:
22-
secure: YUASK1+EaHQo1WPIDfSQZLynvPh/bFPVV8WNrbqWkqox+Y58MLeYCEGnDjP70pVsL5YmjZzeEGv4XRYIl359wqL7YxnB70mJGAmbi8xQ8DS+ecbpJXz+kDES/QqX6BVJYXMWRm2hM/XdyIDvPa5kaVBbeFlO86uizI0OSHE/2O4aticeaRUajTM+Bv7/R2ygVCiB+1gVdGqPmRy2w/bFUOAfR1LTC8TLDQFJUvgjtuJJVKhffKhcqfnibNyBtTEd9nwSuY4MAuva9ghgFvl1B9uJ266ktEDkqAjNX3Cg1UNyAPXs50M61gBUEFV/MAscCHrtHDdtzyrKPaUZ224TcTVjgEZiOG8Zus+0wvwyhf7wyxSHx73ZXGedu54/oazLqFudj9u2AM+qMrXoRtFcygtSXBdG4SaN0OL/EUXnxiJLPbfFT/oM7VpdEscZn8okMo7RtbGxszrJQOIvrcNd16IZHK10S/nVnGNHNNNuArwf5B15DK49gveB1+sv/8FkoTx3LXJFHHiA1C8l5sH+Of6v/YKa5Zspkub7wkKrE3fQ/zPc3D0AVvrMt/k6S0LBtQR6eJqqtasVLlmtrRujyOxWLWO7fwmRTsI6qT1O4fspGBaONg8cr9xuwsOGBcGIEaPCKv3RZrY8+hx2J7cLzV0qjaJtmucamnenxic7a6o=
23-
file: gitquery
24-
skip_cleanup: true
25-
on:
26-
tags: true
18+
- make test-coverage

Gopkg.lock

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

Gopkg.toml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
ignored = [
2+
"gopkg.in/src-d/go-mysql-server.v0",
3+
"gopkg.in/src-d/go-mysql-server.v0/sql",
4+
"gopkg.in/src-d/go-mysql-server.v0/sql/expression",
5+
"gopkg.in/src-d/go-mysql-server.v0/sql/plan",
6+
]
7+
18
[[constraint]]
29
name = "github.com/chzyer/readline"
310
version = "1.4.0"
@@ -18,15 +25,26 @@
1825
name = "github.com/stretchr/testify"
1926
version = "1.1.4"
2027

21-
[[constraint]]
22-
name = "gopkg.in/sqle/sqle.v0"
23-
version = "0.7.0"
24-
2528
[[constraint]]
2629
name = "gopkg.in/src-d/go-git.v4"
2730
source = "github.com/src-d/go-git"
28-
revision = "44c364fe3b7b8cdc0f9623afe870d6781a97ebb4"
2931

3032
[[constraint]]
3133
name = "gopkg.in/src-d/go-git-fixtures.v3"
3234
version = "3.0.0"
35+
36+
[[override]]
37+
name = "golang.org/x/sys"
38+
source = "github.com/golang/sys"
39+
40+
[[override]]
41+
name = "golang.org/x/crypto"
42+
source = "github.com/golang/crypto"
43+
44+
[[override]]
45+
name = "golang.org/x/text"
46+
source = "github.com/golang/text"
47+
48+
[[override]]
49+
name = "golang.org/x/net"
50+
source = "github.com/golang/net"

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Package configuration
2+
PROJECT = gitquery
3+
4+
# Including ci Makefile
5+
CI_REPOSITORY ?= https://github.com/src-d/ci.git
6+
CI_PATH ?= $(shell pwd)/.ci
7+
CI_VERSION ?= v1
8+
9+
MAKEFILE := $(CI_PATH)/Makefile.main
10+
$(MAKEFILE):
11+
git clone --quiet --branch $(CI_VERSION) --depth 1 $(CI_REPOSITORY) $(CI_PATH);
12+
13+
-include $(MAKEFILE)

blobs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gitquery
22

33
import (
4-
"gopkg.in/sqle/sqle.v0/sql"
4+
"gopkg.in/src-d/go-mysql-server.v0/sql"
55

66
"gopkg.in/src-d/go-git.v4"
77
"gopkg.in/src-d/go-git.v4/plumbing/object"
@@ -25,8 +25,8 @@ func (blobsTable) Name() string {
2525

2626
func (blobsTable) Schema() sql.Schema {
2727
return sql.Schema{
28-
{Name: "hash", Type: sql.String, Nullable: false},
29-
{Name: "size", Type: sql.BigInteger, Nullable: false},
28+
{Name: "hash", Type: sql.Text, Nullable: false},
29+
{Name: "size", Type: sql.Int64, Nullable: false},
3030
}
3131
}
3232

blobs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package gitquery
33
import (
44
"testing"
55

6-
"gopkg.in/sqle/sqle.v0/sql"
6+
"gopkg.in/src-d/go-mysql-server.v0/sql"
77

88
"gopkg.in/src-d/go-git-fixtures.v3"
99
"github.com/stretchr/testify/assert"

0 commit comments

Comments
 (0)