Skip to content

Commit

Permalink
Merge pull request #49 from tikv/update-to-1.56.0
Browse files Browse the repository at this point in the history
Update to 1.56.0
  • Loading branch information
BusyJay authored Aug 1, 2023
2 parents 996605a + 4f6355e commit 815f12f
Show file tree
Hide file tree
Showing 7,243 changed files with 496,047 additions and 362,008 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ IncludeCategories:
# not-grpc headers follow
# first, non system headers that are included like <> - these are all
# local carveouts, and get sorted below c++ but before non grpc "" files
- Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|benchmark/|google/)'
- Regex: '^<(openssl/|uv\.h|ares\.h|address_sorting/|gmock/|gtest/|zlib|zconf|benchmark/|google/)'
Priority: 30
# first C system headers - they have a . in the filename
- Regex: '^<.*\.'
Expand Down
21 changes: 13 additions & 8 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,26 @@
# - bugprone-reserved-identifier
# Some macros need to be defined for portability purpose; e.g. _BSD_SOURCE.
#
# - google-upgrade-googletest-case
# This requires googletest 1.10 which is higher than ones installed on many linux distributions.
#
# - modernize-redundant-void-arg
# Some source should be strictly C99 and func(void) should be used.
#
# Note on checks which will be enabled in future. These are good to have but
# it's not activated yet due to the existing issues with the checks.
# Once those issues are clear, these checks can be enabled later.
#
# - bugprone-assignment-in-if-condition
# - bugprone-branch-clone
# - bugprone-easily-swappable-parameters,
# - bugprone-easily-swappable-parameters
# - bugprone-implicit-widening-of-multiplication-result
# - bugprone-infinite-loop
# - bugprone-narrowing-conversions
# - bugprone-not-null-terminated-result
# - bugprone-signed-char-misuse
# - bugprone-sizeof-expression
# - bugprone-too-small-loop-variable
# - bugprone-unchecked-optional-access
# - clang-diagnostic-deprecated-declarations
# - clang-diagnostic-unused-function
# - google-readability-avoid-underscore-in-googletest-name
# - google-runtime-int
# - google-runtime-references
# - modernize-avoid-bind
Expand All @@ -55,6 +53,7 @@ Checks: '-*,
abseil-*,
-abseil-no-namespace,
bugprone-*,
-bugprone-assignment-in-if-condition,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
Expand All @@ -65,11 +64,10 @@ Checks: '-*,
-bugprone-signed-char-misuse,
-bugprone-sizeof-expression,
-bugprone-too-small-loop-variable,
-bugprone-unchecked-optional-access,
google-*,
-google-readability-avoid-underscore-in-googletest-name,
-google-runtime-int,
-google-runtime-references,
-google-upgrade-googletest-case,
performance-*,
-performance-no-automatic-move,
-performance-no-int-to-ptr,
Expand Down Expand Up @@ -108,17 +106,22 @@ Checks: '-*,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
readability-braces-around-statements,
readability-const-return-type,
readability-container-size-empty,
readability-delete-null-pointer,
readability-deleted-default,
readability-duplicate-include,
readability-function-size,
readability-inconsistent-declaration-parameter-name,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-redundant-access-specifiers,
readability-redundant-control-flow,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-boolean-expr,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
Expand All @@ -131,5 +134,7 @@ CheckOptions:
value: 'absl::make_unique'
- key: modernize-make-unique.MakeSmartPtrFunctionHeader
value: 'absl/memory/memory.h'
- key: google-readability-braces-around-statements.ShortStatementLines
- key: readability-braces-around-statements.ShortStatementLines
value: 1
- key: readability-simplify-boolean-expr.SimplifyDeMorgan
value: false
12 changes: 8 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@ binding.gyp linguist-generated=true
src/python/grpcio/grpc_core_dependencies.py linguist-generated=true
src/ruby/ext/grpc/rb_grpc_imports.generated.h linguist-generated=true
src/ruby/ext/grpc/rb_grpc_imports.generated.c linguist-generated=true
test/core/end2end/end2end_tests.cc linguist-generated=true
include/grpc/module.modulemap linguist-generated=true
test/core/security/grpc_tls_credentials_options_comparator_test.cc linguist-generated=true
test/core/surface/public_headers_must_be_c89.c linguist-generated=true
tools/doxygen/Doxyfile.c++ linguist-generated=true
tools/doxygen/Doxyfile.c++.internal linguist-generated=true
tools/doxygen/Doxyfile.core linguist-generated=true
tools/doxygen/Doxyfile.core.internal linguist-generated=true
tools/run_tests/sources_and_headers.json linguist-generated=true
tools/run_tests/tests.json linguist-generated=true
tools/run_tests/generated/tests.json linguist-generated=true
tools/run_tests/generated/sources_and_headers.json linguist-generated=true
src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h linguist-generated=true
src/core/lib/transport/static_metadata.h linguist-generated=true
src/core/lib/transport/static_metadata.cc linguist-generated=true
src/core/debug/stats_data.h linguist-generated=true
src/core/debug/stats_data.cc linguist-generated=true
src/core/experiments/experiments.h linguist-generated=true
src/core/experiments/experiments.cc linguist-generated=true
bazel/experiments.bzl linguist-generated=true
14 changes: 10 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Auto-generated by the tools/mkowners/mkowners.py tool
# Uses OWNERS files in different modules throughout the
# repository as the source of truth for module ownership.
/**/OWNERS @markdroth @nicolasnoble @a11r @ctiller
/bazel/** @nicolasnoble @jtattermusch @veblush @gnossen @ctiller
/cmake/** @jtattermusch @nicolasnoble @apolcyn
/**/OWNERS @markdroth @a11r
/bazel/** @jtattermusch @veblush @gnossen
/cmake/** @jtattermusch @apolcyn
/src/core/ext/filters/client_channel/** @markdroth
/src/core/ext/transport/chttp2/transport/** @ctiller
/src/core/ext/xds/** @markdroth
/tools/dockerfile/** @jtattermusch @apolcyn @nicolasnoble
/src/core/lib/resolver/** @markdroth
/src/core/lib/service_config/** @markdroth
/src/core/lib/surface/** @ctiller
/src/core/lib/transport/** @ctiller
/test/core/transport/** @ctiller
/tools/dockerfile/** @jtattermusch @apolcyn
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Report a gRPC Core bug
about: Create a report to help us improve
labels: kind/bug, priority/P2, lang/core, untriaged
assignees: yashykt

---

Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report_cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Report a gRPC C++ bug
about: Create a report to help us improve
labels: kind/bug, priority/P2, lang/c++, untriaged
assignees: yashykt

---

Expand Down
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
name: Report a gRPC Python bug
about: Create a report to help us improve
labels: kind/bug, priority/P2, lang/Python
assignees: gnossen
assignees:
- gnossen
- XuanWang-Amos

---

Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/cleanup_request.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: Request a cleanup
about: Suggest a cleanup in our repository
labels: kind/internal cleanup, priority/P2
assignees: yashykt
labels: kind/internal cleanup, priority/P2, untriaged

---

Expand Down
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Request a gRPC Core feature
about: Suggest an idea for this project
labels: kind/enhancement, priority/P2, lang/core, untriaged

---

<!--
PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
-->

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

### Additional context
Add any other context about the feature request here.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Request a gRPC C++ feature
about: Suggest an idea for this project
labels: kind/enhancement, priority/P2, lang/c++, untriaged

---

<!--
PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
-->

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

### Additional context
Add any other context about the feature request here.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_csharp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Request a gRPC C# feature
about: Suggest an idea for this project
labels: kind/enhancement, priority/P2, lang/C#
assignees: jtattermusch

---

<!--
PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
-->

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

### Additional context
Add any other context about the feature request here.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_objc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Request a gRPC ObjC feature
about: Suggest an idea for this project
labels: kind/enhancement, priority/P2, lang/ObjC
assignees: dennycd

---

<!--
PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
-->

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

### Additional context
Add any other context about the feature request here.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_php.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Request a gRPC PHP feature
about: Suggest an idea for this project
labels: kind/enhancement, priority/P2, lang/php
assignees: stanley-cheung

---

<!--
PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
-->

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

### Additional context
Add any other context about the feature request here.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Request a gRPC Python feature
about: Suggest an idea for this project
labels: kind/enhancement, priority/P2, lang/Python
assignees:
- gnossen
- XuanWang-Amos

---

<!--
PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
-->

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like
A clear and concise description of what you want to happen.

### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

### Additional context
Add any other context about the feature request here.
Loading

0 comments on commit 815f12f

Please sign in to comment.