Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-9844

Artifact in remote-repo-cache is not getting "SourceDelete" property set after a HEAD request

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 4.7.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      Steps to reproduce:

      1. If you create a smart repo and then remove the artifact from source repository then it will disappear from cache based on the 'Retrieval cache value' in remote repository configuration. So in this case if no one has downloaded the artifacts then both repository shows the same contents.
      2. If any artifacts are downloaded from remote repo then it will be cached into remote repo cache. Ideally if we simply do a head request (-I) then artifacts will have the 'SourceDeleted' property set in remote cache. We just tried that and somehow head request (-I) is not setting up this property.

      curl -I http://artifactory/artifactory/list/naren-orbit/ORBIT/ORBIT_Release_1.0.0.0(1.0.0.0)/EORMREP_Web_Server_Release_1.0.0.0.zip

      We can only see the 'SourceDeleted' property when we downloaded the file.
      curl -o /tmp/t.zip http://artifactory/artifactory/list/naren-orbit/ORBIT/ORBIT_Release_1.0.0.0(1.0.0.0)/EORMREP_Web_Server_Release_1.0.0.0.zip

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              timt Tim Telman
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: