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
Updated by daviddavis over 3 years ago
- Blocked by Issue #8487: Repository list endpoint shows repos that are meant to be hidden added
Updated by dalley over 3 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 94
Updated by ipanova@redhat.com over 3 years ago
- Sprint changed from Sprint 101 to Sprint 102
Updated by dalley over 3 years ago
- Status changed from NEW to POST
- Sprint/Milestone set to 3.15.0
Updated by dalley over 3 years ago
- Copied to Backport #9201: Backport #8494 "Sub repos are showing up at /pulp/api/v3/repositories/" to 3.14.z added
Updated by pulpbot over 3 years ago
Added by dalley over 3 years ago
Updated by dalley over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset e9debfa0b6cc984ced4c78ba43e0c34246c2fec6.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
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