Project

Profile

Help

Refactor #878

Pulp - Refactor #765: Convert Pulp to use MongoEngine

Convert pulp_deb to use MongoEngine models

Added by bcourt over 5 years ago. Updated over 1 year 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 - CURRENTRELEASE

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

History

#1 Updated by bcourt over 5 years ago

  • Blocked by Refactor #863: Convert pulp_docker to use MongoEngine models for units added

#2 Updated by bcourt over 5 years ago

  • Project changed from Pulp to Debian Support

#3 Updated by mhrivnak over 5 years ago

  • Sprint Candidate set to Yes

#4 Updated by mhrivnak over 5 years ago

  • Groomed set to Yes

#5 Updated by bmbouter over 5 years ago

  • Description updated (diff)

#6 Updated by mhrivnak over 5 years ago

  • Priority changed from Normal to High

#7 Updated by mhrivnak over 4 years ago

  • Sprint Candidate changed from Yes to No

#8 Updated by mihai.ibanescu@gmail.com almost 4 years ago

  • Assignee set to mihai.ibanescu@gmail.com

#9 Updated by mihai.ibanescu@gmail.com almost 4 years ago

  • Status changed from NEW to ASSIGNED

#10 Updated by mihai.ibanescu@gmail.com almost 4 years ago

  • Description updated (diff)

#11 Updated by mihai.ibanescu@gmail.com over 3 years ago

  • Status changed from ASSIGNED to MODIFIED

Pull request created, for this and #2637

#12 Updated by mihai.ibanescu@gmail.com over 3 years ago

  • % Done changed from 0 to 100

#13 Updated by bmbouter over 3 years ago

  • Status changed from MODIFIED to POST

Moving to POST since the PR is not yet merged.

PR available at: https://github.com/pulp/pulp_deb/pull/18

#14 Updated by dkliban@redhat.com over 3 years ago

  • Status changed from POST to MODIFIED

#15 Updated by pcreech over 3 years ago

  • Platform Release set to 2.14.0

#16 Updated by pcreech over 3 years ago

  • Status changed from MODIFIED to 5

#17 Updated by pcreech over 3 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#18 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF