-
Notifications
You must be signed in to change notification settings - Fork 621
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
Include GA4GH support into the standalone binary (make pack) #1666
Include GA4GH support into the standalone binary (make pack) #1666
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, however, the GA4GH module adds some extra dependencies we don't want to include the distribution.
What could be done is to create a separate Gradle target to build GA4GH distribution package.
OK, thanks for letting me know! I suspected there was a reason it wasn't included, just didn't know why exactly. If you don't mind keeping this PR open for a day or two, I'll look into it and reimplement as a separate Gradle target |
No hurry |
When I tried building a modified Nextflow version, I noticed that the standalone binary generated by `make pack` command works fine but does not include support for GA4GH/TES functionality. This PR fixes it. Signed-off-by: Kirill Tsukanov <[email protected]>
Signed-off-by: Kirill Tsukanov <[email protected]>
Signed-off-by: Kirill Tsukanov <[email protected]>
Signed-off-by: Kirill Tsukanov <[email protected]>
a69fd19
to
ef3c658
Compare
@pditommaso I implemented the changes which we discussed (sorry it took me twenty days instead of two!) — now GA4GH support is not included in the self-contained binary by default. There is a separate make target for it, and inside Gradle it is controlled via an optional project property. I think it's less cumbersome than including a whole new Gradle target, which would inevitably cause some significant code duplication. I additionally tested that Please let me know what you think. |
P. S. On my system, the size of binaries is:
So the size increase when including GA4GH support seems to be minimal. So, out of curiosity, what is the reason for not including it by default? Are some of the dependencies which GA4GH support brings along unstable, or are there e.g. some license limitations? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks a reasonable solution. The reason to not include the all package is that this feature is still experimental. We may reconsider once it's become mature enough.
When I tried building a modified Nextflow version, I noticed that the standalone binary generated by
make pack
command works fine but does not include support for GA4GH/TES functionality. This PR fixes it.Signed-off-by: Kirill Tsukanov [email protected]