makes some field optional in the nickel #30
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://nickel-lang.org/user-manual/syntax#metadata
I suppose we could set the "doi" and "comment" sections to optional. Are you thinking of another section?
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
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.