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/EnterpriseLibrary.Common@6.0.1304

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/com.qnx.sdp@7.0.0.SGA201702151847
pkg:qpkg/blackberry/com.qnx.qnx710.foo.bar.qux@0.0.4.01449T202205040833L

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/freeswitch-util-fs-ivrd@1.10.10-2?arch=mipsel_74kc&set=telephony
pkg:opkg/openwrt/thc-ipv6-dump-router6@2.7.1?arch=powerpc&set=base

pub
----
``pub`` for Dart and Flutter packages:
Expand All @@ -466,6 +469,20 @@ pypi
pkg:pypi/django@1.11.1
pkg:pypi/django-allauth@12.23

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/com.qnx.sdp@7.0.0.SGA201702151847
pkg:qpkg/blackberry/com.qnx.qnx710.foo.bar.qux@0.0.4.01449T202205040833L

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:
Copy link
Member

Choose a reason for hiding this comment

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

why?

- ``osgi`` for OSGi bundle packages:
- ``p2`` for Eclipse p2 packages:
- ``pear`` for Pear PHP packages:
Expand Down