aboutcode-org / aboutcode-org/nuget-inspector

Possibly missing source packages?

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Using this [Sample.csproj.txt](https://github.com/nexB/nuget-inspector/files/10841274/Sample.csproj.txt) file (renamed to /Sample.csproj) :
```


net5.0




```

I run the inspector and I get this output:

[sample.json.txt](https://github.com/nexB/nuget-inspector/files/10841290/sample.json.txt)

1. there are no "sources_packages"
2. the homepage_url listed here is often the source repo URL:
- 'pkg:nuget/Microsoft.NETCore.Platforms@3.1.0', 'https://github.com/dotnet/corefx': no source repo, but the homepage_url is a repo and this the same in all API endpoints and its nuspec for this version (this may be different for other versions) ... and even if we had a source repo, there would be an issue as to figure which part of the sources are used in https://github.com/dotnet/corefx/releases/tag/v3.1.0 (which is further more archived)
- 'pkg:nuget/System.Security.Principal.Windows@4.7.0', 'https://github.com/dotnet/corefx', same as above
- 'pkg:nuget/System.Security.AccessControl@4.7.0', 'https://github.com/dotnet/corefx', same as above
- 'pkg:nuget/Microsoft.Win32.Registry@4.7.0', 'https://github.com/dotnet/corefx', same as above
- 'pkg:nuget/System.Diagnostics.EventLog@4.7.0', 'https://github.com/dotnet/corefx', same as above
- 'pkg:nuget/Castle.Core@5.1.1', 'http://www.castleproject.org/': here none of the API endpoint seem to have anything but https://www.nuget.org/packages/Castle.Core lists a source repo as does the nuspec at https://api.nuget.org/v3-flatcontainer/castle.core/5.1.1/castle.core.nuspec but this is empty in the catalog entry https://api.nuget.org/v3/catalog0/data/2022.12.30.09.24.25/castle.core.5.1.1.json

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.