Refactor #863
closedPulp - 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.
100%
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
Updated by bcourt over 9 years ago
- Blocked by Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine Model added
Updated by bcourt over 9 years ago
- Blocks Refactor #862: Add unit association and querying support to the Repository model added
Updated by bcourt over 9 years ago
- Blocks deleted (Refactor #862: Add unit association and querying support to the Repository model)
Updated by bcourt over 9 years ago
- Blocked by Refactor #862: Add unit association and querying support to the Repository model added
Updated by bcourt over 9 years ago
- Blocked by deleted (Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine Model)
Updated by bcourt over 9 years ago
- Blocked by Refactor #853: Create the pulp.unit_models entry point added
Updated by bcourt over 9 years ago
- Blocks Refactor #867: Update the docs for the Plugin API to use the MongoEngine models added
Updated by bcourt over 9 years ago
- Blocks Refactor #868: Update RepoUnitAssociationManager.associate_from_repo to use MongoEngine models when possible added
Updated by bcourt over 9 years ago
- Blocks Refactor #869: convert RepoUnitAssociationManager.unassociate_by_criteria to use MongoEngine models when possible added
Updated by bcourt over 9 years ago
- Blocks Refactor #874: Convert pulp_rpm to use MongoEngine Models added
Updated by bcourt over 9 years ago
- Blocks Refactor #875: Convert pulp_puppet to use MongoEngine models added
Updated by bcourt over 9 years ago
- Blocks Refactor #876: Convert pulp_ostree to use MongoEngine models added
Updated by bcourt over 9 years ago
- Blocks Refactor #877: convert pulp_python to use MongoEngine models added
Updated by bcourt over 9 years ago
- Blocks Refactor #878: Convert pulp_deb to use MongoEngine models added
Updated by bcourt over 9 years ago
- Blocks Refactor #879: Deprecate old style of working with units added
Updated by bcourt over 9 years ago
- Blocks Story #880: Remove the types.json method of specifying models added
Updated by bcourt over 9 years ago
- Blocks deleted (Story #880: Remove the types.json method of specifying models)
Updated by mhrivnak over 9 years ago
- Blocks Task #967: Create a "manifest" model added
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
Updated by bcourt over 9 years ago
- Blocks Refactor #1037: Remove manual setting for repo.repo_id added
Updated by mhrivnak over 9 years ago
- Blocks deleted (Task #967: Create a "manifest" model)
Updated by rbarlow over 9 years ago
- Blocks Refactor #1080: Convert the DockerManifest model to use mongoengine model added
Updated by bmbouter over 9 years ago
- Blocks deleted (Refactor #1080: Convert the DockerManifest model to use mongoengine model)
Updated by rbarlow about 9 years ago
- Has duplicate Refactor #1080: Convert the DockerManifest model to use mongoengine model added
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
Updated by rbarlow about 9 years ago
- Blocks Task #1368: Include Pulp in the Fedora Project added
Updated by rbarlow about 9 years ago
- Target Release - Docker changed from master to 2.0.0
Added by rbarlow almost 9 years ago
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
Updated by rbarlow almost 9 years ago
- Status changed from ASSIGNED to POST
Added by rbarlow almost 9 years ago
Added by rbarlow almost 9 years ago
Added by rbarlow almost 9 years ago
Added by rbarlow almost 9 years ago
Updated by rbarlow almost 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 0b218b99221e56c2d8c668755902e6b3c517868d.
Updated by rbarlow almost 9 years ago
- Blocks deleted (Task #1368: Include Pulp in the Fedora Project)
Updated by rbarlow over 8 years ago
- Status changed from 5 to 6
Docker is definitely using MongoEngine models now.
Updated by dkliban@redhat.com over 8 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
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