Destroy RPM repository files
🔥 Problem
For package files, we do have:
- APIs to list them.
- APIs to delete them.
- A status around the destruction (
pending_destruction
). - A logic that will deal with those objects, mainly background jobs.
We don't have such things for RPM repository files that have been introduced in !97484 (merged).
🚒 Solution
Decide how users are going to manage those repository files.
Provide:
- APIs.
- Implement the
pending_destruction
status. - Update the cleanup background jobs to take care of those
pending_destruction
objects.