-
Notifications
You must be signed in to change notification settings - Fork 159
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
Consider adding a real-time package updates endpoint instead of the cached /api/packages
#8430
Comments
@AlexV525: I think in the past few months we have discussed a new endpoint that only returns the package names that got a new version published or some metadata updated in the past hour/day/week. Would that be enough for your use case? |
That sounds covered our cases. AFAIK we use the name of the packages and handle the rest instead of depending on the provided information. FYI @chenglu |
May I know more about the name-tracker component/api? We need to update the package updates / CDN purge code accordingly. |
This is an internal component, not really exposed, but used in other parts of the app. I wouldn't build on the current functionality of it.
I think a new API endpoint is the way to go here. |
I LOVE this idea if the team can public this as an API endpoint, so that we could do the cache to the CN mirrors smartly! |
/api/packages
seems quite late to show a recently uploaded package/api/packages
I uploaded
candid_dart_core
at 10:37 PM, but the package shows up at 10:58 PM in the endpoint. The endpoint is the source where we determine which packages need an update in our flutter-io.cn CDN.The text was updated successfully, but these errors were encountered: