Commit Graph

81 Commits

Author SHA1 Message Date
f922344ab1 travis: Use go 1.8 (#2664) 2017-02-17 16:15:16 +08:00
f4e2bcacb2 Makefile: avoid generate parser.go everytime (#2281)
introduce a parserlib PHONY, and other rules depend on it, rather than parser.
if parser.go already exists and not older than parser.y, avoid generate it.
2016-12-20 14:35:26 +08:00
24fb8c9752 Add bencher for raw API (#2109)
* cmd: Add raw API bencher
2016-11-29 09:58:13 +08:00
f8c0b059d5 driver.go & interpreter: remove driver.go and interpreter.go (#2066) 2016-11-23 18:17:57 +08:00
217aa8907d Makefile: make race test parallel on package level 2016-11-14 20:05:13 +08:00
ab8795de24 cmd: add benchmark tool 'benchdb' (#1920)
'benchdb' is used to make testing basic table performance easier.
Also move 'benchkv' to 'cmd' folder.
2016-11-11 12:27:45 +08:00
27f3470ace Revert "makefile: Add the argument of "-check.v" in test" (#1948) 2016-11-04 16:46:17 +08:00
08766e12a5 makefile: add the argument of "-check.v" in test (#1945) 2016-11-04 15:43:52 +08:00
23edc3dfd3 Makefile: Filter out golint error about context.Context (#1824)
golint add a new rule that 'context.Context' should be the first parameter of a function.
But that refers to standard library package, we can ignore it.
2016-10-14 10:54:16 +08:00
2e00134963 vendor: update goleveldb/memdb tipb/go-binlog and kvproto packages (#1812) 2016-10-11 17:43:41 +08:00
48b8cbb518 makefile: remove install, unexport GOPATH, introduce GOGET GOBUILD (#1782)
* makefile: remove install, go get use origin GOPATH
* introduce a GOGET
* makefile: don't export GOPATH and just use _vendor when build and test
2016-09-29 16:03:33 +08:00
be703dd7a6 makefile: leverage GOPATH to avoid mv _vendor/vendor (#1748)
Before:
ln -s _vendor/vendor vendor
$(GO) build .
rm -rf vendor

After:
export GOPATH := $(CURDIR)/_vendor:$(GOPATH)
$(GO) build
2016-09-23 16:55:46 +08:00
c4e008a79a *: vendor tool migrate to glide (#1743)
* *: vendor tool migrate to glide
* update github.com/gogo/protobuf vendor
* update several packages
2016-09-21 16:10:23 +08:00
bff8f568ce Makefile: Move benchkv from default to dev (#1736) 2016-09-19 10:08:10 +08:00
b99521846f *: Make golint work and happy. (#1721) 2016-09-13 18:11:47 +08:00
3e3ae885f4 *: make race with debug level (#1687)
* *: make race with debug level

* *: fix the problem of compatibility on the Mac

* ddl: pass make race
2016-09-05 15:42:47 +08:00
0d2093c9db *: Add a simple bench program (#1648)
* *: Add a simple bench program

* add missing file

* Print metrics of prometheus
2016-08-29 07:19:12 -05:00
fa06043ce7 More efficient autoid rebase methord (#1631)
Prevent update kv everytime when rebase autoid
2016-08-24 11:18:40 +08:00
79a044312d *: cleanup Makefile (#1625)
remove travis 1.5.3,
makes check run faster.
gofmt writes file.
2016-08-23 15:54:51 +08:00
b84b92f5d2 Makefile: Print success message after build successfully (#1616) 2016-08-22 16:52:12 +08:00
f1e358680b *: remove scanner.go from gitignore (#1601) 2016-08-18 15:47:09 +08:00
3eb6f4f513 parser: remove the old lexer, clean up (#1597) 2016-08-18 14:29:45 +08:00
c6fdeda4c5 *: change Makefile goyacc to go build (#1568) 2016-08-09 10:32:07 +08:00
d2b4ad8814 *: Pass make race (#1521) 2016-07-29 18:45:55 +08:00
9c2ca4de89 Makefile: Add default task (#1519) 2016-07-29 13:58:34 +08:00
7bf53ff06b Makefile: Change make server to make, Change make to make dev (#1517) 2016-07-29 13:00:33 +08:00
c2831f6290 *: put goyacc tool into vendor (#1499) 2016-07-27 10:30:10 +08:00
0e585ab047 *: remove make ddl_test and make ddl_race_test operations (#1442) 2016-07-14 08:55:52 +08:00
db4cdcfaec parser: reduce memory allocation (#1408) 2016-07-07 16:42:30 +08:00
b5b80e2202 Makefile: Automaticly make parser before make server (#1288) 2016-06-04 13:02:17 +08:00
29ad227cc0 *: add tikv integration test and update vendor. 2016-05-10 10:21:26 +08:00
a396155899 store/tikv: mock tikv tests (#1203) 2016-05-05 17:11:40 +08:00
dbdaf84f54 *: move vendor dir out of 'tide-server' dir. 2016-05-05 14:05:18 +08:00
1d187b493e Makefile: remove create vendor soft link in all (#1178) 2016-04-28 17:57:32 +08:00
0ecb4da39d *: migrate to vendor (#1175) 2016-04-28 16:57:18 +08:00
14f8c4fe91 makefile: support errcheck option. (#1171)
* makefile: support errcheck option.

* add blank option
2016-04-27 01:30:25 -05:00
7072eda9b6 ticlient: import ticlient (#1168)
ticlient: import ticlient to store/tikv
2016-04-27 11:37:16 +08:00
bd2b356725 *: fix dependency. (#1157)
etcd has updated the latest grpc, so will should not checkout grpc to an old version
And for `pd` and `ticlient`, add '-d' to skip build, just download.
2016-04-26 11:00:15 +08:00
dda89bc9dd *: Do not specify pd version (#1126)
pd move vendor to cmd directory, so we do not need to specify its version now.
2016-04-20 16:02:58 +08:00
8a3a59deb1 *: fix ci build by checking out a previous version of pd. (#1120) 2016-04-20 13:12:49 +08:00
0478acaa1b *: fix build by checkout to an old version of grpc. (#1112) 2016-04-19 17:13:08 +08:00
8d877cc87c *: drop support of running tidb as library. (#1102)
Since we supported unix socket, use TiDB as a library no longer provide much benefit.
Use MySQL driver should be the only way to access TiDB.
2016-04-18 13:20:01 +08:00
0a9ece01c3 *: import 'github.com/pingcap/tipb/go-tipb' (#1067) 2016-04-08 11:07:16 +08:00
aae1faa7b3 Merge branch 'master' into ngaut/update-readme 2016-04-01 08:00:19 -05:00
9e810786bb *: filter out parser for go vet -shadow 2016-04-01 20:23:17 +08:00
51a791eb0d Update Makefile 2016-04-01 18:56:35 +08:00
0573c47a18 *: fix ci bandwitdh limit
travis CI occasionally returns daily bandwidth exceeded error.
This fix follows https://github.com/golang/go/issues/12933
2016-03-21 14:43:24 +08:00
7835c7fc06 xapi/tipb: add protobuffer files.
All known features are added, can be stable for a while.
2016-03-21 11:04:54 +08:00
3c6872816c Makefile: Update dependency 2016-02-25 13:24:13 +08:00
ff0a660b12 Makefile: tiny fix 2016-01-20 14:46:28 +08:00