Project

Profile

Help

Issue #3040

closed

When a consumer is unbound from an RPM repository, that repository should be deleted from /etc/yum.repos.d/...

Added by Ichimonji10 over 6 years ago. Updated about 5 years ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

When a consumer is bound to an RPM repository, a new entry is added into /etc/yum.repos.d/pulp.repo. Intuitively, I expect that when that same consumer is unbound from that same RPM repository, that entry will be removed from /etc/yum.repos.d/pulp.repo. Unfortunately, that doesn't happen. Instead, the repository entry is left in place.

This behaviour is unintuitive. It is my expectation that the following two actions produce a functionally identical system:

  • Do nothing.
  • Bind a consumer to a repository, and unbind that same consumer from that same repository.

The current behaviour makes it harder to implement tests such as Pulp Smash #611.

Also available in: Atom PDF