Skip to content

Commit c2f8c66

Browse files
committed
Apply REUSE licensing
1 parent c5bd67b commit c2f8c66

32 files changed

Lines changed: 469 additions & 2 deletions

.coverage/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
15
*.info

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
15
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
26
version: 2
37
updates:

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
15
name: CI
26
on:
37
push:

.github/workflows/CompatHelper.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
15
name: CompatHelper
26
on:
37
schedule:

.github/workflows/REUSE.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
5+
name: REUSE
6+
on:
7+
push:
8+
branches:
9+
- master
10+
- dev
11+
- 'release-*'
12+
tags:
13+
- '*'
14+
pull_request:
15+
branches:
16+
- master
17+
permissions:
18+
contents: read
19+
jobs:
20+
reuse-compliance-check:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v6
25+
26+
- name: REUSE Compliance Check
27+
uses: fsfe/reuse-action@v6

.github/workflows/TagBot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
15
name: TagBot
26
on:
37
issue_comment:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
2+
#
3+
# SPDX-License-Identifier: MIT OR CC0-1.0
4+
15
*.jl.*.cov
26
*.jl.cov
37
*.jl.mem

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
SPDX-FileCopyrightText: © 2022 Michael Goerz <mail@michaelgoerz.net>
3+
4+
SPDX-License-Identifier: MIT OR CC0-1.0
5+
-->
6+
17
# Contributing
28

39
Everyone is welcome to contribute! You can contribute simply by opening issues to report bugs or request features.
@@ -6,4 +12,9 @@ Development of all packages in the [JuliaQuantumControl] organization follows sh
612

713
<https://github.com/JuliaQuantumControl/.github/blob/master/CONTRIBUTING.md>
814

15+
16+
## Licensing
17+
18+
This package is [REUSE-compliant](https://reuse.software): every file declares its copyright and license via SPDX tags, which CI enforces (verify locally with `make reuse`). When adding a new file, include an SPDX header (or a sidecar `*.license` file when the format has no comment syntax) with the copyright `© <year> Michael Goerz <mail@michaelgoerz.net>`, and choose the license by category: source code (`src/`, `ext/`, `test/`) → `MIT`; prose/documentation (`README`, `docs/src/*.md`) → `MIT OR CC-BY-4.0`; trivial config/tooling (`Makefile`, `.gitignore`, CI YAML, `Project.toml`, …) → `MIT OR CC0-1.0`. Any license used must have its text in `LICENSES/`.
19+
920
[JuliaQuantumControl]: https://github.com/JuliaQuantumControl

LICENSE

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
This project follows the REUSE specification for copyright and licensing
2+
information. The authoritative copyright and licensing information is provided
3+
by SPDX notices in individual files and, where applicable, by REUSE.toml.
4+
5+
The primary source code for the package is licensed under the MIT License
6+
(below). The full license texts for the licenses used in this project are
7+
located in the LICENSES/ directory. See https://reuse.software/ for more
8+
information about the REUSE specification.
9+
110
MIT License
211

3-
Copyright (c) 2022 Michael Goerz <mail@michaelgoerz.net>
12+
Copyright (c) 2022 Michael Goerz <mail@michaelgoerz.net> and contributors
413

514
Permission is hereby granted, free of charge, to any person obtaining a copy
615
of this software and associated documentation files (the "Software"), to deal

LICENSES/CC-BY-4.0.txt

Lines changed: 156 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)