Skip to content

add OCaml purl implementation to Tools#768

Open
hannesm wants to merge 1 commit intopackage-url:mainfrom
hannesm:add-ocaml-purl
Open

add OCaml purl implementation to Tools#768
hannesm wants to merge 1 commit intopackage-url:mainfrom
hannesm:add-ocaml-purl

Conversation

@hannesm
Copy link
Contributor

@hannesm hannesm commented Dec 10, 2025

No description provided.

@mjherzog
Copy link
Member

@hannesm Closing because we are covering this in #763

@mjherzog mjherzog closed this Jan 24, 2026
@hannesm
Copy link
Contributor Author

hannesm commented Jan 24, 2026

@hannesm Closing because we are covering this in #763

I'm not entirely sure what this means, #763 is about adding OCaml/opam to purl. This PR is about an implementation of purl (in OCaml). But I'll leave it to you, since you know how purl-spec/implementations/... should be organized.

@mjherzog mjherzog reopened this Jan 24, 2026
@mjherzog
Copy link
Member

@hannesm Closing this PR was my mistake. We are deprecating the list of implementations from the README in favor of our Software Tools section on the new Package-URL website at https://package-url.github.io/www.packageurl.org/.

I have drafted an entry as:

Project: hannesm/purl
Description: This package provides decoders and encoders in OCaml.

Base language: OCaml
Software License: ISC
Data License: n/a
Service License: n/a
Functions: n/a (NB - we are still working on the list of Functions)
Type: Library
Standards: PURL v1.0
Platform: n/a
Home: https://github.com/hannesm/purl
Source download: https://github.com/hannesm/purl/releases
Documentation: https://hannesm.github.io/purl/doc
Package download: n/a
Notes:

Please update/confirm the data and we will add your project to the Software Tools.
Thank you for your patience.

@hannesm
Copy link
Contributor Author

hannesm commented Jan 25, 2026

I agree with the data you typed there. I only have one or two questions: What is Functions? And, the other is, that the installation is done via opam install purl (which downloads and compiles the source) -- does this fit somewhere in your data schema?

@mjherzog
Copy link
Member

mjherzog commented Jan 25, 2026

@hannesm Thank you for the quick review.

  • Functions are not yet defined so it is a placeholder "n/a" for everyone.
  • Package download is meant for package manager downloads so opam does not seem to fit that field. There is a Notes field if you want to use it for install instructions. Otherwise we expect that a visitor will get install info from documentation like a README.

@hannesm
Copy link
Contributor Author

hannesm commented Jan 25, 2026

Thanks for your response. It's fine, OCaml developers will find how to install that package :)

@mjherzog
Copy link
Member

@johnmhoran Please add opam to the Registered PURL Type cards

@mjherzog mjherzog changed the title add OCaml purl implementation add OCaml purl implementation to Tools Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants