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

added spec for opkg PURL type #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
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