Ensure the independence of subpackages
Bug #1370312 reported by
Michele Simionato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
Low
|
Michele Simionato |
Bug Description
Let me explain the issue with an example. The oq-engine repository contains two subpackages: openquake.engine and openquake.server. It was obtained by merging the repository with the engine server inside the engine repository. This is good because the server stricty depends on the engine. However, we do not want the engine to depend on the server. Then it would be nice to have a test checking that no module in the openquake.engine subpackage imports the openquake.server subpackage. That would protect against future refactorings introducing unwanted coupling.
Changed in oq-engine: | |
status: | In Progress → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/gem/ oq-commonlib/ pull/38