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

[V3] Add source repository information #6262

Open
loic-sharma opened this issue Aug 3, 2018 · 4 comments
Open

[V3] Add source repository information #6262

loic-sharma opened this issue Aug 3, 2018 · 4 comments

Comments

@loic-sharma
Copy link
Contributor

loic-sharma commented Aug 3, 2018

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.

@loic-sharma loic-sharma changed the title [V3] Add source repository information to package metadata [V3] Add source repository information Aug 3, 2018
@xt0rted
Copy link

xt0rted commented May 19, 2020

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.

@joelverhagen
Copy link
Member

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.

@kzu
Copy link

kzu commented Sep 17, 2024

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... 🙏

@xnuinside
Copy link

Up to this issue. Really needed.

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

6 participants