Lidi Zheng
2231c2ba77
Introduce Python import sorting to our sanity test suite ( #26768 )
...
* Add isort_code.sh to sanity tests
* Run tools/distrib/isort_code.sh
* Fine tune the import order for relative imports
* Make pylint and project generation happy
* Fix a few corner cases
* Use --check instead of --diff
* The import order impacts test result somehow
* Make isort print diff and check output at the same time
* Let tools/run_tests/python_utils be firstparty library
* Run isort against latest HEAD
3 years ago
Ta-Wei Tu
a56b0a7665
[check-copyright] Avoid trailing whitespaces ( #26755 )
...
There was a bug in #26722 where we added a whitespace between comment
prefix and each line of the license notice, regardless it's empty or not.
This creates trailing whitespaces if the license note contains blank
lines, which makes most of the formatters and linters unhappy.
This PR resolves this issue.
3 years ago
Ta-Wei Tu
0893641986
Add a --fix flag to check_copyright.py ( #26722 )
...
* Add a --fix flag to check_copyright.py
When enabled, automatically add copyright headers to files without one.
* Fix formatting issue.
* Address code review comments
3 years ago
Richard Belleville
05aa736840
Fix bazel copyright notices ( #26353 )
...
* Add copyright to Bazel files
* Add check for copyright in Bazel files
* Remove unintentional file
4 years ago
Sergii Tkachenko
8db79e2e71
Python style: reformat code using updated yapf 0.30.0
4 years ago
Esun Kim
ab44f737ec
py2to3 sanity scripts
4 years ago
Jan Tattermusch
e36ee8ef19
fix sanity tests
4 years ago
Yash Tibrewal
29b769124f
Revert check_copyright.py
4 years ago
Yash Tibrewal
9e4ceb041e
Move the proto to third_party
4 years ago
Yash Tibrewal
2c6074ac6a
Copyright exemption and buildify format
4 years ago
Hannah Shi
c69c06b8d6
generate api reference documents by doxygen
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
nanahpang
564b70a1d7
Update check_copyright.py to follow python 3 rules
...
Found this issue during the import.
5 years ago
Muxi Yan
d8348a9b97
update scripts
5 years ago
Jan Tattermusch
5d9a67a56d
use third_party/boringssl-with-bazel/err_data.c instead of err_data.c
5 years ago
Jan Tattermusch
7ef862ddb9
do not generate crypto_test_data.cc
5 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Esun Kim
7ec6e8a4de
Remove nanopb from gRPC
5 years ago
Esun Kim
807cd08f4a
Fix upb build typo
5 years ago
Vishal Powar
f569cc1b36
Add BUILD rul and generated upb code for protos required to do DiscoveryRequest to xDS server
...
Also,
- cleanup check scripts to look for file extension to exempt upb
generated code.
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
Alexander Polcyn
ac6795a57e
Revert "Changes add a script for generating C code and build rule for protobuf"
...
This reverts commit 62027b7e14
.
6 years ago
Vishal Powar
62027b7e14
Changes 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 for protos
- generated code for example build
- adding changes for non-bazel builds
- change sanity tests to ignore the generated files.
6 years ago
Mark D. Roth
f85fd026e3
Client-side health checking support.
6 years ago
Jan Tattermusch
85b0052791
ignore designer-generated .cs files
6 years ago
David Garcia Quintas
f3955ba711
Update to use the canonical version of LB proto
7 years ago
Carl Mastrangelo
ee7c77666e
add The support
7 years ago
Carl Mastrangelo
e51aa63752
Make copyright check slightly more flexible
7 years ago
Eric Gribkoff
f9fb3ebf1f
gRPC C++ Interop App
7 years ago
Yihua Zhang
04fb58efbd
Add ALTS code to grpc/core
7 years ago
Sree Kuchibhotla
ae277dd000
Revert "Add ALTS C stack to gRPC core"
7 years ago
Yihua Zhang
eaf6486677
Add ALTS code to grpc/core
7 years ago
Eric Gribkoff
a32a4c51f8
C++ on Android example client and server
7 years ago
Matt Kwong
a110c74c58
Update BoringSSL to latest chromium-stable ref
7 years ago
Muxi Yan
44c4c34b32
Check copyright of Objective-C++ source files
7 years ago
Mehrdad Afshari
87cd994b04
Upgrade yapf to 0.20.0
...
Upgrade yapf version to 0.20.0 and reformat Python files.
7 years ago
ncteisen
7a2be20a8a
yapf tools/distrib
7 years ago
Jan Tattermusch
d2da5aa8a2
fix sanity
8 years ago
Jan Tattermusch
9c7aefb692
fix check_copyright.py
8 years ago
Jan Tattermusch
7a0ca155ff
fixing copyright not supported
8 years ago
Jan Tattermusch
312ea4a187
change LICENSE, add AUTHORS
8 years ago
yang-g
66d40c63f7
Fix BUILD dependency, copyright and cmake
8 years ago
Craig Tiller
9eb0fdec00
Reorganize ext tree
...
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
8 years ago
Makarand Dharmapurikar
3c7e460de6
added copyright exception for census.proto
8 years ago
yang-g
a2341eaed0
omg it is 2017
8 years ago
yang-g
26d20a8016
exclude newly added file from copyright check
8 years ago
Craig Tiller
e4c2b10516
No need for copyright on generated files
8 years ago
Nathaniel Manista
d0386f940e
Exempt generated Python from copyright check
...
Some of these files contain the magic string "DO NOT EDIT" but we do
not wish for our tests to depend upon that.
8 years ago