Skip to content

Minor code cleanup in PackageSigning #6462

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

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Apr 21, 2023

  • Remove macOS 11 check since macOS 12 is required now
  • Add test

- Remove macOS 11 check since macOS 12 is required now
- Add test
@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 21, 2023

@swift-ci please smoke test


func ecADPKeyAndCertChain(callback: (Result<KeyAndCertChain, Error>) -> Void) {
do {
try fixture(name: "Signing", createGitRepo: false) { fixturePath in
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the fact that fixture is callback-based the only reason to make ecADPKeyAndCertChain callback-based?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Is there an async version of fixture?

Copy link
Contributor

Choose a reason for hiding this comment

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

we should make one!

@yim-lee yim-lee merged commit a5d1e8d into swiftlang:main Apr 24, 2023
@yim-lee yim-lee deleted the package-signing-cleanup branch April 24, 2023 17:05
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.

4 participants