Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion types/conan-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
"note": "The vendor of the package."
},
"name_definition": {
"requirement": "required",
"native_name": "package-name",
"note": "The Conan <package-name>."
},
"version_definition": {
"requirement": "required",
"native_name": "package-version",
"note": "The Conan <package-version>."
},
Expand Down Expand Up @@ -45,6 +47,41 @@
"native_name": "package revision",
"requirement": "optional",
"description": "The Conan package revision (optional). If omitted, the purl refers to the latest package revision available for the given version and recipe revision."
},
{
"key": "arch",
"requirement": "optional",
"description": "Target architecture for the package."
},
{
"key": "build_type",
"requirement": "optional",
"description": "Build type configuration."
},
{
"key": "compiler",
"requirement": "optional",
"description": "Compiler used to build the package."
},
{
"key": "compiler.version",
"requirement": "optional",
"description": "Version of the compiler."
},
{
"key": "compiler.runtime",
"requirement": "optional",
"description": "Runtime library for the compiler."
},
{
"key": "os",
"requirement": "optional",
"description": "Target operating system."
},
{
"key": "shared",
"requirement": "optional",
"description": "Whether the package is built as a shared library."
}
],
"note": "Additional qualifiers can be used to distinguish Conan packages with different settings or options, e.g. os=Linux, build_type=Debug or shared=True. If no additional qualifiers are used to distinguish Conan packages build with different settings or options, then the purl is ambiguous and it is up to the user to work out which package is being referred to (e.g. with context information).",
Expand All @@ -53,4 +90,4 @@
"pkg:conan/openssl.org/[email protected]?user=bincrafters&channel=stable",
"pkg:conan/openssl.org/[email protected]?arch=x86_64&build_type=Debug&compiler=Visual%20Studio&compiler.runtime=MDd&compiler.version=16&os=Windows&shared=True&rrev=93a82349c31917d2d674d22065c7a9ef9f380c8e&prev=b429db8a0e324114c25ec387bfd8281f330d7c5c"
]
}
}