Project

Profile

Help

Issue #8494

closed

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

Added by daviddavis over 3 years ago. Updated over 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
Actions #1

Updated by daviddavis over 3 years ago

  • Blocked by Issue #8487: Repository list endpoint shows repos that are meant to be hidden added
Actions #2

Updated by dalley over 3 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 94
Actions #3

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 94 to Sprint 95
Actions #4

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 95 to Sprint 96
Actions #5

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 96 to Sprint 97
Actions #6

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 97 to Sprint 98
Actions #7

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 98 to Sprint 99
Actions #8

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 99 to Sprint 100
Actions #9

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 100 to Sprint 101
Actions #10

Updated by ipanova@redhat.com over 3 years ago

  • Sprint changed from Sprint 101 to Sprint 102
Actions #11

Updated by dalley over 3 years ago

  • Status changed from NEW to POST
  • Sprint/Milestone set to 3.15.0
Actions #12

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
Actions #14

Updated by dalley over 3 years ago

  • Assignee set to dalley

Added by dalley over 3 years ago

Revision e9debfa0 | View on GitHub

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

Actions #15

Updated by dalley over 3 years ago

  • Status changed from POST to MODIFIED
Actions #16

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF