Open loic-sharma opened 6 years ago
I've been adding .net support to OctoLinker and now I'm working on pulling the repo info for each package so we can link to that instead of the nuget.org page when available and show hovercards.
It'd be great to see the repo info get surfaced to the json api instead of having to find and parse the latest nuspec file. We're caching this info for 12 hours, but dealing with xml in javascript is far from ideal.
I think the first step would be to add to the Db2Catalog
job so catalog leaves moving forward contain this information. There would also be an activity to reflow all packages that have repository information but their latest catalog leaf does not have repository information. Finally, we could update Catalog2Registration to include this property in the package metadata (registration) blobs, when it exists in the catalog leaf.
I came across this issue and would very much like to be able to retrieve the repository URL from the v3 feed. I'd very much like to avoid having to scrap the nuget.org site... 🙏
Add the source repository URL and type to the catalog and package metadata resources. This allows clients like Visual Studio and BaGet to display the source repository information.
For more information, see the repository source spec and the change that added source repository information to the Gallery.