Skip to content

Commit 9805005

Browse files
authored
Inline Licence Info & Copyright for non-test files (#14256)
1 parent f7bbe81 commit 9805005

File tree

357 files changed

+1461
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+1461
-1
lines changed

.formatter.exs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
[
26
inputs: [
37
"lib/*/{lib,scripts,unicode,test}/**/*.{ex,exs}",

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
lib/elixir/test/elixir/fixtures/*.txt text eol=lf
26
*.ex diff=elixir
37
*.exs diff=elixir

.github/ISSUE_TEMPLATE/config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
---
25
blank_issues_enabled: true
36

.github/ISSUE_TEMPLATE/issue.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
---
25
name: Report an issue
36
description:

.github/dependabot.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
version: 2
25
updates:
36
- package-ecosystem: "github-actions"

.github/workflows/ci-markdown.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
name: CI for Markdown content
25

36
on:

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
name: CI
25

36
on:

.github/workflows/notify.exs

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# #!/usr/bin/env elixir
2+
3+
# SPDX-License-Identifier: Apache-2.0
4+
# SPDX-FileCopyrightText: 2021 The Elixir Team
5+
26
[tag] = System.argv()
37

48
Mix.install([

.github/workflows/notify.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
name: Notify
25

36
on:

.github/workflows/ort/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
name: "Run OSS Review Toolkit"
25
description: "Runs OSS Review Toolkit & generates SBoMs"
36
inputs:

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
name: Release
25

36
on:

.github/workflows/release_pre_built/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
name: "Release pre built"
25
description: "Builds elixir release, ExDoc and generates docs"
36
inputs:

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
/doc/
26
/lib/*/ebin/
37
/lib/*/_build/

.markdownlint.jsonc

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
// SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
{
25
// Consecutive header levels (h1 -> h2 -> h3). We don't care about this.
36
"MD001": false,

.ort.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
curations:
25
license_findings:
36
- path: "lib/elixir/pages/images/logo.png"

.ort/config/config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
14
ort:
25
scanner:
36
skipConcluded: false

CHANGELOG.md

+6

CODE_OF_CONDUCT.md

+6

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
PREFIX ?= /usr/local
26
TEST_FILES ?= "*_test.exs"
37
SHARE_PREFIX ?= $(PREFIX)/share

README.md

+6

RELEASE.md

+6

SECURITY.md

+6

bin/elixir

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/sh
2+
3+
# SPDX-License-Identifier: Apache-2.0
4+
# SPDX-FileCopyrightText: 2021 The Elixir Team
5+
# SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
set -e
38

49
ELIXIR_VERSION=1.19.0-dev

bin/elixir.bat

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@echo off
22

3+
:: SPDX-License-Identifier: Apache-2.0
4+
:: SPDX-FileCopyrightText: 2021 The Elixir Team
5+
:: SPDX-FileCopyrightText: 2012 Plataformatec
6+
37
set ELIXIR_VERSION=1.19.0-dev
48

59
if ""%1""=="""" if ""%2""=="""" goto documentation

bin/elixirc

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/sh
2+
3+
# SPDX-License-Identifier: Apache-2.0
4+
# SPDX-FileCopyrightText: 2021 The Elixir Team
5+
# SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
set -e
38

49
if [ $# -eq 0 ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then

bin/elixirc.bat

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
@echo off
2+
3+
:: SPDX-License-Identifier: Apache-2.0
4+
:: SPDX-FileCopyrightText: 2021 The Elixir Team
5+
:: SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
setlocal
38
set argc=0
49
for %%A in (%*) do (

bin/iex

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/sh
2+
3+
# SPDX-License-Identifier: Apache-2.0
4+
# SPDX-FileCopyrightText: 2021 The Elixir Team
5+
# SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
set -e
38

49
if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then

bin/iex.bat

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
@echo off
2+
3+
:: SPDX-License-Identifier: Apache-2.0
4+
:: SPDX-FileCopyrightText: 2021 The Elixir Team
5+
:: SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
setlocal
38
if /I ""%1""==""--help"" goto documentation
49
if /I ""%1""==""-h"" goto documentation

bin/mix

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
#!/usr/bin/env elixir
2+
3+
# SPDX-License-Identifier: Apache-2.0
4+
# SPDX-FileCopyrightText: 2021 The Elixir Team
5+
# SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
Mix.CLI.main()

bin/mix.bat

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
@echo off
2+
3+
:: SPDX-License-Identifier: Apache-2.0
4+
:: SPDX-FileCopyrightText: 2021 The Elixir Team
5+
:: SPDX-FileCopyrightText: 2012 Plataformatec
6+
27
call "%~dp0\elixir.bat" "%~dp0\mix" %*

bin/mix.ps1

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
# Store path to mix.bat as a FileInfo object
26
$mixBatPath = (Get-ChildItem (((Get-ChildItem $MyInvocation.MyCommand.Path).Directory.FullName) + '\mix.bat'))
37
$newArgs = @()

lib/eex/lib/eex.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule EEx.SyntaxError do
26
defexception [:file, :line, :column, :snippet, message: "syntax error"]
37

lib/eex/lib/eex/compiler.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule EEx.Compiler do
26
@moduledoc false
37

lib/eex/lib/eex/engine.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule EEx.Engine do
26
@moduledoc ~S"""
37
Basic EEx engine that ships with Elixir.

lib/eex/lib/eex/smart_engine.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule EEx.SmartEngine do
26
@moduledoc """
37
The default engine used by EEx.

lib/eex/mix.exs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule EEx.MixProject do
26
use Mix.Project
37

lib/elixir/Emakefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
{'src/*', [
26
warn_unused_vars,
37
warn_export_all,

lib/elixir/lib/access.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Access do
26
@moduledoc """
37
Key-based access to data structures.

lib/elixir/lib/agent.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Agent do
26
@moduledoc """
37
Agents are a simple abstraction around state.

lib/elixir/lib/agent/server.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Agent.Server do
26
@moduledoc false
37

lib/elixir/lib/application.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Application do
26
@moduledoc """
37
A module for working with applications and defining application callbacks.

lib/elixir/lib/atom.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Atom do
26
@moduledoc """
37
Atoms are constants whose values are their own name.

lib/elixir/lib/base.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Base do
26
import Bitwise
37

lib/elixir/lib/behaviour.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Behaviour do
26
@moduledoc """
37
Mechanism for handling behaviours.

lib/elixir/lib/bitwise.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Bitwise do
26
@moduledoc """
37
A set of functions that perform calculations on bits.

lib/elixir/lib/calendar.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Calendar do
26
@moduledoc """
37
This module defines the responsibilities for working with

lib/elixir/lib/calendar/date.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Date do
26
@moduledoc """
37
A Date struct and functions.

lib/elixir/lib/calendar/date_range.ex

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
defmodule Date.Range do
26
@moduledoc """
37
Returns an inclusive range between dates.

0 commit comments

Comments
 (0)