-
Notifications
You must be signed in to change notification settings - Fork 252
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
Better discoverability of related packages #1089
Comments
It does sound a bit like @haacked's old proposal for "related dependencies", but not quite. |
It's very very similar to my proposal. All you have to do is add support for "NuGet" to the list of package sources for the original related dependencies and you would get this feature idea for free. 😄 But constraining it to just NuGet seems like a good stepping stone to "related dependencies". 👍 |
I would prefer a solution with a little more metadata so we can help guide consumers as to what they're choosing between. Perhaps a nice title is fine, or a description field. Also it would be nice to support multiple dimensions of dependencies. I'm thinking of the scenario:
Basically I want two axes from which to choose my dependency lists. (Now I may be asking for too much since the combinations tend to grow.) |
Copying from https://twitter.com/khellang/status/1365366838004219909?s=20
Copying from https://twitter.com/sharmaloic/status/1365385639621849092?s=20
|
I first posted this over at #686, but I guess what I'm proposing here isn't what's "officially" called "optional dependencies".
Pulling in Microsoft.Framework.Configuration, as an example, doesn't provide much value by itself. In order to add configuration sources, you need at least one of the following packages:
Currently, there's nothing telling the user that this is the case, and you have to either figure it out through trial and error, or consult documentation/code. In this case, it's pretty easy to see that the packages are closely related and they'd most likely end up in the same search result, but there is a huge discoverability problem for 3rd party NuGet packages today; If I had just pushed a package called AwesomeConfiguration.Toml, it'd be pretty hard to discover it (since very few have downloaded it yet) or know that it would add TOML support to your ASP.NET 5 apps. Is the solution to "mimic" the Microsoft packages and name it Microsoft.Framework.Configuration.Toml?
It would be super nice if NuGet had either
The NuGet UI/command line could then simply list the optional dependencies and prompt the user if they wanted to install them together with the main package. Kinda like Yeoman does:
Does other package managers have something like this? What's the name for these "dependencies" or "related packages"? I've been looking around (and used quite a few), but I can't find anything like it.
I can think of lots and lots of use cases for this and I think it would open up some awesome discoverability scenarios and benefit the community as a whole.
The text was updated successfully, but these errors were encountered: