Project

Profile

Help

Issue #9231

The interaction of skip_types and mirror=True is unintuitive

Added by dalley 2 months ago. Updated 1 day ago.

Status:
POST
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 107
Quarter:

Description

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.POST

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley about 2 months ago

  • Triaged changed from No to Yes

#2 Updated by dalley about 1 month ago

  • Status changed from NEW to POST
  • Assignee set to dalley

#4 Updated by dalley about 1 month ago

  • Sprint set to Sprint 104

#5 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 104 to Sprint 105

#6 Updated by dalley about 1 month ago

  • Sprint/Milestone set to 3.16.0

#7 Updated by dalley about 1 month 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.

#8 Updated by dalley about 1 month 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

#9 Updated by rchan 23 days ago

  • Sprint changed from Sprint 105 to Sprint 106

#10 Updated by rchan 8 days ago

  • Sprint changed from Sprint 106 to Sprint 107

#11 Updated by dalley 1 day ago

  • Sprint/Milestone deleted (3.16.0)

Please register to edit this issue

Also available in: Atom PDF