Display available metadata for PyPI
Context
The Package GraphQL API returns helpful details about a PyPI package hosted in the GitLab Package Registry.
Problem to solve
The problem is that not all of the data returned via GraphQL is displayed in the user interface. This makes it harder to use the UI as the single source of truth for packages.
Proposal
Update the package registry user interface to display all of the available metadata for PyPI packages.
Data to be displayed
- https://docs.gitlab.com/ee/api/graphql/reference/index.html#package
- https://docs.gitlab.com/ee/api/graphql/reference/index.html#packagedetailstype
- https://docs.gitlab.com/ee/api/graphql/reference/index.html#packagefile
Additional data
In addition to the data available now, there is additional package metadata included in the setup.py
file that is not yet extracted on package upload. So this data is not returned in the API and thus will not be displayed in the user interface. #330927 (closed) will extract this metadata, after which we will add it to the API response and UI.
Edited by Tim Rizzi