Skip to content

Commit 20ca9a5

Browse files
committed
Make file headers compliant with REUSE 3.0
This commit edits all the source files in detray (sorry reviewers) in order to make the header files compliant with the REUSE 3.0 specification, which also means we no longer need to update the years in the headers all the time.
1 parent 4047edc commit 20ca9a5

File tree

628 files changed

+1942
-3639
lines changed

Some content is hidden

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

628 files changed

+1942
-3639
lines changed

.clang-format

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
4+
15
---
26
BasedOnStyle: Google
37
IndentWidth: 4

.github/check_format.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/bash
2+
3+
# SPDX-PackageName: "detray, a part of the ACTS project"
4+
# SPDX-FileCopyrightText: 2021 CERN
5+
# SPDX-License-Identifier: MPL-2.0
6+
27
#
38
# check that all code complies w/ the clang-format specification
49
#

.github/ci_setup.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Detray library, part of the ACTS project (R&D line)
2-
#
3-
# (c) 2022 CERN for the benefit of the ACTS project
4-
#
5-
# Mozilla Public License Version 2.0
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
4+
65
#
76
# This script is meant to configure the build/runtime environment of the
87
# Docker contaners that are used in the project's CI configuration.

.github/find_f64_ptx.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
#!/bin/python3
22

3-
4-
# TRACCC library, part of the ACTS project (R&D line)
5-
#
6-
# (c) 2023 CERN for the benefit of the ACTS project
7-
#
8-
# Mozilla Public License Version 2.0
9-
3+
# SPDX-PackageName: "detray, a part of the ACTS project"
4+
# SPDX-FileCopyrightText: 2021 CERN
5+
# SPDX-License-Identifier: MPL-2.0
106

117
import argparse
128
import re

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# Detray library, part of the ACTS project (R&D line)
2-
#
3-
# (c) 2024 CERN for the benefit of the ACTS project
4-
#
5-
# Mozilla Public License Version 2.0
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
64

75
name: Benchmarks
86

.github/workflows/builds.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
4+
15
name: Builds
26

37
on:

.github/workflows/checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
4+
15
name: Checks
26

37
# Cancel existing jobs on new pushes.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
4+
15
# data files
26
/data/*.csv
37
/data/*.cvf

.gitlab-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# Detray library, part of the ACTS project (R&D line)
2-
#
3-
# (c) 2021-2024 CERN for the benefit of the ACTS project
4-
#
5-
# Mozilla Public License Version 2.0
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
64

75
stages:
86
- build

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-PackageName: "detray, a part of the ACTS project"
2+
# SPDX-FileCopyrightText: 2021 CERN
3+
# SPDX-License-Identifier: MPL-2.0
4+
15
repos:
26
- repo: https://github.com/pre-commit/mirrors-clang-format
37
rev: 'v10.0.1'
@@ -35,3 +39,8 @@ repos:
3539
name: Leftover conflict markers
3640
language: system
3741
entry: git --no-pager diff --staged --check
42+
43+
- repo: https://github.com/fsfe/reuse-tool
44+
rev: v5.0.2
45+
hooks:
46+
- id: reuse

0 commit comments

Comments
 (0)