Add the plugin nf-dotenv from @fulcrumgenomics #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Nextflow community and Seqera!
I've written a small plugin that helps in complex containerized Nextflow projects where a GitHub repository may be orchestrated (build and publish) with Docker Compose and all container version labels are stored in the dotenv file (relevant Docker Compose docs).
To reduce duplication of setting container versions in both a dotenv file and also again in Nextflow configuration (and risk them going out of sync), this plugin can be used to automatically pull those versions from the dotenv file into the Nextflow scope using an importable function.
The upstream repository is here:
This is my first time writing a plugin and seeking inclusion into the plugin registry; please let me know if I've missed a step or need to edit the submission!
I added a mini "real world example" on why you might use this plugin in the docs:
Thank you for your time in reviewing this request!