-
Notifications
You must be signed in to change notification settings - Fork 719
Use SPM breaking changes checker #2019
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
Use SPM breaking changes checker #2019
Conversation
|
@swift-server-bot test this please |
1 similar comment
|
@swift-server-bot test this please |
779f21a to
40c7aba
Compare
d01da7c to
2bec037
Compare
|
Here are two example runs one that failed and one that succeeded: |
|
@weissi @Lukasa since the |
I'd rather stick to a released version to avoid dealing with potential problems associated with nightly toolchains (compiler crashes etc.) and revisit this when the tool is no longer experimental. |
|
@glbrntt I spoke with @fabianfett yesterday about this as well and we came to the same conclusion. Let's put this PR on hold until the tool lands in a released Swift version and then we can revisit it. |
2bec037 to
cb01117
Compare
|
@swift-server-bot test this please |
c97a538 to
cb01117
Compare
weissi
left a comment
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.
This is fantastic, thank you!
### Motivation: SPM has built in functionality to check the API of modules against a target git treeish. We can use this to simplify our `check_no_api_breakages.sh` script. Closes apple#1239 ### Modifications: This PR, exchanges the direct calls to Swift's API checker with the new SPM `diagnose-api-breaking-changes` tool. This allows us to get rid of the manual module parsing, build invocations and result comparisons. ### Result: We are now using SPMs `diagnose-api-breaking-changes` to check for breaking changes.
cb01117 to
bf6577a
Compare
Motivation:
SPM has built in functionality to check the API of modules against a target git treeish. We can use this to simplify our
check_no_api_breakages.shscript. Closes #1239Modifications:
This PR, exchanges the direct calls to Swift's API checker with the new SPM
diagnose-api-breaking-changestool. This allows us to get rid of the manual module parsing, build invocations and result comparisons.Result:
We are now using SPMs
diagnose-api-breaking-changesto check for breaking changes.