Skip to content

Commit

Permalink
Merge pull request package-url#163 from jhutchings1/patch-1
Browse files Browse the repository at this point in the history
Propose pub package manager

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Apr 20, 2022
2 parents a748c36 + de000e7 commit 1eae1e9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,18 @@ including container images built by Docker and others:
pkg:oci/static@sha256:<digest>?repository_url=gcr.io/distroless/static&tag=latest
pkg:oci/hello-wasm@sha256:<digest>?tag=v1

pub
----
``pub`` for Dart and Flutter packages:

- The default repository is ``https://pub.dartlang.org``
- Pub normalizes all package names to be lowercase and using underscores. The only allowed characters are `[a-z0-9_]`.
- More information on pub naming and versioning is available in the [pubspec documentation](https://dart.dev/tools/pub/pubspec)
- Examples::

pkg:pub/characters@1.2.0
pkg:pub/flutter@0.0.0

pypi
----
``pypi`` for Python packages:
Expand Down Expand Up @@ -421,7 +433,6 @@ Other candidate types to define:
- ``perl6`` for Perl 6 module packages:
- ``platformio`` for PlatformIO packages:
- ``ebuild`` for Gentoo Linux portage packages:
- ``pub`` for Dart packages:
- ``puppet`` for Puppet Forge packages:
- ``sourceforge`` for Sourceforge-based packages:
- ``sublime`` for Sublime packages:
Expand Down

0 comments on commit 1eae1e9

Please sign in to comment.