Project

Profile

Help

Refactor #878

closed

Pulp - Refactor #765: Convert Pulp to use MongoEngine

Convert pulp_deb to use MongoEngine models

Added by bcourt about 7 years ago. Updated about 3 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
Actions #1

Updated by bcourt about 7 years ago

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

Updated by bcourt about 7 years ago

  • Project changed from Pulp to Debian Support
Actions #3

Updated by mhrivnak about 7 years ago

  • Sprint Candidate set to Yes
Actions #4

Updated by mhrivnak almost 7 years ago

  • Groomed set to Yes
Actions #5

Updated by bmbouter almost 7 years ago

  • Description updated (diff)
Actions #6

Updated by mhrivnak almost 7 years ago

  • Priority changed from Normal to High
Actions #7

Updated by mhrivnak about 6 years ago

  • Sprint Candidate changed from Yes to No
Actions #8

Updated by mihai.ibanescu@gmail.com over 5 years ago

  • Assignee set to mihai.ibanescu@gmail.com
Actions #9

Updated by mihai.ibanescu@gmail.com over 5 years ago

  • Status changed from NEW to ASSIGNED
Actions #10

Updated by mihai.ibanescu@gmail.com over 5 years ago

  • Description updated (diff)
Actions #11

Updated by mihai.ibanescu@gmail.com about 5 years ago

  • Status changed from ASSIGNED to MODIFIED

Pull request created, for this and #2637

Actions #12

Updated by mihai.ibanescu@gmail.com about 5 years ago

  • % Done changed from 0 to 100
Actions #13

Updated by bmbouter about 5 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

Actions #14

Updated by dkliban@redhat.com about 5 years ago

  • Status changed from POST to MODIFIED
Actions #15

Updated by pcreech almost 5 years ago

  • Platform Release set to 2.14.0
Actions #16

Updated by pcreech almost 5 years ago

  • Status changed from MODIFIED to 5
Actions #17

Updated by pcreech almost 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #18

Updated by bmbouter about 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF