-
Notifications
You must be signed in to change notification settings - Fork 3
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
Packaging of minimal ODK (run.sh
) in non-ODK-templated repos
#446
Comments
@matentzn @twhetzel @hrshdhgd @souzadevinicius if you guys have any thoughts. |
We have someone working on a binary runner for ODK as well. In the meantime, I suggest the following:
I am not diamterically opposed to a simple python utility called
I would support you in this endeavour. (please dont start coding yet - I want to make sure you use the right monarch cookie cutters and style guides etc to set up the project). |
Just a note, that the |
This is because ODK based run.sh files bind the directory two levels up as a volume rather than the one you are in right now (this is because the Makefile is in src/ontology). In repos where the Makefile is at the top level, you dont need that. But maybe for most repos, this is overkill, just use the more simple version that already exists. Thanks for checking! |
I figured that was the case. I tried tweaking a little but still couldn't get to work. Good to know the older version of the file is fine. |
Overview
In some of our repos, e.g. ICD11Foundation and MedGen, we use the ODK container to run things, but I do not think these repos are so reliant on ODK that they justify utilizing the full ODK directory structure template.
Current approach and problems
For the aforementioned repos, I've committed a static copy of
run.sh
. However this is problematic because it conflates ODK code (run.sh
) with the code for that repository. It also is difficult to tell what version of ODK thatrun.sh
applies to, and it doesn't lend well to changing/upgrading the ODK version.Possible solutions
I suggest wrapping
run.sh
in a package that can be installed via some package manager. For now, I'm suggesting Python and PyPI.Related
run.sh
medgen#17The text was updated successfully, but these errors were encountered: