Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for VSM. #155

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Changes from 9 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: 25 additions & 14 deletions PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,19 @@ bitnami
pkg:bitnami/[email protected]?arch=arm64&distro=debian-12
pkg:bitnami/[email protected]?arch=arm64&distro=photon-4

cargo
jkowalleck marked this conversation as resolved.
Show resolved Hide resolved
-----
``cargo`` for Rust:

- The default repository is ``https://crates.io/``.
- The ``name`` is the repository name.
- The ``version`` is the package version.
- Examples::

pkg:cargo/[email protected]
pkg:cargo/[email protected]
pkg:cargo/[email protected]

cocoapods
gfs marked this conversation as resolved.
Show resolved Hide resolved
---------
``cocoapods`` for CocoaPods:
Expand All @@ -104,19 +117,6 @@ cocoapods
pkg:cocoapods/[email protected]#Twitter
pkg:cocoapods/[email protected]#NSData+zlib

cargo
-----
``cargo`` for Rust:

- The default repository is ``https://crates.io/``.
- The ``name`` is the repository name.
- The ``version`` is the package version.
- Examples::

pkg:cargo/[email protected]
pkg:cargo/[email protected]
pkg:cargo/[email protected]

composer
--------
``composer`` for Composer PHP packages:
Expand Down Expand Up @@ -176,7 +176,6 @@ cpan
- The ``namespace``:
- To refer to a CPAN distribution name, the ``namespace`` MUST be present. In this case, the namespace is the CPAN id of the author/publisher. It MUST be written uppercase, followed by the distribution name in the ``name`` component. A distribution name may NEVER contain the string ``::``.
- To refer to a CPAN module, the ``namespace`` MUST be absent. The module name MAY contain zero or more ``::`` strings, and the module name MUST NOT contain a ``-``

- The ``name`` is the module or distribution name and is case sensitive.
- The ``version`` is the module or distribution version.
- Optional qualifiers may include:
Expand Down Expand Up @@ -579,6 +578,18 @@ swift
pkg:swift/github.com/Alamofire/[email protected]
pkg:swift/github.com/RxSwiftCommunity/[email protected]

vsm
jkowalleck marked this conversation as resolved.
Show resolved Hide resolved
---
``vsm`` for Visual Studio Marketplace packages:

- The default repository is: https://marketplace.visualstudio.com
- The ``namespace`` is the organization and is case-sensitive.
- The ``name`` is the package name and is case-sensitive.
- The ``version`` is the package version.
- Examples::

pkg:vsm/ms-vscode/[email protected]

Other candidate types to define:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down