Project

Profile

Help

Issue #9231

closed

The interaction of skip_types and mirror=True is unintuitive

Added by dalley over 3 years ago. Updated almost 3 years ago.

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

Description

Ticket moved to GitHub: "pulp/pulp_rpm/2293":https://github.com/pulp/pulp_rpm/issues/2293


Currently, if mirror=True, the skip_types option is ignored, which was surprising to some users.

https://github.com/pulp/pulp_rpm/blob/052f170fe60f27a32ccbd2d9a42283d7850b80a4/pulp_rpm/app/tasks/synchronizing.py#L1027

Two solutions were proposed:

  1. Disallow specifying both options simultaneously (and katello would hide the option from the UI)
  2. Let everything be synced as specified by "mirror", but in the event the sync is an "immediate" mode sync, use deferred_download only for the types which the user requested be skipped, so that the user doesn't pay a disk space cost for them.

Related issues

Related to RPM Support - Story #9316: As a user, I can mirror the packages in a repo (kick out ones that are no longer in the upstream) without mirroring the metadata.CLOSED - CURRENTRELEASEdalley

Actions

Also available in: Atom PDF