Skip to content

Remove or replace licenses.txt #33749

Open
@silverwind

Description

@silverwind

Feature Description

Given the recent problems with the go-licenses tool, I would propose removing or replacing the licenses.txt file. It serves no clear purpose and is to my knowledge not processed by any tools. So the only "consumers" are humans and I doubt the usefulness.

If our intend with this file is to just list dependencies, I think we would be better off generating a SBOM file with tools like https://github.com/aquasecurity/trivy and from a quick check, this is a excellent and well-maintained tool for such a purpose.

For example to create a SBOM file with trivy, try:

trivy fs --format cyclonedx --output result.json .

The other alternative is to remove the file without any replacement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions