Skip to content

Commit

Permalink
adds spdx annotations to files without license
Browse files Browse the repository at this point in the history
the files have been manually checked and where created by members of
OTP. the addition of SPDX notation at the header was performed using
REUSE tool.
  • Loading branch information
kikofernandez committed Feb 3, 2025
1 parent a2a6903 commit 29565ad
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ The OTP versions that are affected by this bug.

**Additional context**
Add any other context about the problem here. If you wish to attach Erlang code you can either write it directly in the post using [code tags](https://guides.github.com/features/mastering-markdown/), create a [gist](https://gist.github.com), or attach it as a zip file to this post.

<!--
SPDX-FileCopyrightText: 2025 Ericsson AB
SPDX-License-Identifier: Apache-2.0
-->
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ A clear and concise description of any alternative solutions or features you've

**Additional context**
Add any other context or screenshots about the feature request here.

<!--
SPDX-FileCopyrightText: 2025 Ericsson AB
SPDX-License-Identifier: Apache-2.0
-->
4 changes: 4 additions & 0 deletions .github/actions/build-base-image/action.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 Ericsson AB
#
# SPDX-License-Identifier: Apache-2.0

name: Build Base Image
description: 'Builds the base testing image (using cache if possible)'

Expand Down
2 changes: 1 addition & 1 deletion .github/dockerfiles/odbcinst.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Driver = /usr/lib/i386-linux-gnu/odbc/psqlodbca.so
Setup = /usr/lib/i386-linux-gnu/odbc/libodbcpsqlS.so
Debug = 0
CommLog = 1
UsageCount = 2
UsageCount = 2
1 change: 1 addition & 0 deletions .github/workflows/license-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
new:
- added: '**'
- '!**/*.beam'
- '!LICENSES/**/*.txt'
- '!**/*.exe'
- '!**/*.config.cache.static'
## OTP-27.0 tag as base
Expand Down
9 changes: 8 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Ericsson AB
SPDX-License-Identifier: Apache-2.0
-->

# Contributing to Erlang/OTP

1. [License](#license)
Expand Down Expand Up @@ -101,7 +107,7 @@ a discussion on the mailing list.
Contributions to Erlang/OTP must be under the Apache 2.0 license, and should
have a SPDX license and copyright identifier. Only in specific cases were no
other alternative exists, Erlang/OTP will consider accepting Pull Requests with
Apache-2.0 compatible licenses.
`Apache-2.0` compatible licenses.

Under no circumstances the Erlang/OTP project will accept non-compatible Apache 2.0 contributions.

Expand All @@ -110,6 +116,7 @@ Erlang/OTP has automatic checks to enforce this policy:
contribution will be manually checked, and will trigger a non-passing test in
Github.


- The [REUSE tool](https://reuse.software/) checks that all files have `SPDX-License-Identifier:` and
`SPDX-FileCopyrightText:`. The License identifier should be `Apache-2.0` in
all cases, and the copyright should be in the format
Expand Down
4 changes: 4 additions & 0 deletions erts/preloaded/src/erl_tracer.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
% SPDX-FileCopyrightText: 2016 Ericsson AB
%
% SPDX-License-Identifier: Apache-2.0

-module(erl_tracer).
-moduledoc """
Erlang tracer behavior.
Expand Down
2 changes: 2 additions & 0 deletions lib/stdlib/src/erl_abstract_code.erl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
% SPDX-License-Identifier: Apache-2.0

-module(erl_abstract_code).
-moduledoc false.
-export([debug_info/4]).
Expand Down
4 changes: 4 additions & 0 deletions lib/stdlib/src/shell_docs_test.erl
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
%%
%%
%% SPDX-License-Identifier: Apache-2.0
%% SPDX-FileCopyrightText: 2025 Ericsson AB 1996-2024
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 1996-2024. All Rights Reserved.
Expand Down

0 comments on commit 29565ad

Please sign in to comment.