-
Notifications
You must be signed in to change notification settings - Fork 155
Description
SPDX already supports identifying packages using a CPE, some repos, or a package URL (purl), as noted here in Annex F:
However, many packages don't have a CPE and aren't in a repo, so those don't work in many cases.
However, almost all software projects do have a homepage URL, and almost all open source software projects do have a publicly-visible repo (which may be different from the homepage). The CII Best Practices Badge project has had good success using these to identify projects.
I recommend adding a way to identify projects by either (1) homepage URL or (2) repository URL. So I recommend adding:
-
homePageUrl : The project home page Uniform Resource Locator (URL). Where possible, use the "https" scheme in preference to the "http" scheme, and prefer a URL that is not tied to a particular locale. This should be a "stable" URL that does not change as new releases are made.
-
repoUrl : The project repository Uniform Resource Locator (URL). Where possible, use the "https" scheme in preference to the "http" scheme, and prefer a URL that is not tied to a particular locale. This should be a "stable" URL that does not change as new releases are made. If it is a public git repository, it should be possible to clone this project using "git clone $(repoURL)".