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
14 changes: 11 additions & 3 deletions types/conda-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,44 @@
"default_repository_url": "https://repo.anaconda.com"
},
"namespace_definition": {
"note": "there is no namspace",
"note": "There is no namespace for Conda packages.",
"requirement": "prohibited"
},
"name_definition": {
"requirement": "required",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would it mean for a package to not have a name? What meaning could that PURL provide?

"native_name": "name",
"note": "The name is the package name."
},
"version_definition": {
"requirement": "required",
"native_name": "version",
"note": "The version is the package version."
},
"qualifiers_definition": [
{
"key": "build",
"requirement": "optional",
"description": "the build string."
},
{
"key": "channel",
"requirement": "optional",
"description": "the package stored location."
},
{
"key": "subdir",
"requirement": "optional",
"description": "the associated platform."
},
{
"key": "type",
"requirement": "optional",
"description": "package type."
}
],
"examples": [
"pkg:conda/[email protected]?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2"
"pkg:conda/[email protected]?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
"pkg:conda/[email protected]?subdir=linux-64",
"pkg:conda/[email protected]?build=h70747c6_1&channel=defaults&subdir=osx-64"
]
}
}