Changing relative URL doesn't remove old URL.
Description of problem:
If a repo is published over http/https and the relative URL is later changed and the repo republished, the old relative URL still exists (although not everything published it still there, seems like only the listing files and the folders are left).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create repo with relative URL RHEL
2. pulp-admin rpm repo publish run --repo-id RHEL
3. pulp-admin rpm repo update --relative-url RedHat --repo-id RHEL
4. pulp-admin rpm repo publish run --repo-id RHEL
5. Check the available folders at <server>/pulp/repos
Both folders RHEL and RedHat exist.
Only the RedHat folder should remain.
+ This bug was cloned from Bugzilla Bug #1141252 +
Updated by email@example.com about 7 years ago
- Assignee deleted (
- Platform Release changed from 2.6.1 to 2.6.5
This one was not fixed by https://github.com/pulp/pulp_rpm/pull/648 as I originally thought it would be, but it can be fixed using the same machinery. It just needs to be called on update as well as delete.
Updated by bmbouter over 3 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.