kou opened a new issue, #203: URL: https://github.com/apache/arrow-swift/issues/203
### Describe the enhancement requested We commit generated source files to this repository: * FlatBuffers: `Sources/Arrow/*_generated.swift` * Protocol Buffers/gRPC: `Sources/ArrowFlight/*.pb.swift` and `Sources/ArrowFlight/*.grpc.swift` When these files are regenerated, for example on a FlatBuffers or gRPC Swift upgrade such as #201 and #202, their changes dominate the PR diff. This makes the hand-written changes harder to review. GitHub doesn't detect these files as generated automatically because they start with the ASF license header. How about adding a `.gitattributes` that marks them as `linguist-generated`? GitHub collapses diffs of such files in PRs by default, and they can still be expanded when needed: ```gitattributes Sources/Arrow/*_generated.swift linguist-generated=true Sources/ArrowFlight/*.pb.swift linguist-generated=true Sources/ArrowFlight/*.grpc.swift linguist-generated=true ``` See also: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
