Skip to content

Commit

Permalink
Merge pull request #205 from hishamhm/master
Browse files Browse the repository at this point in the history
Add `luarocks` package type
  • Loading branch information
stevespringett authored Apr 17, 2024
2 parents 3465898 + c98edff commit b33dda1
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,33 @@ huggingface
pkg:huggingface/microsoft/deberta-v3-base@559062ad13d311b87b2c455e67dcd5f1c8f65111?repository_url=https://hub-ci.huggingface.co


luarocks
--------
``luarocks`` for Lua packages installed with LuaRocks:

- ``namespace``: The user manifest under which the package is registered.
If not given, the root manifest is assumed.
It is case insensitive, but lowercase is encouraged since namespaces
are normalized to ASCII lowercase.
- ``name``: The LuaRocks package name.
It is case insensitive, but lowercase is encouraged since package names
are normalized to ASCII lowercase.
- ``version``: The full LuaRocks package version, including module version
and rockspec revision.
It is case sensitive, and lowercase must be used to avoid
compatibility issues with older LuaRocks versions.
The full version number is required to uniquely identify a version.
- Qualifier ``repository_url``: The LuaRocks rocks server to be used;
useful in case a private server is used (optional).
If ommitted, ``https://luarocks.org`` as default server is assumed.

Examples::

pkg:luarocks/[email protected]
pkg:luarocks/hisham/[email protected]
pkg:luarocks/username/[email protected]?repository_url=https://example.com/private_rocks_server/


maven
-----
``maven`` for Maven JARs and related artifacts:
Expand Down Expand Up @@ -579,7 +606,6 @@ Other candidate types to define:
- ``haxe`` for Haxe packages:
- ``helm`` for Kubernetes packages
- ``julia`` for Julia packages:
- ``lua`` for LuaRocks packages:
- ``melpa`` for Emacs packages
- ``meteor`` for Meteor JavaScript packages:
- ``nim`` for Nim packages:
Expand Down

0 comments on commit b33dda1

Please sign in to comment.