Skip to content

Add Nuget installation instructions to package detail

Nick Kipling requested to merge 36422-add-nuget-installation-commands into master

What does this MR do?

Adds the NuGet installation instructions to the package details page, as per the other package types. The commands are:

Installation: nuget install NugetPackage1 -Source "GitLab"

Setup: nuget source Add -Name "GitLab" -Source "http://localhost:3000/api/v4/projects/9/packages/nuget/index.json" -UserName <your_username> -Password <your_token>

Note: There is some scope for refactoring the frontend code here. A follow up issue has been created to list out what will be changed: #201730 (closed).

Screenshots

Installation Setup
Screenshot_2020-01-31_at_12.05.34 Screenshot_2020-01-31_at_12.05.41

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Nick Kipling

Merge request reports