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

Add support for repositories running on Sonatype Nexus Repository - NuGet Proxies #52

Open
madpah opened this issue Aug 1, 2023 · 2 comments · May be fixed by #53
Open

Add support for repositories running on Sonatype Nexus Repository - NuGet Proxies #52

madpah opened this issue Aug 1, 2023 · 2 comments · May be fixed by #53
Labels
blocked Blocked stale Issue is stale and will be closed shortly unless there is activity

Comments

@madpah
Copy link
Collaborator

madpah commented Aug 1, 2023

Support for NuGet Proxy Repositories on Sonatype Nexus Repository is not trivial due to case sensitivity challenges.

PURLs are CASE SENSITIVE, alas Windows (eco-systems) are CASE INSENSITIVE. Thus Sonatype Nexus Repository catalogues components canonicalising names to lowercase.

For example: https://www.nuget.org/packages/Azure.Core/1.33.0

  • Correct Package URL (PURL): pkg:nuget/Azure.Core@1.33.
  • Sonatype Nexus Repository Manager stored the asset as name azure.core, which results in a PURL of pkg:nuget/azure.core@1.33

This means we cannot accurately derive the PURL for a NuGet package when browsing Sonatype Nexus Repository Manager.

ucwords cannot be employed to resolve this due to examples such as https://www.nuget.org/packages/Microsoft.CSharp/4.6.0

FYI @maurycupitt

@madpah madpah changed the title NuGet Add support for repositories running on Sonatype Nexus Repository - NuGet Proxies Aug 1, 2023
@maurycupitt
Copy link
Collaborator

@madpah - Maybe take the hash to get the purl then query again with the purl?

@github-actions
Copy link

This issue is stale because it has been open 21 days with no activity. Remove the stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the stale Issue is stale and will be closed shortly unless there is activity label Aug 24, 2023
@madpah madpah added the blocked Blocked label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked stale Issue is stale and will be closed shortly unless there is activity
Projects
None yet
2 participants