-
Notifications
You must be signed in to change notification settings - Fork 288
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
chore: Add apidiff target to Makefile #1525
chore: Add apidiff target to Makefile #1525
Conversation
Hi @ditsuke. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This commit adds an apidiff target to Makefile. Upstream, CAPI already had this target. The target makes it convenient to check our repo state for API changes and keep track of them. chore: Add apidiff tooling binary to the tool module
Should we add an apidiff prow job in this PR or another once this is in? /cc @geetikabatra @srm09 |
@ditsuke: GitHub didn't allow me to request PR reviews from the following users: geetikabatra. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This looks good, could you also raise a PR to add this as a non-required job in the CAPV presubmits file. |
Sure! I'll raise it once this gets merged. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: srm09 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
We were lacking a target to generate apidiffs in our Makefile. Upstream, CAPI already had such a target referenced in the parent issue. This target will make it c convenient to check for and keep track of our public API changes.
Special notes for your reviewer:
apidiff
might reportgit tree is dirty
in Windows environments. I've reproduced this on CAPI, and its likely either an issue with my environment or an upstream issue in joelanford/go-apidiff. I've verified that this PR works in clean UNIX environments and will investigate the issue independent of this PR.Which issue(s) this PR fixes
Fixes #1445