eossr issueshttps://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues2022-03-01T12:19:38+01:00https://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/72Use `codeRepository` (code)metadata to fill `related identifier` in Zenodo me...2022-03-01T12:19:38+01:00VuillaumeUse `codeRepository` (code)metadata to fill `related identifier` in Zenodo metadata during crosswalkeOSSR v0.4Enrique GarciaEnrique Garciahttps://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/56Improve zip_directory2022-02-17T15:58:54+01:00Enrique GarciaImprove zip_directoryThe way we are zipping the repository to upload it to the OSSR (`zip_reposisoty` in `utils.py`) is not very clean. We are making a copy of the dir and zipping it.
Possible improvement; add a exclude dir starting from source code of `shu...The way we are zipping the repository to upload it to the OSSR (`zip_reposisoty` in `utils.py`) is not very clean. We are making a copy of the dir and zipping it.
Possible improvement; add a exclude dir starting from source code of `shutil.make_archive`
https://github.com/python/cpython/blob/81520fe677d15cc7f9af5140bc5f9eca8409ad90/Lib/shutil.py#L946Single archive in recordshttps://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/53Check that zenodo metadata are valid when init a Record2021-10-18T22:35:50+02:00VuillaumeCheck that zenodo metadata are valid when init a Record## Bug description and behavior
At the moment there are almost no check on the metadata schema passed to init a `Record`
## Steps to reproduce
Only a dict with `metadata` and `id` keys must be passed:
```
Record(dict('metadata':{}...## Bug description and behavior
At the moment there are almost no check on the metadata schema passed to init a `Record`
## Steps to reproduce
Only a dict with `metadata` and `id` keys must be passed:
```
Record(dict('metadata':{}, 'id': 1))
```
is ok
## Expected behavior?
```
Record(dict('metadata':{}, 'id': 1))
```
should raise a `ValueError`
## Possible fixes
- Check that the dict passed follows Zenodo metadata schema by loading the `schema/.zenodo.json`
- Check values too?https://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/6online metadata validator2022-02-01T16:22:49+01:00Vuillaumeonline metadata validatordupicate of https://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/71dupicate of https://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/71https://gitlab.in2p3.fr/escape2020/wp3/eossr/-/issues/5online metadata generator2022-02-08T12:27:17+01:00Vuillaumeonline metadata generatorSprint: Codemeta checker