forked from package-url/purl-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from colindean/colindean/brew-purl__merge
Resolve merge conflict
- Loading branch information
Showing
5 changed files
with
143 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,17 +198,17 @@ cpan | |
---- | ||
``cpan`` for CPAN Perl packages: | ||
|
||
- The default respository is ``https://www.cpan.org/``. | ||
- The default repository is ``https://www.cpan.org/``. | ||
- The ``namespace``: | ||
- To refer to a CPAN distribution name, the ``namespace`` MUST be present. In this case, the namespace is the CPAN id of the author/publisher. It MUST be written uppercase, followed by the distribution name in the ``name`` component. A distribution name may NEVER contain the string ``::``. | ||
- To refer to a CPAN distribution name, the ``namespace`` MUST be present. In this case, the namespace is the CPAN id of the author/publisher. It MUST be written uppercase, followed by the distribution name in the ``name`` component. A distribution name MUST NOT contain the string ``::``. | ||
- To refer to a CPAN module, the ``namespace`` MUST be absent. The module name MAY contain zero or more ``::`` strings, and the module name MUST NOT contain a ``-`` | ||
|
||
- The ``name`` is the module or distribution name and is case sensitive. | ||
- The ``version`` is the module or distribution version. | ||
- Optional qualifiers may include: | ||
|
||
- ``repository_url``: CPAN/MetaCPAN/BackPAN/DarkPAN repository base URL (default is ``https://www.cpan.org``) | ||
- ``download_url``: URL of package or distibution | ||
- ``download_url``: URL of package or distribution | ||
- ``vcs_url``: extra URL for a package version control system | ||
- ``ext``: file extension (default is ``tar.gz``) | ||
|
||
|
@@ -278,7 +278,7 @@ docker | |
|
||
gem | ||
--- | ||
``gem`` for Rubygems: | ||
``gem`` for RubyGems: | ||
|
||
- The default repository is ``https://rubygems.org``. | ||
- The ``platform`` qualifiers key is used to specify an alternative platform. | ||
|
@@ -400,7 +400,7 @@ luarocks | |
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. | ||
If omitted, ``https://luarocks.org`` as default server is assumed. | ||
|
||
Examples:: | ||
|
||
|
@@ -545,9 +545,16 @@ pypi | |
- PyPI treats ``-`` and ``_`` as the same character and is not case sensitive. | ||
Therefore a PyPI package ``name`` must be lowercased and underscore ``_`` | ||
replaced with a dash ``-``. | ||
- The ``file_name`` qualifier selects a particular distribution file | ||
(case-sensitive). For naming convention, see the Python Packaging User Guide on | ||
`source distributions <https://packaging.python.org/en/latest/specifications/source-distribution-format/#source-distribution-file-name>`_, | ||
`binary distributions <https://packaging.python.org/en/latest/specifications/binary-distribution-format/#file-name-convention>`_, | ||
and `platform compatibility tags <https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/>`_. | ||
- Examples:: | ||
|
||
pkg:pypi/[email protected] | ||
pkg:pypi/[email protected]?filename=Django-1.11.1.tar.gz | ||
pkg:pypi/[email protected]?filename=Django-1.11.1-py2.py3-none-any.whl | ||
pkg:pypi/[email protected] | ||
|
||
rpm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ A `purl` or package URL is an attempt to standardize existing approaches to | |
reliably identify and locate software packages. | ||
|
||
A `purl` is a URL string used to identify and locate a software package in a | ||
mostly universal and uniform way across programing languages, package managers, | ||
mostly universal and uniform way across programming languages, package managers, | ||
packaging conventions, tools, APIs and databases. | ||
|
||
Such a package URL is useful to reliably reference the same software package | ||
|
@@ -124,7 +124,7 @@ Some `purl` examples | |
pkg:golang/google.golang.org/genproto#googleapis/api/annotations | ||
|
||
pkg:maven/org.apache.xmlgraphics/[email protected]?packaging=sources | ||
pkg:maven/org.apache.xmlgraphics/[email protected]?repository_url=repo.spring.io%2Frelease | ||
pkg:maven/org.apache.xmlgraphics/[email protected]?repository_url=repo.spring.io/release | ||
|
||
pkg:npm/%40angular/[email protected] | ||
pkg:npm/[email protected] | ||
|
@@ -156,35 +156,39 @@ type definitions: | |
Known implementations | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- in Golang: https://github.com/package-url/packageurl-go | ||
- for .NET: https://github.com/package-url/packageurl-dotnet | ||
- for the JVM: https://github.com/package-url/packageurl-java, | ||
- .NET: https://github.com/package-url/packageurl-dotnet | ||
- Elixir: https://github.com/maennchen/purl | ||
- Go: https://github.com/package-url/packageurl-go | ||
- Java: https://github.com/package-url/packageurl-java, | ||
https://github.com/sonatype/package-url-java | ||
- in Python: https://github.com/package-url/packageurl-python | ||
- in Rust: https://github.com/package-url/packageurl.rs | ||
- in JS: https://github.com/package-url/packageurl-js | ||
- in Elixir: https://github.com/jshmrtn/purl | ||
- in Perl: https://github.com/giterlizzi/perl-URI-PackageURL | ||
- JavaScript: https://github.com/package-url/packageurl-js | ||
- Perl: https://github.com/giterlizzi/perl-URI-PackageURL | ||
- PHP: https://github.com/package-url/packageurl-php | ||
- Python: https://github.com/package-url/packageurl-python | ||
- Ruby: https://github.com/package-url/packageurl-ruby | ||
- Rust: https://github.com/package-url/packageurl.rs | ||
- Swift: https://github.com/package-url/packageurl-swift | ||
|
||
|
||
Users, adopters and links | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Users, adopters and links (alphabetical order) | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- `CycloneDX <https://github.com/CycloneDX>`_: A lightweight software | ||
bill-of-material (SBOM) specification | ||
- `GitHub Dependency Submission API <https://docs.github.com/en/rest/dependency-graph/dependency-submission>`_: allows third-party tools | ||
to submit dependency data to GitHub for inclusion in a repository's dependency graph. | ||
- `Scancode Toolkit <https://github.com/nexB/scancode-toolkit>`_: Reports | ||
`purl` from parsed package manifests using https://github.com/package-url/packageurl-python | ||
- `OWASP Dependency-Track <https://www.owasp.org/index.php/OWASP_Dependency_Track_Project>`_: | ||
- `OWASP Dependency-Track <https://www.owasp.org/index.php/OWASP_Dependency_Track_Project>`_: | ||
Open source component analysis platform | ||
- `CycloneDX <https://github.com/CycloneDX>`_: A lightweight software | ||
bill-of-material (SBOM) specification | ||
- `SPDX <https://spdx.dev>`_: A data exchange standard for human-readable and | ||
machine-processable software bill-of-materials (SBOM) | ||
- `OSS Index <https://ossindex.sonatype.org>`_: A free catalog of Open Source | ||
Components and scanning tools to help developers identify vulnerable components | ||
- `Sonatype Nexus Lifecycle <https://www.sonatype.com/product-nexus-lifecycle>`_: | ||
Enterprise grade Open Source component management | ||
- `OSV Schema <https://ossf.github.io/osv-schema/>`_ and `OSV.dev <https://osv.dev>`_: | ||
Open Source Vulnerability Schema and distributed vulnerability database | ||
- `Scancode Toolkit <https://github.com/nexB/scancode-toolkit>`_: Reports | ||
`purl` from parsed package manifests using https://github.com/package-url/packageurl-python | ||
- `Sonatype Nexus Lifecycle <https://www.sonatype.com/product-nexus-lifecycle>`_: | ||
Enterprise grade Open Source component management | ||
- `SPDX <https://spdx.dev>`_: A data exchange standard for human-readable and | ||
machine-processable software bill-of-materials (SBOM) | ||
|
||
License | ||
~~~~~~~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.