Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 2.1 - Add flag or indicator for global tool searching / discoverability #5762

Closed
spboyer opened this issue Apr 4, 2018 · 6 comments
Closed

Comments

@spboyer
Copy link

spboyer commented Apr 4, 2018

In .NET Core 2.1, Global Tools is now a thing allowing for installing tools using the -g flag similar to to npm, however discoverability is already becoming an issue even in Preview. Other than the list @natemcmaster has here -> https://github.com/natemcmaster/dotnet-tools, hard to find a good list and I am sure that there are more.

Consider adding a tool flag/option to the search. There is a metadata item to search on or index on <packageType name="DotnetTool" />.

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
  <metadata>
    <!-- This piece is required -->
    <packageTypes>
      <packageType name="DotnetTool" />
    </packageTypes>
    <!-- ... -->
  </metadata>
</package>

cc:/ @natemcmaster @shanselman @KathleenDollard

@spboyer
Copy link
Author

spboyer commented Apr 4, 2018

Related? #5684

@skofman1
Copy link
Contributor

skofman1 commented Apr 5, 2018

@spboyer , what tool will users use to search for Global Tools packages? Are you suggesting a command for dotnet.exe or NuGet.org filtering?

@spboyer
Copy link
Author

spboyer commented Apr 6, 2018

Should be supported at the nuget API level. At which point the dotnet CLI and nuget.org site could implement the proper UI properties.

@KathleenDollard
Copy link

And we are looking forward to doing that, along with author and stats I hope. :)

@skofman1
Copy link
Contributor

I will add this to our backlog. We should meet and discuss requirements and timeline 😄

@joelverhagen
Copy link
Member

This is supported on the V3 search and autocomplete API, will be added in .NET 5 SDK with dotnet tool search, can be filtered on nuget.org using the Filter (advanced search) button, and showing package type in the UI is tracked with #7825.

I think this is safe to close. Please let me know if you had another idea @spboyer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants