Git Product home page Git Product logo

Comments (3)

josieang avatar josieang commented on July 28, 2024 2

Thanks @noqcks for filing this issue! I've just looked into it and it's a bug on our part. For NuGet, we get the repository from the nuspec file's Repository tag but it wasn't being propagated properly through to our user-facing services. Both of the package versions that you mentioned have this tag populated. From my knowledge, we don't use the project URL to populate the repository in deps.dev, we only use the Repository tag.

For https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.authorization/7.0.10/microsoft.aspnetcore.authorization.nuspec

<repository type="git" url="https://github.com/dotnet/aspnetcore" commit="5a4c82ec57fadddef9ce841d608de5c7c8c74446"/>

and for https://api.nuget.org/v3-flatcontainer/azure.core/1.34.0/azure.core.nuspec.

<repository type="git" url="https://github.com/Azure/azure-sdk-for-net" commit="616f600f67a2494d9d046daa79d4d470d1b52284"/>

Also, @benmss, on my end, I see a Source Repository link for Azure.Core on nuget.org under the About section. If you've noticed anything odd on deps.dev please don't hesitate to file an issue, we appreciate the feedback.

I've submitted a fix for this but it will take a while for it to propagate through our system. I will report back here when that is done.

from deps.dev.

benmss avatar benmss commented on July 28, 2024 1

I think the problem lies in how the nuget.org reports URLs in the meta data it provides for packages. Examining the meta data retrieved for azure.core, there is a URL for the "Project website" as listed on the package page, but no URL for the "Source repository".

Taking another package, nuget.server.core, both "Project website" and "Source repostiory" are the same, which means the included URL in the meta data happens to be correct: https://github.com/NuGet/NuGet.Server, but is also absent in deps.dev as a repository link.

For context, we have a repository finding feature in our project: Macaron. Currently it is fine-tuned for Java packages. We are considering use of deps.dev for other ecosystems, but there are some problems -- like this one.

from deps.dev.

adg avatar adg commented on July 28, 2024 1

This has been fixed. Please let us know if you find any other inconsistencies. Thanks for the report.

from deps.dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.