Project

Profile

Help

Task #1240

Refactor #765: Convert Pulp to use MongoEngine

Remove non-mongoengine unit codepaths from platform

Added by bmbouter about 5 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Throughout the platform code there are several "if mongoengine do X otherwise do Y" when dealing with unit types. This preserves old-style support while allowing unit types to be converted to the new style. Once all plugins are converted and the old style becomes invalid, the platform code needs to be updated to remove the old-style codepaths. This task tracks that work and should be updated with notes about how to find these types of things in the codebase.

- Places where a unit type check is done against plugin_api.list_unit_models, like this one.

- branch points based on type_def like this one

History

#1 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 1 year 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.

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF