Project

Profile

Help

Story #5413

Updated by bmbouter about 5 years ago

If a plugin writer does not declarate a "remote" on a "declarative Artifact":https://github.com/pulp/pulpcore-plugin/blob/17e60e6f89ee9b725a12af104fbd088b3e3c89f3/pulpcore/plugin/stages/models.py#L44-L45 have no RemoteArtifact objects be created. 

 h3. # Validation adjustments 

 
 The validation there will need to be loosened to allow remote to be unset. When unset, the Artifact must already have it's binary data attached to the in-memory Artifact causing ArtifactDownloader to pass it through unmodified. 

 The Artifact can be saved or unsaved. If saved the ArtifactSaver stage will effectively pass it through unmodified. If unsaved the ArtifactSaver stage will perform its usual operation. 

 Useful for example in modularity support when we got artifact from first stage which doesn't need to be downloaded but should go through stage to create right relations with content.

Back