sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.9k stars 564 forks source link

Nuget group issues in combination with Chocolatey #306

Open daemenseth opened 9 months ago

daemenseth commented 9 months ago

We use the Sonatype Nexus repository to host nuget feeds for chocolatey packages. We have a group which contains 2 hosted feeds.

This had worked perfectly but after some upgrades of chocolatey we had issues that the choco search did not list al the packages of the feeds but a subnet of them.

See also this github issue: Choco search not returning all results from Nexus and Artifactory repositories · Issue #3270 · chocolatey/choco (github.com)

The suggestion is to add /index.json to the url to forece a v3 nuget. This resolves the seach problem.

But introduces a new problem that depencies are not working.

When we add both nuget hosted feeds directly to the client without a group there is no problem at all.

We like the features of grouping the hosted feeds. Has someone a solutions for this

mrprescott commented 8 months ago

@daemenseth, thanks for filing this, and for your analysis on how we might approach the solution. We don't have explicit support for chocolatey, which is why this has come unglued under v3. I'm classifying this as an 'enhancement' for the meantime.

pauby commented 6 months ago

@mrprescott Chocolatey products don't need explicit support in any repository manager, as they use the standards of NuGet v2 (where they are defined) and v3.

If Nexus follows those standards, nothing else is needed.