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

"Remove unused snapshots" task should remove non-timestamped snapshots

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.11.1
    • Fix Version/s: None
    • Component/s: Scheduled Tasks
    • Labels:
    • Notability:
      4

      Description

      The "remove unused snapshots" task is implemented as part of the standard snapshot remover, and consequentially it skips non-timestamped snapshots:

      https://github.com/sonatype/nexus-oss/blob/nexus-2.11.x/components/nexus-core/src/main/java/org/sonatype/nexus/maven/tasks/DefaultSnapshotRemover.java#L457

      Skipping non-timestamped snapshots makes sense for the regular snapshot remover, but the "remove unused snapshots" task is meant to remove snapshots which have not been used in a long time. It should remove non-timestamped snapshots that meet the task's criteria.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Rich Seddon Rich Seddon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title