Project

Profile

Help

Refactor #878

closed

Pulp - Refactor #765: Convert Pulp to use MongoEngine

Convert pulp_deb to use MongoEngine models

Added by bcourt over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.14.0
Target Release - Debian:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Convert the pulp_deb to use MongoEngine models for all unit actions instead of the associated unit

Deliverables:

  • ContentUnit model for docker_image units
    • The model is registered via the entry point
    • The types .json file is removed, and references to it in the spec files are are also removed
  • All interactions with units in the plugin use the new unit model and the Repository model for creating, saving and updating units
  • Convert the model according to the conversion guide

Supported operations:

Milestone 1:

  • Create repository to host deb packages
  • Add deb unit to deb repository (implementation detail: importer needs to work)
  • Publish apt repository (implementation detail: distributor needs to work)
  • Sign repository metadata within the distributor

Milestone 2:

  • Ability to sync a repo produced at milestone 1 (one dist, one component, one architecture)

To be done later:

  • Full mirror support - problematic for several reasons:
    • we need a way to keep track of which deb unit came from which dist/component/architecture
    • in order to not invalidate the repo metadata signature, we may have to save the repo metadata files and publish exactly those.
  • Partial mirror
    • ability to specify a whitelist of dist/component/architecture combinations to be synced

Related issues

Blocked by Docker Support - Refactor #863: Convert pulp_docker to use MongoEngine models for unitsCLOSED - CURRENTRELEASErbarlow

Actions

Also available in: Atom PDF