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

Sonatype Nexus Repository 3.71.0 & chocolatey #513

Open
daemenseth opened this issue Nov 13, 2024 · 6 comments
Open

Sonatype Nexus Repository 3.71.0 & chocolatey #513

daemenseth opened this issue Nov 13, 2024 · 6 comments
Assignees

Comments

@daemenseth
Copy link

Since upgrading to version 3.71.0 and migrating to the new database, we've encountered issues with Chocolatey due to Sonatype’s lack of support for deprecated NuGet v2 API requests.

Questions:

Is there an option in Sonatype to enable support for deprecated API requests to maintain backward compatibility?
Alternatively, is there a recommended approach to handle these legacy requests in Sonatype?
While there is a workaround available from Chocolatey, using choco feature disable --name='usePackageRepositoryOptimizations', it’s not ideal because it requires a client-specific setting.

Thank you for any guidance or recommendations!

@daemenseth
Copy link
Author

the problem is the chocolatey upgrade comand has issues on a nuget hosted repository with the index.json specified.
In a nuget group on the nexus there is no issue.
For more information see also this [post}(https://github.com/chocolatey/choco/issues/3506#issuecomment-2474658940)

@mrprescott
Copy link

Unfortunately, we aren't planning to rebuild support for deprecated NuGet API endpoints in the foreseeable future, but we are aware there is an issue here. We'll leave this issue open to accumulate demand.

@daemenseth
Copy link
Author

@mrprescott can you confirm if there is a known bug with Sonatype Nexus and Chocolatey using v3 nuget repo's.
That is what Chocolatey says in this thread: chocolatey/choco#3506

Is there something we can do together to fix this issue?

@TK5-Tim
Copy link

TK5-Tim commented Dec 12, 2024

Is there a timeline to resolve this issue?

@mrprescott
Copy link

@TK5-Tim We're not planning any changes relating to this issue in the immediate future, but we are monitoring demand.

@daemenseth
Copy link
Author

@mrprescott Could you confirm if there are any known issues with Sonatype Nexus and Chocolatey? Is this issue related to Chocolatey due to the use of deprecated features?

Chocolatey mentions there is a known issue on the Nexus side, but it doesn't appear in Sonatype's public issue tracker:
See this link

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

No branches or pull requests

3 participants