Actions
Issue #8494
closedSub repos are showing up at /pulp/api/v3/repositories/
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 102
Quarter:
Description
Steps to reproduce¶
- Sync a distribution tree with nested repos
- Go to
/pulp/api/v3/repositories/
- Observe that sub repos are showing up
Solution¶
With #8487, pulpcore provides a way for plugins to hide these sorts of repos from users.
pulp_rpm should set this field (user_hidden) on subrepos.
Also, I think that perhaps the sub_repo
field can be dropped. The question is whether the rpm code is using the sub_repo field for anything other than hidden repos from users.
Related issues
Actions
Replace repository.sub_repo with repository.user_hidden
Make sure that sub-repos don't show up in /api/v3/repositories/
closes: #8494 https://pulp.plan.io/issues/8494