3. Notebooks category. At the moment only Jupyter notebooks are supported.
- Add `jupyter-notebook` as keyword if you project is based on or contains jupyter notebooks
- Do not add anything otherwise
The reason to add the above keywords is just for classification and findability purposes in the OSSR (the
[ESCAPE2020 Zenodo community](https://zenodo.org/communities/escape2020) by other services such as the ESFRI Science Analysis Platform.
## Create a Zenodo metadata file from the a CodeMeta schema file
The zenodo repository does not accept codemeta metadata files yet. In the meanwhile, the [codemeta2zenodo library](https://gitlab.in2p3.fr/escape2020/wp3/codemeta2zenodo)
The zenodo repository does not accept codemeta metadata files yet. Meanwhile, the [codemeta2zenodo library](https://gitlab.in2p3.fr/escape2020/wp3/codemeta2zenodo)
provides a simple tool to create a native Zenodo metadata file (`.zenodo.json`) from a `codemeta.json` file. To do so;
**PLEASE NOTE THAT THIS STAGE IT IS NOT COMPULSORY (it is done automatically when uploading an entry to Zenodo using the ZenodCI package)**
1. Include a `codemeta.json` file to the root directory of your project.
2. Install the `codemeta2zenodo` package;
```bash
...
...
@@ -47,9 +78,18 @@ provides a simple tool to create a native Zenodo metadata file (`.zenodo.json`)
$ codemeta2zenodo --codemeta_file codemeta.json
```
Also, you can check and use the [**online codemeta2zenodo**](https://escape2020.pages.in2p3.fr/wp3/codemeta2zenodo/codemeta2zenodo.html)
converter, based in the same library.
In case of doubts or problems, please [contact us](mailto:vuillaume@lapp.in2p3.fr;garcia@lapp.in2p3.fr).
**THIS STAGE IS RECOMMENDED, BUT NOT COMPULSORY FOR THE OSSR ONBOARDING.**
- If you have linked your GitLab project with Zenodo using the autonomous procedure that [we propose](
https://escape2020.pages.in2p3.fr/wp3/ossr-pages/page/contribute/publish_in_repository/), this stage will be done automatically.
- If you are providing software via GitHub - and/or its [autonomous procedure](https://guides.github.com/activities/citable-code/) -,
this stage is not mandatory (but still recommended). GitHub will take care of fetching the metadata from the project directly.
## Metadata schema templates
Inside the `codemeta_utils` directory you will find two template files with **the all the properties (terms) of the corresponding metadata schema context**
...
...
@@ -78,35 +118,14 @@ For this purpose, and following the [CodeMeta's developer guide](https://codemet
3. Contact us for a likely implementation into the OSSR environment ;-)
## Automate the metadata schema in the OSSR environment.
The `ZenodoCI` project contains a copy of the code in this library !
-----------------
-----------------
This means that if you have already configured the GitLabCI pipeline together with the Zenodo repository, the CI
pipeline will take care of creating a `.zenodo.json` file automatically and incorporate it to the new upload/new
version to Zenodo.
## Keywords list
### How to automatise the upload of a GitLab project to Zenodo via the GitLab-CI
Please restrict the list of keywords within the `codemeta.json` file to the following.
- Add a `codemeta.js` file to your repository.
- Link your GitLab project and your Zenodo accounts.
- Add the following code snippet (Section 3. of the detailed tutorial) to the `.gitlab-ci.yml` file of your project and let the pipeline work !
- Check the [detailed tutorial](https://escape2020.pages.in2p3.fr/wp3/ossr-pages/page/contribute/publish_tutorial/) for more details.