Quansight-Labs / czi-conda-forge-mgmt

🚀 Top level project management for conda-forge CZI grant
https://github.com/orgs/Quansight-Labs/projects/10
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Client-side access to anaconda.org-provided .conda metadata in conda-forge.org/packages #51

Open jaimergp opened 4 months ago

jaimergp commented 4 months ago

https://github.com/Quansight-Labs/conda-metadata-app/issues/7 shows a snippet where a Docusaurus page could access Anaconda.org to query the .conda metadata live. Sadly this is not possible for .tar.bz2 artifacts, so those would need to be retrieved from either OCI or an intermediate API server (e.g. https://condametadata-1-n5494491.deta.app/).

It would use URLs like the current /status dashboard does for migrations (see https://deploy-preview-12--cf-infra-docs.netlify.app/status/).

jaimergp commented 4 months ago

@afshin, this is the client-side idea we talked about with range-requests and so on.

If a standalone library needs to be created, the reference JSON payload format is "documented" at https://github.com/regro/conda-forge-metadata/blob/d6e4378f94566bafa2e7e28239633c142a93b105/conda_forge_metadata/artifact_info/info_json.py#L85C7-L96