Skip to content

Commit

Permalink
added spec for opkg PURL type
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivia Lucca Fraser committed Dec 1, 2023
1 parent f729aec commit 1cc8ab7
Showing 1 changed file with 31 additions and 15 deletions.
46 changes: 31 additions & 15 deletions PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -397,20 +397,6 @@ nuget

pkg:nuget/[email protected]

qpkg
----
``qpkg`` for QNX packages:

- There is no default package repository: this should be implied either from
the ``namespace`` or using a repository base URL as ``repository_url``
qualifiers key.
- The ``namespace`` is the vendor of the package. It is not case sensitive and must be
lowercased.
- Examples::

pkg:qpkg/blackberry/[email protected]
pkg:qpkg/blackberry/[email protected]

oci
------------
``oci`` for all artifacts stored in registries that conform to the
Expand Down Expand Up @@ -441,6 +427,23 @@ including container images built by Docker and others:
pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest
pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1

opkg
----

``opkg`` for OpenWrt and Entware packages:

- There is no default repository. This should be implied by the ``namespace`` together with the ``repo`` and ``arch`` qualifiers.
- The ``namespace`` is the vendor of the package, such as ``openwrt`` or ``entware``. It is not case sensitive and must be
lowercased.
- The ``set`` qualifier should be used to designate the collection of packages from which the package in question is drawn, such as ``base``, ``community-packages``, ``luci``, ``routing``, or ``telephony``. (OpenWrt refers to this as the package's "repository".)
- The ``name`` is the name of the package. It is case sensitive.
- The ``version`` is the version of the package. It is case sensitive.
- The ``arch`` is the architecture for which the package is built. It is case sensitive.
- Examples::

pkg:opkg/openwrt/[email protected]?arch=mipsel_74kc&set=telephony
pkg:opkg/openwrt/[email protected]?arch=powerpc&set=base

pub
----
``pub`` for Dart and Flutter packages:
Expand All @@ -466,6 +469,20 @@ pypi
pkg:pypi/[email protected]
pkg:pypi/[email protected]

qpkg
----
``qpkg`` for QNX packages:

- There is no default package repository: this should be implied either from
the ``namespace`` or using a repository base URL as ``repository_url``
qualifiers key.
- The ``namespace`` is the vendor of the package. It is not case sensitive and must be
lowercased.
- Examples::

pkg:qpkg/blackberry/[email protected]
pkg:qpkg/blackberry/[email protected]

rpm
---
``rpm`` for RPMs:
Expand Down Expand Up @@ -556,7 +573,6 @@ Other candidate types to define:
- ``nim`` for Nim packages:
- ``nix`` for Nixos packages:
- ``opam`` for OCaml packages:
- ``openwrt`` for OpenWRT packages:
- ``osgi`` for OSGi bundle packages:
- ``p2`` for Eclipse p2 packages:
- ``pear`` for Pear PHP packages:
Expand Down

0 comments on commit 1cc8ab7

Please sign in to comment.