We have endpoints for reading (system_update_get_repository) and creating (system_update_put_repository) TUF repositories in Nexus, but we need an endpoint for deleting one.
This is not as simple as removing the records from the database; we should prevent deleting repositories if Nexus might need the artifacts in order to manage the system. This might be as simple as ensuring we keep the "current" system version, the system version we want to be on by policy, and any versions in between.
We have endpoints for reading (
system_update_get_repository
) and creating (system_update_put_repository
) TUF repositories in Nexus, but we need an endpoint for deleting one.This is not as simple as removing the records from the database; we should prevent deleting repositories if Nexus might need the artifacts in order to manage the system. This might be as simple as ensuring we keep the "current" system version, the system version we want to be on by policy, and any versions in between.