Actions
Bug #35410
closedPathing issue on exports
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Syncable Exports introduced an issue with path names. It uses the content view name + version and generates paths that look like
/var/lib/pulp/exports/Test_Organization/Test CV/1.0/2022-08-03T00-17-11-00-00/metadata.jsoninstead of
/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
The CV name has a space in it on the expanded path. While this in itself is not a big issue it seems break the bats tests.
- Create a CV name with a space in it
- Add a simple custom repo or rh repo with `immediate` download policy
- Publish
- Export the content view version via hammer.
hammer content-export complete version --id=<cvv-id>
Actual path
/var/lib/pulp/exports/Test_Organization/Test CV/1.0/2022-08-03T00-17-11-00-00/metadata.jsonwith the space
Expected path
/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2022-08-03T00-17-11-00-00/metadata.jsonwith no space
Actions