Skip to content
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

Add manifest.contributors config option #5322

Merged
merged 8 commits into from
Oct 18, 2024

Conversation

bentsherman
Copy link
Member

Close #4034

Deprecate manifest.author, remove manifest.maintainer from #5314 , and add manifest.contributors which is a list of maps. The maps are converted to records under the hood.

Contribution types include "author" and "maintainer". The BCO spec is based on PAV ontology which includes "createdBy", "authoredBy", and "curatedBy". I think we can map author -> authoredBy and maintainer -> curatedBy. Not sure that we need a "creator" option separate from "author". But this ontology seems to be the standard across multiple provenance formats.

Copy link

netlify bot commented Sep 23, 2024

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 0886273
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/67115093a121e800083fc411

docs/config.md Outdated Show resolved Hide resolved
docs/config.md Outdated Show resolved Hide resolved
Copy link
Contributor

@pinin4fjords pinin4fjords left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice flexible solution, makes sense

docs/config.md Outdated Show resolved Hide resolved
Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth to add some tests in the Tower client. This info needs likely to be collected in Platform

@bentsherman
Copy link
Member Author

@pditommaso regarding the tower client, the only touchpoint I see with the manifest config is when sending the resolved config:

workflow.configText = session.resolvedConfig

At this point the config has been rendered to a string so the Manifest class is no longer involved

@bentsherman bentsherman requested a review from pditommaso October 1, 2024 16:20
@pditommaso
Copy link
Member

I think it gets serialised with the workflow metadata here

def workflow = session.getWorkflowMetadata().toMap()

@bentsherman
Copy link
Member Author

@pditommaso thanks, I see it now

@ewels what was the rationale for the organisation option? is it still needed if the contributors can have an affiliation?

also, didn't we standardize around American English...

@ewels
Copy link
Member

ewels commented Oct 1, 2024

I guess a pipeline could have a different organisation to its contributors? Such as organisation: @nf-core

But it's a bit of a stretch, happy for that one to be dropped if it was only just added 👍🏻

US English is fine by me. Apologies if it was me who introduced that. My fingers aren't capable of following instructions on this score..

@bentsherman bentsherman added this to the 24.10.0 milestone Oct 6, 2024
@pditommaso
Copy link
Member

Looks there are failing tests, right?

Signed-off-by: Ben Sherman <[email protected]>
@pditommaso
Copy link
Member

Umm, tests are failing?

Signed-off-by: Ben Sherman <[email protected]>
@pditommaso pditommaso merged commit cf0f969 into master Oct 18, 2024
23 checks passed
@pditommaso pditommaso deleted the 4034-add-manifest-contributors branch October 18, 2024 13:07
alberto-miranda pushed a commit to alberto-miranda/nextflow that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional manifest config fields
7 participants