Skip to content
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

Make Xcode version check more lenient #61561

Merged

Conversation

keith
Copy link
Collaborator

@keith keith commented Oct 12, 2022

This allows any versions above a specific version, instead of requiring a specific list. Since it seems like many folks just disable this check entirely, this list definitely isn't kept up well. If we need to exclude a specific version, like if 1 Xcode beta didn't support it but the next did, we can add a new list using the old method to validate build numbers and disallow the bad version(s).

I don't recall why we didn't do this over a list originally, nor can I find any context on why in the original discussion #34227

@keith keith requested a review from shahmishal October 12, 2022 22:46
Copy link
Contributor

@kastiglione kastiglione left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like a reasonable approach.

utils/build-script Outdated Show resolved Hide resolved
@keith keith force-pushed the ks/make-xcode-version-check-more-lenient branch from e1c6693 to 969cbeb Compare October 12, 2022 23:46
utils/build-script Outdated Show resolved Hide resolved
@keith
Copy link
Collaborator Author

keith commented Oct 31, 2022

@swift-ci please smoke test

@keith keith force-pushed the ks/make-xcode-version-check-more-lenient branch from e3f7070 to 17aba8a Compare November 2, 2022 00:06
@keith
Copy link
Collaborator Author

keith commented Nov 2, 2022

@swift-ci please smoke test and merge

utils/build-script Outdated Show resolved Hide resolved
utils/build-script Outdated Show resolved Hide resolved
This allows any versions above a specific version, instead of requiring
a specific list. Since it seems like many folks just disable this check
entirely, this list definitely isn't kept up well. If we need to exclude
a specific version, like if 1 Xcode beta didn't support it but the next
did, we can add a new list using the old method to validate build
numbers and disallow the bad version(s).

I don't recall why we didn't do this over a list originally, nor can I
find any context on why in the original discussion
apple#34227
@keith keith force-pushed the ks/make-xcode-version-check-more-lenient branch from 17aba8a to 6a32e91 Compare November 2, 2022 03:36
@keith
Copy link
Collaborator Author

keith commented Nov 2, 2022

@swift-ci please smoke test and merge

2 similar comments
@keith
Copy link
Collaborator Author

keith commented Nov 2, 2022

@swift-ci please smoke test and merge

@keith
Copy link
Collaborator Author

keith commented Nov 2, 2022

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit d898e04 into apple:main Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants