makes some field optional in the nickel #30

Closed
opened 2024-08-01 17:47:30 +02:00 by GuilloteauQ · 3 comments
Owner
https://nickel-lang.org/user-manual/syntax#metadata
Collaborator

I suppose we could set the "doi" and "comment" sections to optional. Are you thinking of another section?

I suppose we could set the "doi" and "comment" sections to optional. Are you thinking of another section?
Author
Owner

doi must stay mandatory.

What i have in mind:

Mandatory:
artifact_url
type
doi

Optional with a default value:
version (default = "1.0")
comment (default = "")
git_packages (default = [])
misc_packages (default = [ ])
python_venvs (default = [])

Unclear if it should be mandatory or optional with a default value:
package_managers

doi must stay mandatory. What i have in mind: Mandatory: artifact_url type doi Optional with a default value: version (default = "1.0") comment (default = "") git_packages (default = []) misc_packages (default = [ ]) python_venvs (default = []) Unclear if it should be mandatory or optional with a default value: package_managers
Collaborator

Okay, I see better now, we could set a default value.

Package managers could be optional, with a default value of [], imo, because there could be evil Dockerfiles that only use Git/Misc packages and no package manager.

Okay, I see better now, we could set a default value. Package managers could be optional, with a default value of [], imo, because there could be evil Dockerfiles that only use Git/Misc packages and no package manager.
antux18 added the
Kind/Enhancement
Priority
Low
labels 2024-08-05 16:02:41 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: GuilloteauQ/study-docker-repro-longevity#30
No description provided.