Skip to content

Conversation

tbkka
Copy link
Collaborator

@tbkka tbkka commented Apr 16, 2024

We include a comment to suppress checking for swift-format.

Do the same for SwiftLint.

Note: No, I really don't want this to proliferate. The next time someone asks, I should probably tell them to talk to the tool vendor about recognizing other tools' comments.

@tbkka tbkka requested a review from thomasvl April 16, 2024 18:51
Copy link
Collaborator

@thomasvl thomasvl left a comment

Choose a reason for hiding this comment

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

All the golden tests are gonna fail until you do a regenerate and reference build.

@thomasvl
Copy link
Collaborator

@tbkka did you want to do the regeneration to land this?

@thomasvl
Copy link
Collaborator

@tbkka did you want to get this in?

@tbkka tbkka force-pushed the tbkka-swiftlint-disable-all branch from f7ea06c to 967b423 Compare August 13, 2024 19:23
@tbkka
Copy link
Collaborator Author

tbkka commented Aug 13, 2024

Thanks for the reminder! I rebuilt everything and it should be good to go once the tests pass.

@thomasvl thomasvl merged commit faf05e8 into apple:main Aug 14, 2024
10 checks passed
gjcairo added a commit to grpc/grpc-swift that referenced this pull request Aug 27, 2024
`swift-protobuf` [released
1.28.0](https://github.com/apple/swift-protobuf/releases/tag/1.28.0)
yesterday, and it changed the headers in the generated files to disable
`swiftlint` (see apple/swift-protobuf#1627).
This means that our CI is now failing the sanity step when it checks the
generated files match the expected output of the `generate.sh` script.

This PR regenerates the protos with swift-protobuf 1.28.0 to include the
updated headers.
glbrntt pushed a commit to grpc/grpc-swift-nio-transport that referenced this pull request Sep 20, 2024
`swift-protobuf` [released
1.28.0](https://github.com/apple/swift-protobuf/releases/tag/1.28.0)
yesterday, and it changed the headers in the generated files to disable
`swiftlint` (see apple/swift-protobuf#1627).
This means that our CI is now failing the sanity step when it checks the
generated files match the expected output of the `generate.sh` script.

This PR regenerates the protos with swift-protobuf 1.28.0 to include the
updated headers.
glbrntt pushed a commit to grpc/grpc-swift-extras that referenced this pull request Sep 20, 2024
`swift-protobuf` [released
1.28.0](https://github.com/apple/swift-protobuf/releases/tag/1.28.0)
yesterday, and it changed the headers in the generated files to disable
`swiftlint` (see apple/swift-protobuf#1627).
This means that our CI is now failing the sanity step when it checks the
generated files match the expected output of the `generate.sh` script.

This PR regenerates the protos with swift-protobuf 1.28.0 to include the
updated headers.
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