Page MenuHomeSoftware Heritage

Metadata Indexer for NuGet (.nuspec)
Closed, MigratedEdits Locked


An example nuget.config file:

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="">
        <authors>Kim Abercrombie, Franck Halmaert</authors>
        <description>Sample exists only to show a sample .nuspec file.</description>
        <license type="expression">MIT</license>
            <dependency id="another-package" version="3.0.0" />
            <dependency id="yet-another-package" version="1.0.0" />
        <file src="bin\Debug\*.dll" target="lib" />

In codemeta:

  "@context": "",
  "type": "SoftwareSourceCode",
  "author": [
      "type": "Person",
      "name": "Kim Abercrombie"
      "type": "Person",
      "name": "Franck Halmaert"
  "description": "Sample exists only to show a sample .nuspec file.",
  "license": "",
  "url": "",
  "version": "1.2.3"

Event Timeline

VickyMerzOwn created this task.
VickyMerzOwn created this object in space S1 Public.
vlorentz renamed this task from Metadata Indexer for NuGet (nuget.config) to Metadata Indexer for NuGet (.nuspec).Jul 20 2022, 9:35 AM

You can translate too. It's uncommon enough to be missing from Codemeta, but it doesn't mean we can't use it.

And please use to check your JSON-LD documents; there are several mistakes in your codemeta example that make it invalid. (also, because of an an issue with you need to replace with when using ; but you can ignore it otherwise)

Please keep "@context": "" though. And you can remove softwareRequirements, as it is an empty object now