Skip to content

Add new inactive project deletion section

What does this MR do and why?

This MR adds a new section to the admin repository settings page.

The new settings allow the admin to set whether inactive projects are deleted, if there is a limit to the repo sizes that will be deleted, when to send the warning email and when to actually delete the project.

Screenshots or screen recordings

Light theme Dark theme
image image

Screen_Recording_2022-05-20_at_11.14.59

How to set up and validate locally

  1. Go to [HOST]/admin/application_settings/repository#js-repository-check-settings
  2. Test the size field only allows >= 0 values
  3. Test that the email and delete fields only allow > 0 values
  4. Test that the delete field has to have a value greater than the email field
  5. Test that setting it to inactive works

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #357374

Edited by Robert Hunt

Merge request reports