Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use rules_cc and use buildifier -lint to enforce it #11399

Merged
merged 4 commits into from
Jun 3, 2020

Conversation

lizan
Copy link
Member

@lizan lizan commented Jun 2, 2020

Commit Message:
Partially address #9488. Resurrected #10597.

Additional Description:
Risk Level: Low
Testing: CI
Docs Changes: N/A
Release Notes: N/A

@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy[\w/]*/(v1alpha\d?|v1|v2alpha\d?|v2))|(api/envoy/type/(matcher/)?\w+.proto).
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/.
CC @envoyproxy/api-watchers: FYI only for changes made to api/.

🐱

Caused by: #11399 was opened by lizan.

see: more, trace.

@lizan
Copy link
Member Author

lizan commented Jun 2, 2020

Note to reviewer: please only review the first commit, the second one is generated by fix_format.

htuch
htuch previously approved these changes Jun 2, 2020
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, really nice cleanup! Feel free to ignore the nit.

@@ -61,12 +61,12 @@ def fixFileExpectingSuccess(file, extra_input_files=None):
command, infile, outfile, status, stdout = fixFileHelper(file,
extra_input_files=extra_input_files)
if status != 0:
print("FAILED:")
print("FAILED:" + infile)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: add a space after the :?

@repokitteh-read-only repokitteh-read-only bot removed the api label Jun 2, 2020
@lizan
Copy link
Member Author

lizan commented Jun 2, 2020

@htuch done, I need v2-api LGTM too :)

@htuch
Copy link
Member

htuch commented Jun 2, 2020

/lgtm v2-freeze

@repokitteh-read-only repokitteh-read-only bot removed the api label Jun 2, 2020
@lizan lizan merged commit 67649af into envoyproxy:master Jun 3, 2020
@lizan lizan deleted the rules_cc_buildifier branch June 3, 2020 01:21
auni53 pushed a commit to auni53/envoy that referenced this pull request Jun 4, 2020
…y#11399)

Commit Message:
Partially address envoyproxy#9488. Resurrected envoyproxy#10597.

Additional Description:
Risk Level: Low
Testing: CI
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <[email protected]>
Signed-off-by: Auni Ahsan <[email protected]>
yashwant121 pushed a commit to yashwant121/envoy that referenced this pull request Jul 24, 2020
…y#11399)

Commit Message:
Partially address envoyproxy#9488. Resurrected envoyproxy#10597.

Additional Description:
Risk Level: Low
Testing: CI
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <[email protected]>
Signed-off-by: yashwant121 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants