Translate from pom.xml and codemeta.json.
Also changes slightly the output format to provide a @type and make it more compact.
Resolves #1289 (closed).
Test Plan
tox
Migrated from D620 (view on Phabricator)
Merge request reports
Activity
mentioned in commit 0a491f8d
Add README or CITATION to data directory with the following: Matthew B. Jones, Carl Boettiger, Abby Cabunoc Mayes, Arfon Smith, Peter Slaughter, Kyle Niemeyer, Yolanda Gil, Martin Fenner, Krzysztof Nowak, Mark Hahnel, Luke Coy, Alice Allen, Mercè Crosas, Ashley Sands, Neil Chue Hong, Patricia Cruse, Daniel S. Katz, Carole Goble. 2017. CodeMeta: an exchange schema for software metadata. Version 2.0. KNB Data Repository. doi:10.5063/schema/codemeta-2.0 swh:1:dir:39c509fd2002f9e531fb4b3a321ceb5e6994e54a;origin=https://github.com/codemeta/codemeta
There is no test a case of a revision with multiple 'metadata files' which is an intriguing case - this should be tested before accepting this diff.
Global comments that are not parts of this diff:
- in the revision_metadata output there isn't a list of file ids used for the translation, do we want to keep it?
- I would suggest before continuing to the next vocabulary, adding to the detected files list the AUTHOR/AUTHORS/CONTRIBUTORS file to keep in the authors property.
- Other ideas would be :
- detecting LICENSE/ COPYING/... and using the result of the fossology_license indexer
- detecting README and using a fixed portion of it in the description property
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/4/ See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/4/console
Build is green See https://jenkins.softwareheritage.org/job/DCIDX/job/tox/8/ for more details.
mentioned in merge request !29 (closed)
mentioned in merge request !31 (closed)
Some references in the commit message have been migrated:
- T1289 is now #1289 (closed)
- T1289 is now #1289 (closed)
- D620 is now !32 (closed)