Skip to content

In external repo identifiers, add homepage URL and repo URL #462

@david-a-wheeler

Description

@david-a-wheeler

SPDX already supports identifying packages using a CPE, some repos, or a package URL (purl), as noted here in Annex F:

https://github.com/spdx/spdx-spec/blob/development/v2.2.1/chapters/external-repository-identifiers.md

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)".

Metadata

Metadata

Assignees

No one assigned

    Labels

    profile: softwareSoftware profile and related matters

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions