-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Package registry client #3864
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
Package registry client #3864
Conversation
@swift-ci please smoke test |
@swift-ci please smoke test |
@@ -77,43 +87,46 @@ public final class RegistryManager { | |||
method: .get, | |||
url: url, | |||
headers: [ | |||
"Accept": "application/vnd.swift.registry.v1+json" | |||
"Accept": self.acceptHeader(mediaType: .json), |
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.
nice
completion: @escaping (Result<Manifest, Error>) -> Void | ||
) { | ||
guard case let (scope, name)? = package.identity.scopeAndName else { | ||
let completion = self.makeAsync(completion, on: callbackQueue) |
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.
nice
ci failures should be solved with #3865 |
@swift-ci please smoke test |
Continue swiftlang#3640 and polish up the registry client.
8107da7
to
54cee0a
Compare
@swift-ci please smoke test |
Continue #3640 and
polish up the registry client.