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.
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.
Nope, this is declared as a String
nextflow/modules/nextflow/src/main/groovy/nextflow/config/Manifest.groovy
Lines 62 to 64 in 62e2604
We could use comma separate string for more than one author as for
maintainer
(map becomes a mess to handle on backend side)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.
Yup, this is following this comment: #5314 (comment) and originally #4034 (comment)
Essentially for both author and maintainer fields, I'd like to be able to optionally specify a number of fields:
..for multiple authors / maintainers.
Having this info would allow us to roll it into other provenance outputs, like BCO and RO Crate. Which would in turn give rich authorship information in downstream platforms like WorkflowHub, Seqera Pipelines, the nf-core website and more. We could also build automation to fill it from GitHub contribution statistics in @nf-core and other nice stuff.
The string is simple, but not really useful. People put all kinds of things in there in different formats and so it's impossible to use for anything downstream.
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.
This is an important deviation from what was implemented. Not sure any more all those should the manifest
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.
It is true the author is declared as a string, so we can't re-use it. We'll have to add a new field like
authors
andmaintainers
, maybe deprecate the old onesBut we really do need more detailed fields for the author list so that it can be easily mapped to provenance manifests like BCO