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

Possibly missing source packages? #20

Open
pombredanne opened this issue Feb 27, 2023 · 1 comment
Open

Possibly missing source packages? #20

pombredanne opened this issue Feb 27, 2023 · 1 comment

Comments

@pombredanne
Copy link
Contributor

Using this Sample.csproj.txt file (renamed to /Sample.csproj) :

<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFrameworks>net5.0</TargetFrameworks>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Castle.Core" Version="5.1.1" />
    <PackageReference Update="Microsoft.Extensions.Configuration.Binder" Version="7.0.0" />    
  </ItemGroup>
</Project>

I run the inspector and I get this output:

sample.json.txt

  1. there are no "sources_packages"
  2. the homepage_url listed here is often the source repo URL:

So this is a bit messy and there is no easy way to get something clean

@pombredanne
Copy link
Contributor Author

Things are messy and incomplete at best as provided by the NuGet API!

There could be something extra we could do when this is available in the .nuspec at the cost of an extra (expensive) API call and/or we could come with heuristics when the homepage/project URL is @ Github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant