Project

Profile

Help

Issue #9231

closed

The interaction of skip_types and mirror=True is unintuitive

Added by dalley about 1 year ago. Updated 10 months 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
Actions #1

Updated by dalley about 1 year ago

  • Triaged changed from No to Yes
Actions #2

Updated by dalley about 1 year ago

  • Status changed from NEW to POST
  • Assignee set to dalley
Actions #4

Updated by dalley about 1 year ago

  • Sprint set to Sprint 104
Actions #5

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 104 to Sprint 105
Actions #6

Updated by dalley about 1 year ago

  • Sprint/Milestone set to 3.16.0
Actions #7

Updated by dalley about 1 year ago

One implication I just thought of is that when exporting content to disconnected systems, I believe that requires that all content be downloaded "immediate", but this provides a backdoor way for on-demand content to slip in. So we need to briefly consider whether that would present any negative UX implications.

Actions #8

Updated by dalley about 1 year ago

  • Related to 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. added
Actions #9

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 105 to Sprint 106
Actions #10

Updated by rchan 12 months ago

  • Sprint changed from Sprint 106 to Sprint 107
Actions #11

Updated by dalley 12 months ago

  • Sprint/Milestone deleted (3.16.0)
Actions #12

Updated by rchan 12 months ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #13

Updated by rchan 11 months ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #14

Updated by rchan 11 months ago

  • Sprint changed from Sprint 109 to Sprint 110
Actions #15

Updated by rchan 10 months ago

  • Sprint changed from Sprint 110 to Sprint 111
Actions #16

Updated by fao89 10 months ago

  • Description updated (diff)
  • Status changed from POST to CLOSED - DUPLICATE

Also available in: Atom PDF