Use the Package Registry UI to view your NuGet packages' dependencies, tags and project URLs
Problem to solve
The GitLab NuGet Repository allows developers to build, publish, and share .NET packages, right alongside their source code and CI Pipelines. The MVC did not include support for package metadata, such as dependencies
, tags
, and URLs
.
As a Developer, when I look in the UI and don't see the expected metadata, I have no way of validating that the package was uploaded properly or to validate that something indeed has gone wrong.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
Proposal
Now that #42680 (closed) has been implemented, we will ensure that dependencies
tags
and URLs
are displayed in your project and group level Package Registry so that you can understand how your package was built and better troubleshoot when something goes wrong.
Included metadata
dependencies
targetframework
licenseURL
projectURL
tags
Further details
Technical notes
Here are some technical notes on the following fields of the metadata
section:
-
dependencies
- Stored in
Packages::Dependencies
-
targetFramework
of the dependencies group will be stored as additional fieldoption
inPackages::DependencyLink
- Stored in
-
licenseUrl
andprojectUrl
could be useful to have them displayed as links -
tags
can reuse thePackages::Tag
model -
iconUrl
supporting this URL would allow Visual Studio to display an icon
Competitor Examples
Permissions and Security
- There are no permissions changes required for this change.
Documentation
- There are no documentation changes needed for this change
Testing
What does success look like, and how can we measure that?
- Success looks like .NET/C# developers can not only upload and install NuGet packages but understand how they were built by inspecting their metadata.
Metrics
- Total number of NuGet packages published/installed
- Count of clicks on setup and install commands
- Pageviews to */packages