Project

Profile

Help

Issue #2027

closed

remove_missing option does not work unless repository is updated

Added by jsherril@redhat.com over 8 years ago. Updated over 5 years ago.

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

Description

The remove_missing yum_importer option seems to not actually remove anything unless some repo is added to the upstream repository.

I was able to reproduce easy enough by:

1) generate an empty repository:

mkdir /var/www/html/foo
createrepo /var/www/html/foo

2) Create a repo with remove_missing set to true, pointed to some repo with content (https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/)

3) Sync the repo
4) change the feed url to point to your empty repo. This simulates rpms being removed from the upstream repo (Sync you just created the empty repo the revision should be newer than the first repo)
5) sync the repo

I'd expect all rpms to be removed from the repo but they are not.


Related issues

Related to Pulp - Story #1983: As a user, an importer config change or content removal will cause the next sync to be fullCLOSED - CURRENTRELEASEdalley

Actions

Also available in: Atom PDF