Draft: Add bulk branch deletion API
What does this MR do and why?
Related to #15976 (closed)
Introduces a new worker and API endpoint to queue up the deletion of multiple branches using a regular expression.
Use case/example: I am working on a project forking the GitLab project and it comes with 12,000+ branches. I have to write a little bash script which takes quite some hours to delete all the branches
Screenshots or screen recordings
How to set up and validate locally
- Create or find a project with multiple branches
- Make a DELETE API request as per the docs/screenshot above
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 Lee Tickett