Details
Description
When testing yum repositories it was realized that there is currently no implementation of http DELETE to allow deletion of rpms
While there is a way to delete via the REST API ( see mailing list answer ) - a standard HTTP DELETE to the path of the RPM file should be allowed as well, similar to RAW or Maven repos. Nexus 2.x supported this and there are no YUM repository format rules that disallow this.
Acceptance
- RPMs can be deleted by making a http DELETE request. Updating yum metadata asynchronously from this action should be handled as well.( ie. do not block the delete waiting for metadata to update )
- Attempting a DELETE of metadata will return a http 405 (NOT_ALLOWED) as these files will be updated automatically.
- Maven files (e.g. pom.xml) and other file types in PERMISSIVE repositories can be deleted by making a http DELETE request.