| I wish PURL proposed something sensible or at least usable for tracking C / C++ native libraries, that are NOT hosted on a registry like conan.io, or one of the linux distro registries, but is still (self-)hosted somewhere online. For libraries that are hosted on `github`, there's at least the github type. But there is no official `gitlab` or `git` type, and i've read comments that even the `github` type is considered a mistake. One example of such a library could be a Qt or KDE / Plasma library. They are hosted on their own forges, https://code.qt.io/ and https://invent.kde.org respectively. So to the more knowledgeable people out there, what is the PURL way of identifying a C++ library like that? Is `generic` type + vcs_url qualifier really the only way? Right now it seems impossible to track vulnerabilities for such libraries with OSS / open tools, because none of the open tools or databases support a custom type or registry or ecosystem. For example none of services here support some custom C++ ecosystem (putting aside conan): https://docs.dependencytrack.org/analysis-types/known-vulner... Same for https://docs.dependencytrack.org/datasources/osv/ |
For Java and interpreted language packages the "build" configuration is less important or non-existent. For compiled packages the build environment is important.
It seems the only way is to use a custom namespace and abuse the qualifiers but then you've got a non-canonical PURL and its utility in things like SBOMs is limited.