Project

Profile

Help

Issue #8487

Repository list endpoint shows repos that are meant to be hidden

Added by daviddavis about 1 month ago. Updated 12 days ago.

Status:
POST
Priority:
Normal
Assignee:
-
Category:
-
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 96
Quarter:

Description

The pulp_rpm plugin has "sub_repos" for distribution trees. These repos are not meant for users to view/manage. It filters out these repos in its viewset.

The problem is that the generic repo endpoint (/api/v3/repositories/) does not honor that.

Proposal

Add a new field (hidden?) to Repository. This would be useful for plugins that need to hide repos. But also for features like #7832.

Also, have the generic repo list use this field and update pulp_rpm to use this field.


Related issues

Blocks RPM Support - Issue #8494: Sub repos are showing up at /pulp/api/v3/repositories/NEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by ppicka about 1 month ago

maybe field name like:

user_managable=False

#2 Updated by daviddavis about 1 month ago

  • Blocks Issue #8494: Sub repos are showing up at /pulp/api/v3/repositories/ added

#3 Updated by pulpbot about 1 month ago

  • Status changed from NEW to POST

#4 Updated by daviddavis about 1 month ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 94

#5 Updated by rchan 26 days ago

  • Sprint changed from Sprint 94 to Sprint 95

#6 Updated by rchan 12 days ago

  • Sprint changed from Sprint 95 to Sprint 96

Please register to edit this issue

Also available in: Atom PDF