Project

Profile

Help

Issue #3425

Updated by daviddavis over 6 years ago

When you create a content unit: 

 https://github.com/pulp/pulp_file#create-file-content-from-an-artifact 

 You set the relative_path via the artifacts dict on the ContentArtifact here: ContentArtifact: 

 https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/viewsets/content.py#L57-L59 

 See the model here: 

 https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/models/content.py#L139 

 This relative_path field is what the publishing code uses: 

 https://git.io/vAHHJ 

 As well as the manifest code: 

 https://git.io/vAHHU 

 AFAICT, the path field on FileContent isn't used at all.

Back