Document and refactor depsolving code
Most of it is poorly documented, and poorly adheres to separation of concerns, which makes it difficult to maintain, and difficult to understand, and will make it difficult to port over to Pulp 3 later on.
Added by dalley over 4 years ago
Refactoring for code clarity
This code is very difficult to follow. Here are some improvements that make it more comprehensible.
- Add docstrings
- Rename functions to have more descriptive names
- Turn methods that do not need to be methods into functions
- Separate the concerns of performing depsolving and loading data from the database