-
Notifications
You must be signed in to change notification settings - Fork 192
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
Add API for SSWG Incubated Projects #853
Conversation
@0xTim We'd need flat URL lists per collection as input. Could they be generated and hosted in addition to these annotated lists? |
If that's a problem I can look into extending our process to handle richer input than just a flat list. |
@finestructure no problem, updated JSON response: [
"http://github.com/apple/swift-nio.git",
"http://github.com/apple/swift-log.git",
"http://github.com/apple/swift-metrics.git",
"https://github.com/vapor/postgres-nio.git",
"https://github.com/swift-server/async-http-client.git",
"https://github.com/swift-server-community/APNSwift.git",
"https://github.com/apple/swift-statsd-client.git",
"https://github.com/grpc/grpc-swift.git",
"https://github.com/apple/swift-crypto.git",
"https://github.com/soto-project/soto.git",
"https://github.com/vapor/multipart-kit.git",
"https://github.com/vapor/jwt-kit.git",
"https://github.com/vapor/vapor.git"
] |
@swift-ci test |
@swift-ci please test |
That's great, thanks Tim! |
I don't have access to this DNS, it's controlled by swift on server group I think. |
Adds 4 new APIs to serve the SSWG incubated packages. These will be at
https://swift.org/api/v1/sswg/incubation/{graduated|incubating|sandbox|all}.json
and provide the graduated packages, incubating packages, sandbox packages and all the packages.This PR also:
@finestructure do you to check that the JSON returned is OK and if we should change it. I know for the 'official' collection (https://github.com/swift-server/sswg-collection) we have extra fields that we don't use but we should be able to rework that script to generate the package collection from the data on Swift.org so it's all in one central place if we want to keep that or just rely on the SPI package collections.
@shahmishal do you know how much traffic https://swiftserver.group/collection/sswg.json gets? Looking at GH it's less that one person a day but I don't know if it's cached
Example JSON returned.