Project

Profile

Help

Issue #8494

closed

Sub repos are showing up at /pulp/api/v3/repositories/

Added by daviddavis over 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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

  1. Sync a distribution tree with nested repos
  2. Go to /pulp/api/v3/repositories/
  3. 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

Blocked by Pulp - Issue #8487: Repository list endpoint shows repos that are meant to be hiddenCLOSED - CURRENTRELEASEActions
Copied to RPM Support - Backport #9201: Backport #8494 "Sub repos are showing up at /pulp/api/v3/repositories/" to 3.14.zCLOSED - WONTFIX

Actions

Also available in: Atom PDF