Project

Profile

Help

Issue #1350

closed

yum purge_orphaned option not available on cli

Added by pgassmann about 7 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.6.4
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2
Sprint:
Quarter:

Description

The purge_orphaned option is documented, but not available as a cli option (--purge-orphaned) for rpm repo create or update
http://pulp-rpm.readthedocs.org/en/latest/tech-reference/yum-plugins.html?highlight=purge_orphaned#configuration-parameters

purge_orphaned
If True, as the repository is synchronized, packages no longer available from the source repository will be deleted; defaults to True.

Actions #1

Updated by ipanova@redhat.com about 7 years ago

This flag should have no effect, we have to ensure that that's true and remove/clean in appropriate places. https://github.com/pulp/pulp_rpm/blob/master/plugins/pulp_rpm/plugins/migrations/0010_yum_importer_config_keys.py#L17

Actions #2

Updated by mhrivnak about 7 years ago

  • Severity changed from 2. Medium to 1. Low
  • OS deleted (RHEL 6)
  • Triaged changed from No to Yes
  • Tags Documentation, Easy Fix added

Added by mhrivnak almost 7 years ago

Revision 80ebfd7a

removing an option from docs that is not actually present in code.

It appears that "purge_orphaned" may have been a valid setting a long time ago when we used grinder. Behaviorally, its use case is covered by the remove_missing option.

fixes #1350

Actions #3

Updated by mhrivnak almost 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mhrivnak
  • Platform Release set to 2.8.0
Actions #4

Updated by mhrivnak almost 7 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by mhrivnak almost 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by dkliban@redhat.com almost 7 years ago

  • Status changed from MODIFIED to 5
Actions #7

Updated by dkliban@redhat.com over 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #8

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF