-
Notifications
You must be signed in to change notification settings - Fork 89
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
Commit generated DASH SAI APIs into source control #361
Comments
@mukeshmv Excellent suggestion, and thank you for posting this. I thought about a way to ensure a developer checks in |
Thanks @chrispsommers. That sounds perfect ! |
DASH SAI APIs are generated from bmv2 P4 code. Any PR with P4 changes can change the generated DASH SAI APIs. However it is not easy to review these changes unless we checkout the PR in our local workspaces, build it and compare it with a copy of the previous DASH SAI APIs.
It might make it easier for a lot more people to review it if the DASH SAI API changes also showed up in the diff in the PR itself. One way of doing this would be to commit the generated APIs also to the DASH git repo. If needed this could be kept separate from the SAI submodule by placing it say under dash-pipeline/generated/ with the sole purpose of viewing the current snapshot / for review purposes so as to not disturb any of the existing workflows. This requires discipline from the developers to keep updating the folder for every PR.
This can also work as a quick reference for whoever wants to look at the current generated DASH SAI APIs since the OCP SAI repo may lag behind the latest features added in the DASH repo.
The text was updated successfully, but these errors were encountered: