Refactor #765: Convert Pulp to use MongoEngine
Update RepoUnitAssociationManager.associate_from_repo to use MongoEngine models when possible
In RepoUnitAssociationManager.associate_from_repo Add a switch that checks if all of the types on the source and target repo have been converted to models then call branch to a new call the uses the MongoEngine repository models to perform the associate and then calls the importer with the repo_content_unit objects
- A working version of associate_from_repo that will use either AssociatedUnits or MongoEngine models if all units within a repo support ME models
- This can be tested with pulp_docker
Updated by bmbouter over 3 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.