-
Notifications
You must be signed in to change notification settings - Fork 221
Add Schema that defines PURL types #401
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
Closed
Closed
Conversation
This file contains hidden or 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
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
…b action is activated. Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Dustin4444
approved these changes
Mar 1, 2025
Dustin4444
previously approved these changes
Mar 2, 2025
matt-phylum
reviewed
Mar 3, 2025
Unknown user, no comments. Looks like spam
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
We only need a list of types and I find it less brittle avoiding to hardcode URLs. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: create types/oci-definition.json Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: create types/pub-definition.json Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: create types/pypi-definition.json Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: create types/rpm-definition.json Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: create types/swid-definition.json Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: create types/swift-definition.json Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…ion.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: keep PURL-TYPES.rst Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
…ion.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history: merge
…n.json types/bitbucket-definition.json types/bitnami-definition.json types/cocoapods-definition.json types/cargo-definition.json types/composer-definition.json types/conan-definition.json types/conda-definition.json types/cpan-definition.json types/cran-definition.json types/deb-definition.json types/docker-definition.json types/gem-definition.json types/generic-definition.json types/github-definition.json types/golang-definition.json types/hackage-definition.json types/hex-definition.json types/huggingface-definition.json types/luarocks-definition.json types/maven-definition.json types/mlflow-definition.json types/npm-definition.json types/nuget-definition.json types/qpkg-definition.json types/oci-definition.json types/pub-definition.json types/pypi-definition.json types/rpm-definition.json types/swid-definition.json types/swift-definition.json keep history Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
The files are still in rest format for now until we convert them to proper JSON Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
This is a script that takes one source file and multiple target files as arguments and does a copy, keeping original commit history in a way that git will be able to apply its heuristics to provide a proper line-level blame Written-by: @davidjsherman Reference: https://gitlab.inria.fr/-/snippets/520 Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
These are for the three initial tests: maven, npm and swid Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Replace with single Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
All definitions are now valid JSON, but may be not vliad schema yet. Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Also update the schema as needed Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Member
|
I am closing this now in favor of this other PR that builds on top of this: |
This was referenced Oct 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1 high priority
documentation
Ecma standard
Part of the Ecma standard for PURL
PURL component: type
PURL generation
PURL type definition
Non-core definitions that describe and standardize PURL types
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a formal structure to PURL type definitions. This PR contains:
index.jsonof all PURL type definitionsThis PR closes #310