Craig Tiller
ef6a5b92c9
[build] Automatic BUILD dependency generation ( #29597 )
...
* [build] Automatic dependency analysis
* add to sanity
* Automated change: Fix sanity tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
42b083322f
Check IWYU status in presubmits ( #28180 )
...
* fixes
* fixes
* fixes
* allow running outside docker
* x
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Yash Tibrewal
01f333a1c1
TlsCredentials: Comparator implementation ( #28940 )
...
* TlsCredentials: Comparator implementation
* Update tests
* Redundant namespace qualifiers
* clang-tidy
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Add generator for grpc_tls_credentials_options.h
* Generator script modifications for tests
* Sanity
* Reviewer comments
* Reviewer comments
* Add a common place to look-up known types
* Formatting
* Script fix
* Reviewer comments
* Add test mode to script
* Add to sanitize.sh
* clang-tidy
* Fix
* Fix
* Reviewer comments
* Clang-format
3 years ago
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Craig Tiller
e29bdfe4e8
Add a test for includes without paths ( #28532 )
...
* Add a test for includes without paths
* fix path
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
6af45a35ba
Tooling to remove redundant grpc_core:: namespace references ( #28030 )
...
* Tooling to remove redundant grpc_core:: namespaces
These references tend to show up in our C++ code after C modules get
converted. Many get caught in review, many get missed.
* use it
* clang-format
3 years ago
Craig Tiller
ecdb6f7057
Use strict buildifier in sanitize ( #28018 )
...
Ensure that we use tools consistently everywhere!
3 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
9b43c881d7
Add python formatters to sanitize.sh ( #27253 )
...
* Add python sanitizers to sanitize.sh
* virtualenv
3 years ago
Craig Tiller
b062fcd5c6
Ensure consistency of include style for <grpc.* headers ( #27233 )
...
* Add a tool to ensure consistency in how grpc public headers are included
* Apply tool
* add to test suite
* isort
3 years ago
Craig Tiller
185852ac2e
Run check include guards in sanitize ( #26905 )
3 years ago
Craig Tiller
eb6a4ae548
Add necessary hooks to autofix ( #26894 )
...
* Add necessary hooks to autofix
* fixes
* Revert trigger change
3 years ago
Craig Tiller
4966a6bcbd
Add tooling to auto-fix sanity tests ( #26852 )
...
* auto-fix experiment
* document optout
* temp fix
3 years ago
Lidi Zheng
0c2a678a6a
Add fix copyright script to sanitize.sh ( #26735 )
3 years ago
Craig Tiller
37176d9ad3
add a --fix to check_port_platform.py ( #26717 )
...
Follow the principle that if you're going to block commits on something trivially fixable, make that trivial fix automated.
3 years ago
Esun Kim
48a7fe7752
Fix check_trailing_newlines bug
4 years ago
Jan Tattermusch
0faead377e
simplify sanitize.sh script
5 years ago
Jan Tattermusch
41ac287f7b
generate build metadata from bazel BUILD
5 years ago
Esun Kim
4b4ecdf3b9
Fixed sanitize.sh
...
It has been broken since check_copyright dropped the --fix option.
This script is modified not to use the missing option.
6 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
murgatroid99
f656f189e4
Make sanitize script a suitable pre-commit hook
9 years ago
murgatroid99
a72a49044b
Set sanitize script executable
9 years ago
murgatroid99
79e2b47bf1
Add sanitize script
9 years ago
Jan Tattermusch
29dadb2404
fix copyrights
9 years ago
Jan Tattermusch
7eba1729f0
building artifacts under docker
9 years ago
murgatroid99
d7e1a10628
Bundled C core with Ruby library
9 years ago
Nicolas "Pixel" Noble
bcf988f0f3
Splitting out bundle install for ruby into the prebuild step.
9 years ago
murgatroid99
a43c14fef8
Make ruby tests see changes to C core
9 years ago
Nicolas "Pixel" Noble
21a38b4422
Fixing variable names discrepancy in ruby's extension builder.
...
CONFIG != GRPC_CONFIG, meaning we're always building released, even in debug.
10 years ago
David Garcia Quintas
301a77f819
Modified travis config for ruby.
...
In order to output logs.
10 years ago
Nicolas "Pixel" Noble
cbd9c8bf9b
Changing run_tests to simplify the ruby build.
10 years ago
murgatroid99
530c0b9b1f
Changed how ruby versions are selected again
10 years ago
murgatroid99
ea14cfb493
Further changed ruby version handling
10 years ago
murgatroid99
c921865c39
Changed how ruby version is selected
10 years ago
murgatroid99
6a4c4fabf3
Added ruby tests to run_tests.py
10 years ago
Craig Tiller
ce5021b0b9
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
834288138d
Add shell script copyrights
10 years ago
murgatroid99
c279165f72
Got run_tests.py and node tests working
10 years ago
murgatroid99
51fca2da4b
Made node library buildable from source tree
10 years ago