mozillascience / code-research-object

Project between GitHub, figshare and Mozilla Science Lab.
https://mozillascience.github.io/code-research-object/
67 stars 8 forks source link

Read information from language-specific package description files #9

Open hubgit opened 10 years ago

hubgit commented 10 years ago

See the wiki for a summary of the main package description formats.

If a package description file already exists in the repository, read information from there.

Examples: package.json (node), bower.json (web), composer.json (PHP), META.json (Perl), DESCRIPTION (R), etc…

robldavidson commented 10 years ago

Sounds like a good idea. Would also be good to create a universal format for anyone working in a non-standard language. That could simply be the common subset of essential fields from all those formats listed in your link. At best, it would encourage uniformity across languages and allow new developers to learn about one package description format that would apply to any language they ended up using.

hubgit commented 10 years ago

https://xkcd.com/927/

robldavidson commented 10 years ago

Ha. Point well made.

hubgit commented 10 years ago

There's a related thread in the json-ld.js issue tracker about adding JSON-LD context file to a package.json file.