Actions
Issue #5421
closedAs a user, I can determine if a repo is a 'sub-repo'
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
Yes
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 59
Quarter:
Description
As part of the work for kickstart sub-repos, we need a way to know if a particular repository is a 'sub repo' or not. Either:
1) Some attribute on each repository when listing repositories
or
2) some filter on the list api to exclude sub repos
Updated by ttereshc about 5 years ago
- Subject changed from Provide some attribute for determining if a repo is a 'sub-repo' to As a user, I can determine if a repo is a 'sub-repo'
Updated by fao89 about 5 years ago
I believe we can change this:
new_repository, created = Repository.objects.get_or_create(name=name)
if created:
new_repository.save()
https://github.com/pulp/pulp_rpm/blob/master/pulp_rpm/app/tasks/synchronizing.py#L84-L86
Into this:
new_repository, created = Repository.objects.get_or_create(
name=name, description="sub-repo"
)
if created:
new_repository.save()
And then look for repositories with description == "sub-repo"
Updated by daviddavis about 5 years ago
- Groomed changed from No to Yes
- Sprint set to Sprint 59
Per our conversation, we should use a boolean field to represent this data.
Updated by fao89 about 5 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar about 5 years ago
Added by Fabricio Aguiar about 5 years ago
Revision 2d0fcae3 | View on GitHub
filter plugin managed repositories
Updated by Anonymous about 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset 63643343a921c835faa20c965ad9935d72d24890.
Updated by ttereshc almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ggainey over 4 years ago
- Tags Katello added
- Tags deleted (
Katello-P2)
Actions
setting plugin managed repositories
closes #5421 Required PR: https://github.com/pulp/pulpcore/pull/300 https://pulp.plan.io/issues/5421