Skip to content

Short SPDX file headers for basefiles #106

@mikehaller

Description

@mikehaller

When doing OSS IP Compliance scanning, our own files (such as the basefiles package) should contain a proper license header.

As we don't want to add the full license header in all files and every time, it may be better to use the short SPDX header statements:
https://spdx.github.io/spdx-spec/v2.3/using-SPDX-short-identifiers-in-source-files/

Example 2 with Copyright:

# Copyright 2023 Contributors to the Eclipse Leda project
# Copyright 2023 ETAS GmbH
# SPDX-License-Identifier: Apache-2.0

There are also additional short identifiers, which may be suitable to add:

  • SPDX-FileType: TEXT
  • SPDX-FileCopyrightText: Copyright 2023 Contributors to the Eclipse Leda project.
  • SPDX-FileContributor: Modified by Mike Haller <[email protected]>

See https://spdx.github.io/spdx-spec/v2.3/file-tags/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions