Project

Profile

Help

Task #1240

closed

Refactor #765: Convert Pulp to use MongoEngine

Remove non-mongoengine unit codepaths from platform

Added by bmbouter over 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
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

Actions #1

Updated by bmbouter almost 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #2

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

Actions #3

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF