Jurriaan H. Spaaks
Jurriaan H. Spaaks
Given the following `CITATION.cff` contents ```yaml authors: - name: Team cff-version: 1.2.0 title: Title message: message ``` converting to schema.org with `cffconvert -f schema.org` yields: ```json { "@context": "https://schema.org", "@type":...
e.g. 1. contracts 2. state pattern 3. key based behavior switching 4. fixture magic 5. `_behaviors`
currently the authors are concatenated using `', '`. It would be nice to have the last two authors be concatenated with the word `and`. Additionally, if there are more than...
some export formats may need a check on non-empty list of authors, similar to apalike: https://github.com/citation-file-format/cff-converter-python/blob/e729c59c8fffe4394b075f3e4c1922f9a5c29516/cffconvert/behavior_1_2_x/apalike/apalike.py#L18-L19
![image](https://user-images.githubusercontent.com/4558105/132522273-602bc1ce-4aca-42b7-8368-b0df583ce52d.png)
wrt to: - unittest.TestCase - fixtures - pytest - fetching from different github urls
I may have an issue regarding licenses with converting from cff to zenodo. Both use a restricted vocabulary/enums for the license value, but cff uses SPDX while zenodo.json uses https://licenses.opendefinition.org/licenses/groups/all.json...
As an alternative to #60, we could give the user the option to only store the top x results and discard the rest.