# mpypublish This tool updates existing software publications in the [Rossendorf Data Repository](https://rodare.hzdr.de) (Rodare) with metadata from [`codemeta.json`](https://codemeta.github.io) or [`CITATION.cff`](https://citation-file-format.github.io) 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 ```bash mpypublish [options] ``` ## Examples To use the tool you need access to [Rossendorf Data Repository](https://rodare.hzdr.de) (Rodare) and a valid TOKEN which allows you to use the API. ### Publish from CITATION.cff ```bash 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 ```bash 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 ```bash 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 ```