Skip to content

FR: pre-fill publication metadata "date" and "version" fields

(follow-up for #15 (closed), !47 (merged))

I got the facile-rs CI setup working, it's creating a draft for a new release with the metadata of the previous release, and updates my codemeta.json file with the new DOI. This is great. Where I see possibilities to make this even more convenient /wrt metadata are the following:

Date. I have to enter a date for publication. This is OK I guess but why not pre-fill this field with the current date? I'd expect this to be what a user normally wants, at least for me this is true.

Version. I have to enter this manually as well. This shouldn't be the case since the new version number is clear from the git tag.

Both would currently require editing the zenodo metadata json I think; if I'm not mistaken the date would come pre-filled if you use a POST to /api/deposit/depositions/{existing_deposition_id}/actions/newversion to create the new version.