As a user, I can determine if a repo is a 'sub-repo'
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
2) some filter on the list api to exclude sub repos
#3 Updated by fao89 about 2 years ago
I believe we can change this:
new_repository, created = Repository.objects.get_or_create(name=name) if created: new_repository.save()
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"
Please register to edit this issue