-
Notifications
You must be signed in to change notification settings - Fork 5
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
Consider migrating python scripts & modules to separate repo #1754
Comments
Sounds sensible. We should also be able to build CTP into .Net code the way we do with NER in IsIdentifiable and either integrate it or have it a standalone Linux+Windows binary, rather than needing a JRE provided separately. |
It's a shame the CI doesn't work like a Makefile and only build things that have changed! Yes, I've been meaning to restructure the repos
I must admit there's a certain consistency to keeping some things inside the SmiServices repo, especially if some of the library or tools depend on other APIs for example rabbit messages or yaml configs or logging or filesystem layout. However that might not actually be the case and the two themes C# and Python do indeed move independently. I could consolidate everything from SmiServices into the StructuredReports repo? |
@howff There is an option for something like "skip CI if only *.cs files have changed", usually used to ignore *.md changes so documentation updates don't trigger full CI runs. I think I like the idea of moving everything that isn't part of the |
|
This is an option, but it feels quite brittle when I've done it in the past and still doesn't allow the different products to be tagged/released under different version schemes. We should decouple them so they can evolve independently. Consolidating everything into the StructuredReports repo is probably a sensible choice. If we want further separation we could split this into a reusable (pip-installable) library module and the various applications, but not sure there's as clear a motivation for that. Happy for you to guide on this, Andrew. |
ok I've copied the two paths (above) into the StructuredReports repo. I've also done some work there and in the semehr repo to simplify the scripts. They could do with having the CI stuff you've done in SmiServices ported into them. |
I can take a look at porting the CI bits tomorrow, if you want? |
These are updated independently to the rest of the repo, but have to pass the same relatively long CI checks and must be released along with the main codebase. We should consider whether this is sensible to maintain, or if it would simplify version changes and releases to migrate them to another (new?) repo.
We'll also (hopefully) soon be dropping the Java CTP service from this repo in favour of running ctp-anon-cli through the C# service wrapper (via #1679). After this it will just be the c# services and python modules remaining.
Thoughts @howff ?
The text was updated successfully, but these errors were encountered: