Skip to content

Commit

Permalink
Propose apk
Browse files Browse the repository at this point in the history
Reviewed-by: Ariadne Conill <ariadne@dereferenced.org>
Signed-off-by: Morten Linderud <morten@linderud.pw>
  • Loading branch information
Foxboron committed Jun 5, 2022
1 parent 1eae1e9 commit 96abb6f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ See also https://github.com/package-url/purl-spec and
Known ``purl`` types
~~~~~~~~~~~~~~~~~~~~

apk
---
``apk`` for APK-based packages:

- There is no default package repository: this should be implied either from
the ``distro`` qualifiers key or using a repository base url as
``repository_url`` qualifiers key.
- The ``namespace`` is the vendor such as ``alpine`` or ``openwrt``. It is not
case sensitive and must be lowercased.
- The ``name`` is the package name. It is not case sensitive and must be
lowercased.
- The ``version`` is a package version as expected by apk.
- The ``arch`` is the qualifiers key for a package architecture.
- Examples::

pkg:apk/alpine/curl@7.83.0-r0?arch=x86
pkg:apk/alpine/apk@2.12.9-r3?arch=x86

bitbucket
---------
``bitbucket`` for Bitbucket-based packages:
Expand Down Expand Up @@ -390,7 +408,6 @@ swift
Other candidate types to define:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- ``alpine`` for Alpine Linux apk packages:
- ``apache`` for Apache projects packages:
- ``android`` for Android apk packages:
- ``arch`` for Arch Linux packages:
Expand Down

0 comments on commit 96abb6f

Please sign in to comment.