Project

Profile

Help

Refactor #863

closed

Pulp - Refactor #765: Convert Pulp to use MongoEngine

Convert pulp_docker to use MongoEngine models for units

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

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Target Release - Docker:
2.0.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Quarter:

Description

Convert the pulp_docker 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

Related issues

Has duplicate Docker Support - Refactor #1080: Convert the DockerManifest model to use mongoengine modelCLOSED - DUPLICATE

Actions
Blocked by Pulp - Refactor #862: Add unit association and querying support to the Repository modelCLOSED - CURRENTRELEASEbcourt

Actions
Blocked by Pulp - Refactor #853: Create the pulp.unit_models entry pointCLOSED - CURRENTRELEASEbcourt

Actions
Blocks Pulp - Refactor #867: Update the docs for the Plugin API to use the MongoEngine modelsCLOSED - WONTFIX

Actions
Blocks Pulp - Refactor #868: Update RepoUnitAssociationManager.associate_from_repo to use MongoEngine models when possibleCLOSED - WONTFIX

Actions
Blocks Pulp - Refactor #869: convert RepoUnitAssociationManager.unassociate_by_criteria to use MongoEngine models when possibleCLOSED - WONTFIX

Actions
Blocks RPM Support - Refactor #874: Convert pulp_rpm to use MongoEngine ModelsCLOSED - CURRENTRELEASEbmbouter

Actions
Blocks Puppet Support - Refactor #875: Convert pulp_puppet to use MongoEngine modelsCLOSED - CURRENTRELEASEbmbouter

Actions
Blocks OSTree Support - Refactor #876: Convert pulp_ostree to use MongoEngine modelsCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Blocks Python Support - Refactor #877: convert pulp_python to use MongoEngine modelsCLOSED - CURRENTRELEASEmhrivnak

Actions
Blocks Debian Support - Refactor #878: Convert pulp_deb to use MongoEngine modelsCLOSED - CURRENTRELEASEmihai.ibanescu@gmail.com

Actions
Blocks Pulp - Refactor #879: Deprecate old style of working with unitsCLOSED - WONTFIX

Actions
Blocks Docker Support - Refactor #1037: Remove manual setting for repo.repo_idCLOSED - CURRENTRELEASErbarlow

Actions
Actions #1

Updated by bcourt over 9 years ago

  • Blocked by Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine Model added
Actions #2

Updated by bcourt over 9 years ago

  • Blocks Refactor #862: Add unit association and querying support to the Repository model added
Actions #3

Updated by bcourt over 9 years ago

  • Blocks deleted (Refactor #862: Add unit association and querying support to the Repository model)
Actions #4

Updated by bcourt over 9 years ago

  • Blocked by Refactor #862: Add unit association and querying support to the Repository model added
Actions #5

Updated by bcourt over 9 years ago

  • Blocked by deleted (Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine Model)
Actions #6

Updated by bcourt over 9 years ago

  • Blocked by Refactor #853: Create the pulp.unit_models entry point added
Actions #7

Updated by bcourt over 9 years ago

  • Blocks Refactor #867: Update the docs for the Plugin API to use the MongoEngine models added
Actions #8

Updated by bcourt over 9 years ago

  • Blocks Refactor #868: Update RepoUnitAssociationManager.associate_from_repo to use MongoEngine models when possible added
Actions #9

Updated by bcourt over 9 years ago

  • Blocks Refactor #869: convert RepoUnitAssociationManager.unassociate_by_criteria to use MongoEngine models when possible added
Actions #10

Updated by bcourt over 9 years ago

  • Description updated (diff)
Actions #11

Updated by bcourt over 9 years ago

  • Blocks Refactor #874: Convert pulp_rpm to use MongoEngine Models added
Actions #12

Updated by bcourt over 9 years ago

  • Blocks Refactor #875: Convert pulp_puppet to use MongoEngine models added
Actions #13

Updated by bcourt over 9 years ago

  • Blocks Refactor #876: Convert pulp_ostree to use MongoEngine models added
Actions #14

Updated by bcourt over 9 years ago

  • Blocks Refactor #877: convert pulp_python to use MongoEngine models added
Actions #15

Updated by bcourt over 9 years ago

  • Blocks Refactor #878: Convert pulp_deb to use MongoEngine models added
Actions #16

Updated by bcourt over 9 years ago

  • Blocks Refactor #879: Deprecate old style of working with units added
Actions #17

Updated by bcourt over 9 years ago

  • Blocks Story #880: Remove the types.json method of specifying models added
Actions #18

Updated by bcourt over 9 years ago

  • Blocks deleted (Story #880: Remove the types.json method of specifying models)
Actions #19

Updated by bcourt over 9 years ago

  • Project changed from Pulp to Docker Support
Actions #20

Updated by bcourt over 9 years ago

  • Priority changed from Normal to High
Actions #21

Updated by bcourt over 9 years ago

  • Sprint Candidate set to Yes
Actions #22

Updated by bmbouter over 9 years ago

  • Groomed set to No
Actions #23

Updated by mhrivnak over 9 years ago

  • Blocks Task #967: Create a "manifest" model added
Actions #24

Updated by mhrivnak over 9 years ago

  • Groomed changed from No to Yes
Actions #25

Updated by bcourt over 9 years ago

  • Status changed from NEW to POST
  • Assignee set to bcourt
  • Sprint/Milestone set to 16
  • % Done changed from 0 to 100
Actions #26

Updated by bcourt over 9 years ago

Actions #27

Updated by bcourt over 9 years ago

  • Target Release - Docker set to 1.2.0
Actions #28

Updated by mhrivnak over 9 years ago

  • Blocks deleted (Task #967: Create a "manifest" model)
Actions #29

Updated by rbarlow over 9 years ago

  • Blocks Refactor #1080: Convert the DockerManifest model to use mongoengine model added
Actions #30

Updated by bmbouter over 9 years ago

  • Blocks deleted (Refactor #1080: Convert the DockerManifest model to use mongoengine model)
Actions #31

Updated by bcourt over 9 years ago

  • Status changed from POST to MODIFIED
Actions #32

Updated by rbarlow about 9 years ago

  • Has duplicate Refactor #1080: Convert the DockerManifest model to use mongoengine model added
Actions #33

Updated by rbarlow about 9 years ago

  • Status changed from MODIFIED to ASSIGNED
  • Assignee changed from bcourt to rbarlow
  • Sprint/Milestone deleted (16)
  • % Done changed from 100 to 0
  • Target Release - Docker changed from 1.2.0 to master
Actions #34

Updated by rbarlow about 9 years ago

  • Blocks Task #1368: Include Pulp in the Fedora Project added
Actions #35

Updated by rbarlow about 9 years ago

  • Target Release - Docker changed from master to 2.0.0

Added by rbarlow almost 9 years ago

Revision 89b89359 | View on GitHub

Allow developers to override the GetLocalUnitsStep's available_units.

Some types are a mixture of Units and Metadata, and need to be treated separately. The GetLocalUnitsStep did not allow developers to specify what data structure would contain the iterable of available Units. This commit adds the ability for developers to give a pointer to that data structure while maintaining the previous behavior if it is not specified for backwards compatibility.

This is needed for the Docker plugin Mongoengine conversion as it reduces the number of steps that are needed in its importer's code.

https://pulp.plan.io/issues/863

re #863

Added by rbarlow almost 9 years ago

Revision 89b89359 | View on GitHub

Allow developers to override the GetLocalUnitsStep's available_units.

Some types are a mixture of Units and Metadata, and need to be treated separately. The GetLocalUnitsStep did not allow developers to specify what data structure would contain the iterable of available Units. This commit adds the ability for developers to give a pointer to that data structure while maintaining the previous behavior if it is not specified for backwards compatibility.

This is needed for the Docker plugin Mongoengine conversion as it reduces the number of steps that are needed in its importer's code.

https://pulp.plan.io/issues/863

re #863

Actions #36

Updated by rbarlow almost 9 years ago

  • Status changed from ASSIGNED to POST

Added by rbarlow almost 9 years ago

Revision 0b218b99 | View on GitHub

Convert the plugin to use mongoengine models.

https://pulp.plan.io/issues/863

closes #863

Added by rbarlow almost 9 years ago

Revision 0b218b99 | View on GitHub

Convert the plugin to use mongoengine models.

https://pulp.plan.io/issues/863

closes #863

Added by rbarlow almost 9 years ago

Revision 0b218b99 | View on GitHub

Convert the plugin to use mongoengine models.

https://pulp.plan.io/issues/863

closes #863

Added by rbarlow almost 9 years ago

Revision 0b218b99 | View on GitHub

Convert the plugin to use mongoengine models.

https://pulp.plan.io/issues/863

closes #863

Actions #37

Updated by rbarlow almost 9 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #38

Updated by rbarlow almost 9 years ago

  • Blocks deleted (Task #1368: Include Pulp in the Fedora Project)
Actions #39

Updated by rbarlow almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #40

Updated by rbarlow over 8 years ago

  • Status changed from 5 to 6

Docker is definitely using MongoEngine models now.

Actions #41

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #43

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF