Project

Profile

Help

Issue #8487

closed

Repository list endpoint shows repos that are meant to be hidden

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

Status:
CLOSED - CURRENTRELEASE
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 98
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/CLOSED - CURRENTRELEASEdalleyActions
Actions #1

Updated by ppicka over 3 years ago

maybe field name like:

user_managable=False
Actions #2

Updated by daviddavis over 3 years ago

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

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST
Actions #4

Updated by daviddavis over 3 years ago

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

Updated by rchan over 3 years ago

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

Updated by rchan over 3 years ago

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

Updated by rchan over 3 years ago

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

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 97 to Sprint 98

Added by daviddavis over 3 years ago

Revision ef7957d1 | View on GitHub

Allow plugin writers to hide repositories

fixes #8487

Actions #9

Updated by daviddavis over 3 years ago

  • Status changed from POST to MODIFIED
Actions #10

Updated by pulpbot over 3 years ago

  • Sprint/Milestone set to 3.14.0
Actions #11

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF