-
Notifications
You must be signed in to change notification settings - Fork 68
make a "src/common/" directory (package?) to share between server and acquisition code #1037
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
Comments
Alternative: pull logger.py out of delphi_utils & into its own package, and include that in all three places (indicators, acquisition, server) |
following up, these two files are now essentially identical: |
& the third one: |
a big part of the problem is that the server code cant "see" the acqusisition code but the acq can see the server. the root of this lies in two different docker setups:
fixing the server docker image might (almost) be as simple as something like this...
or perhaps just:
then use environment variables a nice bonus is that i think this will also let us turn all of the relative local imports in the server code into fully qualified ones. |
in addition to the logging module[s] mentioned above, the newly extracted |
this will probably also need to include some changes to |
to promote modularity and reduce code repetition, we should create a "
./src/common/
" directory (and potentially package too). this will require some changes to our docker definitions and maybe also other parts of our build process.the first file/module to include here could be our structured logger code... see: #1027 (comment)_
The text was updated successfully, but these errors were encountered: