From e2eb71b2cb7ad3e43aa8f2c4412d1a7dc8364a66 Mon Sep 17 00:00:00 2001 From: Laurent Goderre Date: Fri, 12 Apr 2024 12:14:03 -0400 Subject: [PATCH] Unify PHP PEAR and PECL --- PURL-TYPES.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PURL-TYPES.rst b/PURL-TYPES.rst index b245c4d..4bf4f00 100644 --- a/PURL-TYPES.rst +++ b/PURL-TYPES.rst @@ -471,16 +471,17 @@ 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 -pecl +pear ---- -``pecl`` for PECL PHP packages: +``pear`` for PEAR and PECL PHP packages: -- The default repository is ``https://pecl.php.net/``. -- The ``namespace`` is empty. +- The default repository for PEAR is ``https://pear.php.net``. The default repository fo PECL is ``https://pecl.php.net/``. +- The ``namespace`` is the channel of the package. - The ``name`` is not case sensitive - Examples: - pkg:pecl/APCu@5.1.23 + pkg:/pear/pear.php.net/Text_Password@1.2.1 + pkg:/pear/pecl.php.net/APCu@5.1.23 pub ---- @@ -599,7 +600,6 @@ Other candidate types to define: - ``openwrt`` for OpenWRT packages: - ``osgi`` for OSGi bundle packages: - ``p2`` for Eclipse p2 packages: -- ``pear`` for Pear PHP packages: - ``perl6`` for Perl 6 module packages: - ``platformio`` for PlatformIO packages: - ``ebuild`` for Gentoo Linux portage packages: