-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[APIDiff] Support forwarding breakage allowlists to the api digester #3547
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
Conversation
@swift-ci smoke test |
The path to a text file containing breaking changes which should be ignored by the API comparison. \ | ||
Each ignored breaking change in the file should appear on its own line and contain the exact message \ | ||
to be ignored (e.g. 'API breakage: func foo() has been removed'). If this option is not present, \ | ||
a file named 'api-breakage-allowlist.txt' at the package root will be used if it exists. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default behavior doesn't seem intuitive for this input option and it would be cleaner to just require a specific path to be passed in by a user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good to me!
b27e14a
to
e6b7061
Compare
@swift-ci smoke test |
Co-authored-by: elsh <[email protected]>
@swift-ci smoke test |
@swift-ci please smoke test macOS |
yeah, I think this should be ok to merge now |
Add a --breakage-allowlist-path flag to allow ignoring specified breaking changes when running experimental-api-diff
Motivation:
Sometimes, it's beneficial to be able to ignore certain API breaking changes when perfect API compatibility isn't necessary.
Modifications:
Result:
Users can choose to ignore certain API-breaking changes when running comparisons