Story #1884
closedPulp - Story #3693: Lazy for Pulp3
As a user, I can lazily sync python packages
100%
Description
With the previous work done in for python packages, it is now possible to create objects using only the metadata provided by the json API of PyPI. This metadata is also now provided by pulp publish.
Completion of this story should allow the user to set the download policy to on_demand and background.
Related issues
Updated by amacdona@redhat.com over 8 years ago
- Blocked by Story #1882: Rebuild model to support all package types added
Updated by amacdona@redhat.com over 8 years ago
- Blocked by Story #1883: As a user, I can sync and publish all package types added
Updated by amacdona@redhat.com over 8 years ago
- Blocked by Issue #1183: As a developer, I can close this ticket as a duplicate of 1884 :) added
Updated by mhrivnak over 8 years ago
I think this should be a story instead of an issue.
The description dives right into how to do this, but skips over what the goal is. :) "Lazy integration" is perhaps obvious to some, but it's helpful to have a more full description. Start with the desired behavior: we want the ability to set the download policy to on_demand or background. Describe the workflow of specifying that setting, accessing content, having it retrieved on-demand, etc. What will QE do to verify this?
The checklist is a good place for implementation details, including: add catalog entries during sync, document new importer settings, make new importer settings available in pulp-admin, add release notes, etc.
The "downloaded" boolean is already on FileContentUnit in platform, so you'll get that for free.
I'm not sure about the idea of updating the unit in the DB after download. Pulp's job is a LOT easier when units are immutable. Do we really need to update it for some reason?
Updated by amacdona@redhat.com over 8 years ago
- Tracker changed from Issue to Story
- Subject changed from Lazy integration to As a user, I can lazily sync python packages
- Groomed set to No
- Sprint Candidate set to No
Updated by amacdona@redhat.com over 8 years ago
- Sprint Candidate changed from No to Yes
Updated by mhrivnak over 8 years ago
- Sprint/Milestone set to 21
- Groomed changed from No to Yes
Updated by amacdona@redhat.com almost 6 years ago
- Blocked by deleted (Issue #1183: As a developer, I can close this ticket as a duplicate of 1884 :))
Updated by amacdona@redhat.com almost 6 years ago
- Blocked by Refactor #4132: Metadata is not downloaded in parallel added
Updated by dalley almost 6 years ago
- Related to Story #4209: As a plugin writer, I can implement lazy sync for plugins with multiple metadata files added
Updated by amacdona@redhat.com over 5 years ago
- Blocked by deleted (Refactor #4132: Metadata is not downloaded in parallel)
Updated by CodeHeeler over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to CodeHeeler
Added by CodeHeeler over 5 years ago
Updated by CodeHeeler over 5 years ago
Updated by CodeHeeler over 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 66e8a02adef6822a30e95498a3a00fe0b97eb4f2.
Updated by CodeHeeler over 5 years ago
- Related to Test #4706: Add a test for lazy syncing content added
Add ability to lazy sync python packages
Add lazy support using DeclarativeVersion by specifying deferred_download which will check policy on remote.
fixes #1884 https://pulp.plan.io/issues/1884