-
Notifications
You must be signed in to change notification settings - Fork 629
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
Additional manifest
config fields
#4034
Comments
Mmm, interesting suggestion Phil! Perhaps, it should be kept open-ended like with a P.S. |
I don't really understand how anything could (or should) populate it, other than the pipeline developers? Having a field for an arbitrary map of keys could be nice to have a flexible use case 👍🏻 However, standardisation is nice. We could add that in addition to (some of?) the suggested keys above. |
I was just wondering that since there are some Git related fields within manifest {
homePage = 'http://foo.com'
description = 'Pipeline does this and that'
.. existing fields...
meta {
documentationUrl = "https://doc.pipeline.com"
license = "MIT"
researchGroup = "some specific research group"
...arbitrary fields ...
}
}
Also the idea regarding open-ended metadata stems from #2723, which might result in a config which is interchangeable with the JSON format. |
Ah ok. Following that thread, it might make sense to move all descriptive fields (including current) to a manifest {
defaultBranch
recurseSubmodules
mainScript
name
nextflowVersion
version
meta {
author
description
doi
homePage
docsURL
iconURL
icon
organisation
license
}
} eg. depreciate |
Ideally it'd make sense yes, since there is specific information in those fields which is natively used by NF (git related things) and others are there only for annotating the pipeline metadata which authors could change without any crucial change in the pipeline logic itself. However, for backward friendliness it might cause problems to remove the existing pipeline meta information. Just wanted to highlight a possible pathway here 😊 |
I think deprecating the old ones and leaving them there for a version or two is probably ok. Like you say, we hopefully have a new config coming one day anyway.. 🤷🏻♂️ |
I recommend adding the following fields based on my experience with the prov formats:
|
Good idea with the author map 👍🏻 |
+1, and can we have manifest.maintainer, please? To note currently responsible parties as distinct from original authors. |
For maintainers (and maybe others), I think the CRAN R package manifests are a good guide, particularly when it comes to author/maintainer/contributors, e.g. for dplyr: |
it makes sense to include this into |
Discussing this, it looks there consensus to move the new fields into
|
Yup - adding an extra, plus some notes based on the discussion above: manifest {
author // String or an array of maps. Maps can contain orcid etc - see comment above
maintainer // Same as above, new field
description
doi
homePage
docsUrl
icon
organisation
license
} [Edit]: Updated to remove |
What's |
We talked, we can use |
Should maybe call it |
@jorgee this is the class involved |
When running |
That's reasonable but let's keep outside the scope of this issue. |
Let's extend the author to use the following data structure
and deprecate the current The require fields are:
|
Rather than having both |
BCO models authors and maintainers as a single list of "contributors" with a contribution type: "contributors": [
{
"name": "Charles Hadley King",
"affiliation": "George Washington University",
"email": "hadley_king@gwu.edu",
"contribution": ["createdBy", "curatedBy"],
"orcid": "https://orcid.org/0000-0003-1409-4549"
},
{
"name": "Eric Donaldson",
"affiliation": "FDA",
"email": "Eric.Donaldson@fda.hhs.gov",
"contribution": ["authoredBy"]
}
] |
It would be great to have a few new
manifest
config variables to help describe pipelines:The text was updated successfully, but these errors were encountered: