praeclarum / FuGetGallery

An alternative web UI for browsing nuget packages
https://www.fuget.org
MIT License
685 stars 121 forks source link

[Enhancement] NuGet package dependency hierarchy #2

Open plamen-i opened 6 years ago

plamen-i commented 6 years ago

First of all - wonderful site!!! Exactly what I have done before (download/unzip/ILSpy browsing) and exactly what I will use from now on :-)

One more feature which I'm missing - NuGet package dependency hierarchy like described here.

Btw - I was looking for this when I digging into sqlite-net-pcl/SQLitePCLRaw.bundle_* dependencies/substitutions... ;-)

praeclarum commented 6 years ago

Glad you like it! Yeah that would be great.

With the current code, calculating that hierarchy would require downloading all the referenced packages. I'll see if I can find a way to build it more efficiently (downloading only the nuspecs).

I actually spotted some SQLitePCLRaw packaging errors with this :-)

loic-sharma commented 6 years ago

You can download a package's nuspec using the flat container.

Documentation: https://docs.microsoft.com/en-us/nuget/api/package-base-address-resource#download-package-manifest-nuspec Example: https://api.nuget.org/v3-flatcontainer/newtonsoft.json/11.0.1/newtonsoft.json.nuspec

praeclarum commented 6 years ago

@loic-sharma perfect, thank you.

josundt commented 5 years ago

Would really love to see this.

I found something similar on... https://icanhasdot.net/ ...but it would be just 100 times better to have this built-in to fuget.

I have spent too much poor-quality-time investigating dependency trees when having assembly version conflicts etc. This could be of great help.