Craig Tiller
ffa5728e9d
[clang-format] spam cleanup ( #34881 )
...
Eliminate spam from clang-format script.
Also add a shuffle to the file list - saves about a second of runtime on
my machine by making sure clusters of hard files are distributed evenly
amongst CPUs.
1 year ago
AJ Heller
50b654894a
[build] Speed up clang_format ( #34839 )
...
This reduces clang-format duration to under 10s on my 128 core machine.
Previously I stopped the process at 10 minutes. Major changes:
Eliminates 18,000 files
```
find ... \
-and -not -path '*/cmake/build/*' \
-and -not -path '*/huffman_geometries/*' \
```
Also, this now runs `$CPU_COUNT` number of parallel clang-format
processes with a roughly equal number of files. Previously, this script
was formatting one file at a time in separate processes (`xargs -n 1`).
1 year ago
Yijie Ma
bae0c705aa
[Deps] Update to Clang-16 ( #34492 )
...
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
1 year ago
Xuan Wang
629b7a14da
[python O11Y] Initial Implementation ( #32974 )
...
Testing Command: `bazel test --cache_test_results=no
--test_output=streamed --runs_per_test=1 --test_timeout=10
"//src/python/grpcio_tests/tests/observability:_observability_test"`
### TODO:
* Better error handling.
2 years ago
Craig Tiller
efa939ac1f
[cleanup] Remove public_headers_must_be_c89 test ( #32898 )
...
We're starting to introduce C++ APIs to C-core, so this test is no
longer relevant.
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
Craig Tiller
a5b08d7a77
[iwyu] Improve iwyu for public headers ( #29834 )
...
* [iwyu] Improve iwyu for public headers
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Jan Tattermusch
e8404698d5
Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) ( #29225 )
...
* remove examples/csharp
* remove reference to examples/csharp
* remove C# references from doc/
* remove src/csharp
* update test_creds locations
* remove C# distribtests
* remove buildgen templates for files under src/csharp
* remove grpc_csharp_ext C build target
* regenerate projects
* update tools/run_tests/README.md
* change many C# test/build scripts to noop
* unbreak run_tests.py -l csharp
* unbreak C# build_package targets
* unbreak C# distribtests
* remove C# pre-build steps from prepare_build_windows.bat
* remove src/csharp from clang_format
* remove csharp and csharpcoreclr from run_interop_tests.py
* remove C# interop test docker images
* Revert "remove src/csharp"
This reverts commit 97f2b6d707
.
* remove src/csharp, but keep Grpc.Tools
* add back templates/src/csharp/build/dependencies.props.template
* remove everything but Grpc.Tools and Grpc.Tools.Tests from sln
* Revert "unbreak run_tests.py -l csharp"
This reverts commit 529b5e2ec1
.
* revive Grpc.Tools.Tests through run_tests.py
* Revert "unbreak C# build_package targets"
This reverts commit 79d8d83c8b
.
* experiment with build_nuget.sh fixes
* simplify create_fake_native_artifacts.sh
* building of Grpc.Tools in package_targets.py
* move shared files from Grpc.Core to Grpc.Tools
* yapf format: distribtest_targets.py
* Revert "remove C# pre-build steps from prepare_build_windows.bat"
This reverts commit bd38956a2b
.
* update C# README.md
* disable C# in gke OSS benchmarks
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
762cde4d24
Delete end2end nosec tests ( #28946 )
...
* rm nosec tests (TODO: identify coverage differences)
* grpc::load_reporter
* delete unused nosec test files & config
* trigger build
* re-delete nosec test file (snuck in with a merge)
* revert TODO deletion
3 years ago
Esun Kim
2057bfd182
Upgrade clang to 13 for clang-format, clang-tidy, and sanity ( #28763 )
3 years ago
Jan Tattermusch
b0cdd3cba2
Cleanup (followup for ccache addition) ( #28702 )
...
* nit in python interop dockerfile
* address TODO in prepare_ccache_symlinks_rc
* enable ccache for C# and ruby distribtest jobs
* use debian11 instead of bullseye consistently
3 years ago
Craig Tiller
6001ea84b9
Faster clang-format ( #28086 )
...
* use parallelism to speed clang-format performance
* use parallelism to speed clang-format performance
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Ming-Chuan
44fc369f05
Add examples/android/binder/ to clang_format_all_the_things ( #27114 )
3 years ago
Vijay Pai
ce16365421
clang-format C++ examples ( #25764 )
4 years ago
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
4 years ago
Esun Kim
024cd29fdb
Upgrade clang-format-8
4 years ago
Jan Tattermusch
e36ee8ef19
fix sanity tests
4 years ago
Mark D. Roth
5afa417c89
Revert "Merge pull request #23524 from markdroth/xds_logging_revert"
...
This reverts commit b5b9172915
, reversing
changes made to 47c6c826f7
.
4 years ago
Mark D. Roth
a0f08b1b06
Revert "Merge pull request #21941 from markdroth/xds_logging"
...
This reverts commit 37d5d93983
, reversing
changes made to 0e8190a3c9
.
4 years ago
Mark D. Roth
c1d7180daa
Use upb textformat library to dump out raw xDS proto messages
5 years ago
Esun Kim
128c8eaacf
Upgrade sanity docker
5 years ago
Richard Belleville
e9746f03d6
Format C++
5 years ago
Eric Anderson
1f84f8950c
Remove vestigial sed for /etc/apt/sources.list in Dockerfiles
...
Jessie has a line that looks like this, now-a-days, so the regex is no
longer matching:
deb http://security.debian.org/debian-security jessie/updates main
But because that line was changed, downloads are also working correctly
out-of-the-box. The sed was originally added in #18530 .
6 years ago
murgatroid99
2a12b47f0b
Fix other docker build issues
6 years ago
Vishal Powar
319fcdf26e
Add a script for generating C code and build rule for protobuf protos.
...
All these changes need to go together to make sense
- changes to use new version of upb in bazel
- allowing includes in build target option
- script for generating c code (upb) for protos
- generated code for example protos
- adding changes for non-bazel builds
- change sanity tests to ignore the generated files.
6 years ago
Muxi Yan
b24b212ee5
Make symbols of BoringSSL private to gRPC
6 years ago
Yash Tibrewal
e9207ab274
Undo clang_format script change
7 years ago
Yash Tibrewal
31f4eee720
Clang format and yapf
7 years ago
Muxi Yan
e433b56def
Support cleaning objc files
7 years ago
Alexander Polcyn
690dde672a
Add address sorting submodule for use in c-ares wrapper
7 years ago
Jan Tattermusch
a300764d14
clang format and tidy shouldnt change file ownership
7 years ago
Noah Eisen
86ddb5393d
Ensure all sanity finds clang-tidy
7 years ago
ncteisen
365ea6309b
Dockerize clang tidy
7 years ago
Muxi Yan
f5eb1cf9f0
partial cherry-pick of 'update clang-format to 5.0'
7 years ago
Yash Tibrewal
1b4ab01f79
No Clang on end2end generated files
7 years ago
Jan Tattermusch
53d89d7f25
fix clang format installation
7 years ago
Craig Tiller
44ab6a559c
fix
7 years ago
Craig Tiller
0c6a3e3e67
Try again on Dockerfiles
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
cd987a0b2f
Adding public_headers_must_be_c89 as a clang exception
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
murgatroid99
38007753b0
Remove src/node and references to it
...
This removes all of the node code and tests from the repo, along with the
scripts for running Node unit tests, performance tests, and artifact builds.
The scripts for running tests from the grpc-node repository are untouched.
7 years ago
Matt Kwong
75c2778902
Update Dockerfiles from ubuntu:15.10 to debian:jessie
7 years ago
Muxi Yan
76e158f2c1
Break the sanity check failure loop by disabling clang-format on end2end_{,nosec_}tests.c
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
5b1c5f22f4
Extend clang-format to C#, Node, Ruby
8 years ago
Julien Boeuf
935d02ebd4
Cleanup of tsi ssl handshaker factories.
...
There is no reason why the client and server factories should be
implementations from the same base.
Doing the cleanup now so that implementation of the #10528 feature will
be less noisy.
Also, re-added tsi to clang-format which was dropped when moved from
src/core/lib to src/core.
8 years ago