Commit Graph

217 Commits

Author SHA1 Message Date
f10b625551 br: declare phony target (#27512) 2021-08-25 21:58:04 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
d4a98d5a72 br: enable some checks for br (#27120) 2021-08-13 08:47:16 +08:00
281b431292 ci: correct testing format (#27074) 2021-08-11 19:49:15 +08:00
760a6522ec br: let tools use the same version detecting mechanism (#27060) 2021-08-11 18:57:15 +08:00
1a54708a7f *: merge BR into TiDB (#26655) 2021-08-06 00:17:12 +08:00
019fab3b0a *: Run errcheck and staticcheck via golangci-lint (#26899) 2021-08-05 12:05:13 +08:00
57c3e92ae8 Makefile: enable goimports linters (#26732) 2021-07-30 13:05:04 +08:00
c96c5dd359 makefile: make CI fail if a single unit test runs longer than 3s (#26578) 2021-07-27 22:36:16 +08:00
cb06e116c1 *: update the golangci-lint and fix all lint errors (#25912) 2021-07-05 13:43:27 +08:00
28202b3521 Makefile,session: collect the benchmark data and generate json output file (#25834) 2021-07-01 17:29:26 +08:00
c6090a2888 store/tikv: remove files (#25440) 2021-06-16 13:04:37 +08:00
163eb5f03c planner: Implement PointGet in TryFastPlan for range/list paritition table (#24588)
* implement PointGet in TryFastPlan for range/list partition
2021-05-22 01:23:53 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
12883a49ea makefile: add --enable=deadcode to static-check (#23716) 2021-04-01 02:35:24 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
8c1808b78e makefile: enable typecheck linter (#23067) 2021-03-24 18:17:37 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
53a68b56da Makefile: remove some linters (#22978) 2021-02-26 21:17:29 +08:00
6136b0003d Makefile: make linter check the commit from upstream master (#22939) 2021-02-26 13:34:53 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
ee876397ac unistore/cophandler: change the logic of mpp execution in unit test. (#22428) 2021-02-01 19:06:42 +08:00
e707e1239f *: Fix coverage test fail (#21449) 2020-12-03 12:17:17 +08:00
b3f8be7d3c *: update pingcap/errors (#21352) 2020-11-30 11:58:29 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
f750afb321 *: introduce errors documentation generator to generate errors.toml (#20516)
Signed-off-by: Lonng <heng@lonng.org>
2020-10-21 15:54:38 +08:00
ad94571c1e *: make failpoint-disable before make clean (#20428)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2020-10-14 14:10:25 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00
5435980006 store/tikv: implement async commit version of resolve locks (#18467) 2020-09-09 08:09:51 +08:00
bdb673f5a2 build: support set timeout for make go test (#19285) 2020-09-01 20:26:48 +08:00
a141f21247 build: remove useless command (#19221)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: tangenta <tangenta@126.com>
2020-08-20 16:43:58 +08:00
cc82030d2b Makefile: fix build datetime (#19078)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
2020-08-17 20:23:44 +08:00
436f5f15b7 Add testpkg target for Makefile to test single package (#18962) 2020-08-11 12:35:36 +08:00
931ff98df5 simple fixes for the staticcheck linter (#18923)
Note that this found 2 bugs where errors were being silently ignored.

These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-06 13:38:17 +08:00
8a6554a21f telemetry: disable telemetry by default for non-community edition (#18524)
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
2020-07-15 11:37:36 +08:00
e2001329d7 *: Show edition information when mysql client login (#17170) 2020-05-14 09:49:42 +08:00
a074317a4b build: remove useless PHONY and deps (#16834) 2020-05-12 11:41:38 +08:00
82bb3ced74 makefile: let make fmt ensure std imports before non-std (#16816) 2020-04-26 10:37:24 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
5c7b235ef2 test: revert PR#16387 (#16408) 2020-04-15 17:13:15 +08:00
cfd649f7ac test: modify log level to info in CI environment (#16387) 2020-04-15 12:19:35 +08:00
d39aeeafe2 Makefile: make native gotest running in log_level=fatal (#14980) 2020-03-02 12:57:39 +08:00
20416b36b7 Makefile: disable timeout in vectorize bench (#14569) 2020-02-05 14:00:55 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
795c630dbc Makefile: Replace Gometalinter to Golangci-lint (#13405) 2019-12-09 15:08:40 +08:00
e0f5f22590 Makefile: make test parallel value configurable via command line argument (#13817)
make test P=4
2019-11-29 20:07:26 +08:00
17fe696d8d Makefile: move the success message from explaintest to test (#13748) 2019-11-27 17:08:42 +08:00