NuGet v2 - Support service index and publishing
Problem to solve
Currently, if you use the GitLab Package Registry to publish NuGet packages, you have to use v3 of NuGet. However, if you are using Chocolatey, this is a problem as Chocolatey only supports v2 of NuGet.
As identified here, it's possible that some customers are using a mix of v2 and v3 and if they are migrating from Artifactory to GitLab, they likely need support for the older version.
Proposal
This issue will focus on adding support for the service index and publishing endpoints so that .NET developers can push NuGet packages to the GitLab registry using Chocolatey.
- service index endpoint (GET
/api/v4/projects/<project_id>/packages/nuget/v2
) - authorize publish endpoint ((PUT
/api/v4/projects/<project_id>/packages/nuget/v2/authorize
) - publish endpoint (PUT
/api/v4/projects/<project_id>/packages/nuget/v2
)
Reference
Edited by Tim Rizzi