Actions
Issue #3425
closedPath on content unit doesn't seem to do anything
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
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:
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:
As well as the manifest code:
AFAICT, the path field on FileContent isn't used at all.
Related issues
Actions