Nugetgallery: NuGet.org handling of tool packages

Created on 13 Dec 2017  ·  10Comments  ·  Source: NuGet/NuGetGallery

As part of the global tools work, NuGet side spec, we will introduce a new package type.

The name of this package type is to be determined, I will update when that's done.

The 2 requests are the following:

  • [ ] NuGet.org should reject packages that include the global package tool and any other package type
  • [x] Packages with this package type should display a “dotnet install packageId packageVersion” tab only, rather than the standard tabs.

This will need to be live in the 15.7 timeline of Visual Studio, potentially earlier tbd.

//cc
@rrelyea
@NuGet/nuget-client
@joelverhagen
@anangaur
@kathleendollard

Verified-Dev Verified-Int Verified-Prod

Most helpful comment

It's a very small change server-side, I'll do some investigation within the next week or 2.

Does that work for you @wli3 ?

All 10 comments

What is the statues on this issue? A MVP asked about toady. A tool package will show up as, in nuget.org

dotnet add package my.tool --version aVersion

mock up and this is wrong

image

/cc
@skofman1 was this scheduled at some point?

It's a very small change server-side, I'll do some investigation within the next week or 2.

Does that work for you @wli3 ?

Any docs on the small server change?

Any docs on the small server change?

We will be using package type in the package .nuspec to toggle this behavior. Package types are currently persisted in our gallery DB. This is not a protocol change and only relates to gallery web UI behavior.

Got it. Asked because there is an issue that also talks about exposing this (even thing there is a PR for it on search service), hence.

the correct one should be

dotnet install tool --global my.tool --version 1.0.0
cc @KathleenDollard

Verified fix on dev.
//cc @skofman1 @joelverhagen
dev-global tool

/cc @nkolev92 This is deployed to prod. I verified the dotnet watch tool: https://www.nuget.org/packages/dotnet-watch/2.1.0-preview1-final

Was this page helpful?
0 / 5 - 0 ratings