Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into fix-get-incomplet…
Browse files Browse the repository at this point in the history
…e-range

Signed-off-by: Ping Yu <yuping@pingcap.com>
  • Loading branch information
pingyu committed Apr 28, 2023
2 parents e5f1bd6 + 275696a commit bacdcfa
Show file tree
Hide file tree
Showing 1,742 changed files with 160,087 additions and 122,561 deletions.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
startup --host_jvm_args=-Xmx8g
startup --host_jvm_args=-Xmx4g
startup --unlimit_coredumps

run:ci --color=yes
Expand All @@ -24,6 +24,7 @@ test:ci --color=yes
test:ci --verbose_failures --test_verbose_timeout_warnings
test:ci --test_env=GO_TEST_WRAP_TESTV=1
test:ci --experimental_ui_max_stdouterr_bytes=104857600
test:ci --test_timeout=150,300,900,3600
test:race --test_timeout=1200,6000,18000,72000

try-import /data/bazel
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.2
6.0.0
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: TiDB Forum
url: https://ask.pingcap.com/
about: Ask a question on the TiDB Forum
- name: TiDB Forum(Chinese)
url: https://asktug.com/
about: Ask a question on the TiDB user group (Chinese)
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/general-question.md

This file was deleted.

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/performance-questions.md

This file was deleted.

5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ updates:
- dependency-name: "golang.org/*"
- dependency-name: "github.com/golangci/golangci-lint"
open-pull-requests-limit: 2

- package-ecosystem: "gomod"
directory: "/parser"
schedule:
interval: "weekly"
5 changes: 5 additions & 0 deletions .github/licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ header:
- "docs/"
- "br/"
- ".gitignore"
- ".gitmodules"
- ".dockerignore"
- ".gitattributes"
- ".cilinter.yaml"
Expand Down Expand Up @@ -39,5 +40,9 @@ header:
- "tidb-binlog/driver/example"
- "tidb-binlog/proto/go-binlog/secondary_binlog.pb.go"
- "**/*.sql"
- "**/*.csv"
- "**/*.parquet"
- "**/*.zst"
- ".bazelversion"
- "build/image/.ci_bazel"
comment: on-failure
34 changes: 0 additions & 34 deletions .github/workflows/misc.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "extension/enterprise"]
path = extension/enterprise
url = git@github.com:pingcap-inc/enterprise-extensions.git
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2023 PingCAP, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
minimum_pre_commit_version: '2.0.0'
repos:
- repo: local
hooks:
- id: check
name: check
entry: make precheck
language: system
pass_filenames: false
always_run: true
- id: go-mod-tidy
name: Run go mod tidy
entry: make tidy
files: '\.go$|go.mod$|go.sum$'
language: system
pass_filenames: false
always_run: false
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:exclude tidb-binlog/proto/proto
# gazelle:exclude plugin/conn_ip_example
# gazelle:exclude build/linter/staticcheck
# gazelle:resolve go github.com/bazelbuild/buildtools/build @com_github_bazelbuild_buildtools//build:go_default_library
gazelle(name = "gazelle")

package(default_visibility = ["//visibility:public"])
Expand Down
Loading

0 comments on commit bacdcfa

Please sign in to comment.