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

Nexus 3.74.0 Nuget (hosted) Feed Cleanup Policies does not cleanup V3 registration page #530

Open
oed-pelza opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels

Comments

@oed-pelza
Copy link

  • What problem are you trying to solve?
    we are working with nexus repository 3.74.0 and having several nuget v3 (hosted) repositories. We enabled the cleanup policies for some test repositories and want to delete assets which are older than 10 days.

We hosting chocolatey packages on these feeds and when chocolatey is downloading a asset, its creating a /v3/registration//index.json.

Microsoft decscribes that as the “registration page” for nuget v3 specification:
Package Metadata, NuGet API | Microsoft Learn

When you deleting a asset from the nexus webgui or api, the registration page/index.json is automatically deleting too.

When you using the cleanup policy, it will delete the asset but not the index.

You can see the issue in this video:

Animation

  • Do you have a workaround you are using at present?
    The workaround is a script which is deleting from the api.

  • What feature or behavior is this required for?
    The cleanup policies should have the same behavior when you deleting from the webgui or the api.

  • Tell us about your Nexus Repository deployment: what version, operating system, and database are you using?
    Windows Server 2022
    Nexus Repository OSS 3.74
    H2 Database

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

No branches or pull requests

2 participants