Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-16409

Ability to DELETE from a yum hosted repository

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.13.0
    • Component/s: Yum

      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

      1. 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 )
      2. Attempting a DELETE of metadata will return a http 405 (NOT_ALLOWED) as these files will be updated automatically.
      3. Maven files (e.g. pom.xml) and other file types in PERMISSIVE repositories can be deleted by making a http DELETE request.

        Attachments

          Activity

            People

            Assignee:
            mdodgson Mark Dodgson
            Reporter:
            mdodgson Mark Dodgson
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Formats
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title