-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor a lot of paths to re-organize structure #295
Conversation
Codecov Report
@@ Coverage Diff @@
## master #295 +/- ##
==========================================
+ Coverage 66.48% 67.00% +0.52%
==========================================
Files 74 74
Lines 6611 6526 -85
==========================================
- Hits 4395 4373 -22
+ Misses 2216 2153 -63
Continue to review full report at Codecov.
|
Looks good to me, glad we have tests for situations like this! |
As noted in #285, updating the paths. The goal here is to better follow the overall architecture design document. Most extra lines come from newly committed lock files. We're moving to this format so that the system as a whole is more understandable as we look to finalize components of the design. Nothing has been deleted in this PR, just moved, so all existing code should still work. If you're running on this tag though and see warnings, that means you'll need to make some changes before updating to v0.3.
How to switch over?
If you're reading this, it's likely because you're about to do a bunch of find replaces in order to ensure that your code is now up to the new structure. Following this list of find-replaces will likely help. Here's a list of the changes, in order of likely relevance:
mephisto.core.local_database
is nowmephisto.abstractions.databases.local_database
mephisto.core.data_browser
is nowmephisto.tools.data_browser
mephisto.core.
is now atmephisto.operations.
mephisto.utils.scripts
is nowmephisto.tools.scripts
mephisto.data_model.database
is nowmephisto.abstractions.database
mephisto.server.blueprints.
is nowmephisto.abstractions.blueprints.
mephisto.server.architects.
is nowmephisto.abstractions.architects.
mephisto.providers.
is nowmephisto.abstractions.providers.
mephisto.data_model.assignment.Unit
has been broken out intomephisto.data_model.unit
mephisto.data_model.task.TaskRun
has been broken out intomephisto.data_model.task_run
mephisto.data_model.assignment_state
is nowmephisto.data_model.constants.assignment_state
mephisto.server.channels.channel
is nowmephisto.abstractions.channel
mephisto.server.channels.websocket_channel
is nowmephisto.abstractions.architects.channels.websocket_channel
mephisto.data_model.architect
is nowmephisto.abstractions.architect
mephisto.data_model.crowd_provider
is nowmephisto.abstractions.crowd_provider
mephisto.data_model.blueprint
is nowmephisto.abstractions.blueprint
TODO