Allow to delete error packages from package registry
What does this MR do and why?
Adds the ability to remove error packages within the UI
Screenshots or screen recordings
How to set up and validate locally
On your rails console bundle exec rails c
- Find the project where you want to work with the package registry
p = Project.find(<project_id>)
- Create a package
FactoryBot.create(:npm_package, project: p)
- Update the status of the package to
ERROR
Packages::Package.last.update(status: :error)
- Go to the package registry using the sidebar or via the URL
https://gitlab.com/<project>/-/packages
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jose Ivan Vargas