mpypublish

This tool updates existing software publications in the Rossendorf Data Repository (Rodare) with metadata from codemeta.json or CITATION.cff files, uploads new release files and publishes a new record.

The publication process:

  • Reads metadata from codemeta.json or CITATION.cff

  • Updates existing Rodare deposition with new metadata

  • Uploads release files (source code, binaries, documentation)

  • Updates version information

  • Integrates with Robis publication database for cross-referencing

Usage

mpypublish [options]

Examples

To use the tool you need access to Rossendorf Data Repository (Rodare) and a valid TOKEN which allows you to use the API.

Publish from CITATION.cff

mpypublish \
  --id 12345 \
  --pubid 67890 \
  --url https://rodare.hzdr.de/api \
  --token $RODARE_TOKEN \
  --meta CITATION.cff \
  --files release.tar.gz

Publish from codemeta.json

mpypublish \
  --id 12345 \
  --pubid 67890 \
  --url https://rodare.hzdr.de/api \
  --token $RODARE_TOKEN \
  --meta codemeta.json \
  --files software-v1.0.0.zip

Override Version Number

mpypublish \
  --id 12345 \
  --pubid 67890 \
  --url https://rodare.hzdr.de/api \
  --token $RODARE_TOKEN \
  --meta CITATION.cff \
  --files release.tar.gz \
  --pkgversion 2.1.5