You need to sign in or sign up before continuing.
Display the package metadata for Maven, RubyGems, and Composer
Context
In the epic &6007 the Package group has been adding the contents of a packages metadata file to the user interface on the package details page. This issue focuses on adding data for Maven, RubyGems and Composer packages.
Proposal
When Maven, RubyGems and Composer packages are uploaded to GitLab the files containing their respective metadata is directly stored in object storage as a PackageFile
or is stored directly in the DB. This data will be made available to the front end to help users find and validate their dependencies.
Further details
Front end considerations
- The file explorer in gitlab uses the
blob-viewer
which expects ablob
passed in input - The blob is returned by this graphql type =>
app/graphql/types/repository/blob_type.rb
If we could have the backend return a BlobType for our files we could on the frontend re use the blob-viewer
with the following perks
- Consistent UI
- Syntax highlighting
- Do not add more context
- Easily switch to
edit mode
in the future