Project

Profile

Help

Test #4467

As a user, I can perform an immediate sync to download artifacts for content units that are already created

Added by bherring over 1 year ago. Updated over 1 year ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Version:
Platform Release:
Tags:
Sprint:

Description

Imagine the following scenario:

  • Perform a sync with a download_policy of 'streamed' or 'on_demand'
  • Either:
  • Change your mind, decide you want to download the artifacts after all, and do another sync with a remote download policy of "immediate", OR
  • Perform an immediate sync of another repository which contains overlapping content units with the first sync

In either of these cases, Pulp will not do what you want. "mirror=False" mode only looks at whether the content unit exists, not whether its artifacts have been downloaded. So there is no way to perform an "immediate" sync thereafter which touches the already-created content units, unless you use "mirror=True", which can be extremely destructive.

Both of these schemes (leave the existing units alone vs. download the artifacts for the overlapping ones) should probably be supported (and documented). But it would make sense to flip the current behavior around, and default to the state requested by the last-performed sync.


Related issues

Copied from Pulp - Story #4342: As a user, I can perform an immediate sync to download artifacts for content units that are already createdCLOSED - NOTABUG

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

Associated revisions

Revision dd366601 View on GitHub
Added by kersom over 1 year ago

Add test to verify download of content

Perform a lazy sync, and change to immediate to force download.

Perform an immediate sync to download artifacts for content units that are already created.

https://pulp.plan.io/issues/4467 #4467

History

#1 Updated by bherring over 1 year ago

  • Copied from Story #4342: As a user, I can perform an immediate sync to download artifacts for content units that are already created added

#2 Updated by daviddavis over 1 year ago

  • Tags deleted (Pulp 3 RC Blocker)

#3 Updated by kersom over 1 year ago

  • Assignee set to kersom

#4 Updated by kersom over 1 year ago

  • Status changed from NEW to ASSIGNED

#5 Updated by kersom over 1 year ago

  • Status changed from ASSIGNED to MODIFIED

#6 Updated by kersom over 1 year ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

#7 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF