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

Propose spec for SWI Prolog pack packages #315

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,18 @@ swift
pkg:swift/github.com/Alamofire/[email protected]
pkg:swift/github.com/RxSwiftCommunity/[email protected]

swiplpack
-----
``swiplpack`` for SWI Prolog pack packages

- The default repository is ``https://www.swi-prolog.org/pack/list``
- The ``name`` is the package name. It must be lowercased.
- The ``version`` is the package version.
- Examples::

pkg:swiplpack/[email protected]
pkg:swiplpack/[email protected]

Other candidate types to define:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
12 changes: 12 additions & 0 deletions test-suite-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,18 @@
"subpath": null,
"is_invalid": true
},
{
"description": "valid swiplpack purl",
"purl": "pkg:swiplpack/[email protected]",
"canonical_purl": "pkg:swiplpack/[email protected]",
"type": "swiplpack",
"namespace": null,
"name": "condition",
"version": "0.1.1",
"qualifiers": null,
"subpath": null,
"is_invalid": false
},
{
"description": "valid hackage purl",
"purl": "pkg:hackage/[email protected]",
Expand Down