Skip to content

Discover and manage python packages from the GitLab Package Registry user interface

frontend-weight1

Problem to solve

The GitLab PyPI Repository allows developers to build, publish and share Python packages, right alongside their source code and CI Pipelines. However, the MVC does not include a front end, which prevents users from viewing packages and package details from GitLab.

Intended users

Further details

Proposal

Ensure that packages uploaded to the GitLab PyPI Repository are discoverable via the user interface.

  • Add a new tab called PyPIto the project-level and group-level Package Registry user interface.
  • PyPI packages should be included in both the PyPI and All tabs.
  • Ensure all relevant metadata is displayed.
  • Add installation / setup instructions to the details page.

Further details

User interface

Screen_Shot_2020-05-07_at_10.35.47_AM

Metadata (for the UI)

  • Name
  • Version
  • Platform
  • Summary
  • Keywords
  • Homepage
  • Download URL
  • Author
  • Author email
  • License

Permissions and Security

Project Permissions: UI

Action Guest Reporter Developer Maintainer Owner
Install a package x x x x
Publish a package x x x

Documentation

  • Update PyPI documentation to include UI examples

What does success look like, and how can we measure that?

  • Measure the total number of page views to the PyPI tab
  • Measure the usage of other UI features like sorting, package deletion, and copying setup/install commands

Links / references

Edited by Tim Rizzi