Skip to content

Commit

Permalink
docs: Make all headers compatible with REUSE 3.3
Browse files Browse the repository at this point in the history
This commit (which touches virtually every file in ACTS, sorry about
that) replaces the file headers with REUSE 3.3 compatible
machine-readable tags.
  • Loading branch information
stephenswat committed Feb 6, 2025
1 parent b94ecd1 commit 7475365
Show file tree
Hide file tree
Showing 2,589 changed files with 8,797 additions and 14,858 deletions.
4 changes: 4 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

BasedOnStyle: Google
Language: Cpp
AllowShortBlocksOnASingleLine: Never
Expand Down
4 changes: 4 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

---
Checks: >
-*,
Expand Down
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

*.ipp gitlab-language=c++
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
Expand Down
6 changes: 6 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-PackageName: "ACTS"
SPDX-FileCopyrightText: 2016 CERN
SPDX-License-Identifier: MPL-2.0
-->

PLEASE FOLLOW THE CHECKLIST BELOW WHEN CREATING A NEW ISSUE. THE CHECKLIST IS
FOR YOUR INFORMATION AND MUST BE REMOVED BEFORE SUBMITTING THE ISSUE.

Expand Down
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

'Infrastructure':
- changed-files:
- any-glob-to-any-file:
Expand Down
6 changes: 6 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-PackageName: "ACTS"
SPDX-FileCopyrightText: 2016 CERN
SPDX-License-Identifier: MPL-2.0
-->

PLEASE DESCRIBE YOUR CHANGES.
THIS MESSAGE ENDS UP AS THE COMMIT MESSAGE.
DO NOT USE @-MENTIONS HERE!
Expand Down
4 changes: 4 additions & 0 deletions .github/wip.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

- locations:
- title
- label_name
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Analysis

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Backport

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Builds

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Checks

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Docs

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Check PR labels

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Check PR milestone

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: "Lint PR"

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Release

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/remove-automerge-label.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Remove automerge label

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Report on physmon

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: SonarCloud
on:
workflow_run:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Issue management - run stale action

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/trigger_athena.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Trigger Athena build

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update-pip-requirements.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

name: Update Pip Requirements

on:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

installed
*~*
._*
Expand Down
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

variables:
CCACHE_DIR: ${CI_PROJECT_DIR}/ccache
CCACHE_MAXSIZE: 2G
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

[submodule "thirdparty/OpenDataDetector"]
path = thirdparty/OpenDataDetector
url = https://gitlab.cern.ch/acts/OpenDataDetector.git
4 changes: 4 additions & 0 deletions .kodiak.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

version = 1

merge.message.title = "pull_request_title"
Expand Down
4 changes: 4 additions & 0 deletions .merge-sentinel.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

rules:
- required_checks:
- Lint PR / Validate PR title
Expand Down
4 changes: 4 additions & 0 deletions .policy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

policy:
approval:
- One of the reviewers has approved
Expand Down
17 changes: 9 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v18.1.8'
Expand Down Expand Up @@ -41,14 +45,6 @@ repos:
]
exclude: ^CI/.*$

- repo: local
hooks:
- id: license
name: license
language: system
entry: CI/check_license.py --fix
files: \.(cpp|hpp|ipp|cu|cuh)$

- repo: local
hooks:
- id: include_guards
Expand Down Expand Up @@ -103,3 +99,8 @@ repos:
language: system
entry: CI/check_math_macros.py
files: \.(cpp|hpp|ipp|cu|cuh)$

- repo: https://github.com/fsfe/reuse-tool
rev: v5.0.2
hooks:
- id: reuse
10 changes: 10 additions & 0 deletions .reuse/templates/acts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SPDX-PackageName: "ACTS"
{% for copyright_line in copyright_lines %}
{{ copyright_line }}
{% endfor %}
{% for contributor_line in contributor_lines %}
SPDX-FileContributor: {{ contributor_line }}
{% endfor %}
{% for expression in spdx_expressions %}
SPDX-License-Identifier: {{ expression }}
{% endfor %}
4 changes: 4 additions & 0 deletions Alignment/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-PackageName: "ACTS"
# SPDX-FileCopyrightText: 2016 CERN
# SPDX-License-Identifier: MPL-2.0

add_library(ActsAlignment SHARED src/Kernel/detail/AlignmentEngine.cpp)

target_include_directories(
Expand Down
6 changes: 6 additions & 0 deletions Alignment/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-PackageName: "ACTS"
SPDX-FileCopyrightText: 2016 CERN
SPDX-License-Identifier: MPL-2.0
-->

# Alignment package

This packages provides tools for detector geometry alignment.
Expand Down
10 changes: 3 additions & 7 deletions Alignment/include/ActsAlignment/Kernel/Alignment.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// This file is part of the ACTS project.
//
// Copyright (C) 2016 CERN for the benefit of the ACTS project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-PackageName: "ACTS"
// SPDX-FileCopyrightText: 2016 CERN
// SPDX-License-Identifier: MPL-2.0

#pragma once

Expand Down
10 changes: 3 additions & 7 deletions Alignment/include/ActsAlignment/Kernel/Alignment.ipp
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// This file is part of the ACTS project.
//
// Copyright (C) 2016 CERN for the benefit of the ACTS project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-PackageName: "ACTS"
// SPDX-FileCopyrightText: 2016 CERN
// SPDX-License-Identifier: MPL-2.0

#include "Acts/EventData/VectorMultiTrajectory.hpp"
#include "Acts/EventData/VectorTrackContainer.hpp"
Expand Down
10 changes: 3 additions & 7 deletions Alignment/include/ActsAlignment/Kernel/AlignmentError.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// This file is part of the ACTS project.
//
// Copyright (C) 2016 CERN for the benefit of the ACTS project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-PackageName: "ACTS"
// SPDX-FileCopyrightText: 2016 CERN
// SPDX-License-Identifier: MPL-2.0

#pragma once

Expand Down
10 changes: 3 additions & 7 deletions Alignment/include/ActsAlignment/Kernel/AlignmentMask.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// This file is part of the ACTS project.
//
// Copyright (C) 2016 CERN for the benefit of the ACTS project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-PackageName: "ACTS"
// SPDX-FileCopyrightText: 2016 CERN
// SPDX-License-Identifier: MPL-2.0

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// This file is part of the ACTS project.
//
// Copyright (C) 2016 CERN for the benefit of the ACTS project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-PackageName: "ACTS"
// SPDX-FileCopyrightText: 2016 CERN
// SPDX-License-Identifier: MPL-2.0

#pragma once

Expand Down
10 changes: 3 additions & 7 deletions Alignment/src/Kernel/detail/AlignmentEngine.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// This file is part of the ACTS project.
//
// Copyright (C) 2016 CERN for the benefit of the ACTS project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-PackageName: "ACTS"
// SPDX-FileCopyrightText: 2016 CERN
// SPDX-License-Identifier: MPL-2.0

#include "ActsAlignment/Kernel/detail/AlignmentEngine.hpp"

Expand Down
6 changes: 6 additions & 0 deletions CI/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-PackageName: "ACTS"
SPDX-FileCopyrightText: 2016 CERN
SPDX-License-Identifier: MPL-2.0
-->

# CI instructions

This directory comntains scripts and other files relating to the CI.
Expand Down
8 changes: 8 additions & 0 deletions CI/REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version = 1

[[annotations]]
path = ["codespell_ignore.txt", "ctest2junit.xsl", "fpe_masks/requirements.in", "clang_tidy/requirements.in"]
precedence = "aggregate"
SPDX-PackageName = "ACTS"
SPDX-FileCopyrightText = "2016 CERN"
SPDX-License-Identifier = "MPL-2.0"
Loading

0 comments on commit 7475365

Please sign in to comment.