Skip to content

Commit 66ddd1f

Browse files
OPEN-82: Replace CC0 license with Apache-2.0 and update CI workflows (#14)
- Updated project license from CC0 to Apache-2.0, ensuring files meet the new licensing requirements. - Replaced outdated Rust workflow with an improved CI pipeline, incorporating compliance with `reuse`. - Adjusted and enhanced REUSE annotations and configuration to align with the updated license.
1 parent 484498f commit 66ddd1f

File tree

4 files changed

+58
-130
lines changed

4 files changed

+58
-130
lines changed
Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
name: Rust
1+
# SPDX-FileCopyrightText: Copyright 2025 gematik GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# *******
18+
#
19+
# For additional notes and disclaimer from gematik and in case of changes by gematik,
20+
# find details in the "Readme" file.
21+
22+
name: Rust CI
223

324
on:
425
push:
@@ -40,10 +61,25 @@ jobs:
4061
echo "::error::Branch name must match: (feature|bugfix|hotfix|release|chore|docs|test)/open-[A-Za-z0-9._-]+"
4162
exit 1
4263
64+
license_compliance:
65+
name: License compliance
66+
runs-on: ubuntu-latest
67+
needs: branch_naming
68+
steps:
69+
- uses: actions/checkout@v4
70+
with:
71+
fetch-depth: 0
72+
- name: Install reuse
73+
run: |
74+
python3 -m pip install --upgrade pip
75+
python3 -m pip install reuse
76+
- name: Run reuse lint
77+
run: reuse lint
78+
4379
build:
4480
name: Build & Test
4581
runs-on: ubuntu-latest
46-
needs: branch_naming
82+
needs: [branch_naming, license_compliance]
4783
steps:
4884
- uses: actions/checkout@v4
4985
with:

LICENSES/CC0-1.0.txt

Lines changed: 0 additions & 121 deletions
This file was deleted.

REUSE.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,3 @@ version = 1
2525
path = ["*"]
2626
SPDX-FileCopyrightText = "2025 gematik GmbH"
2727
SPDX-License-Identifier = "Apache-2.0"
28-
29-
[[annotations]]
30-
path = [
31-
"core-modules/crypto-openssl-sys/src/ossl.rs",
32-
]
33-
SPDX-FileCopyrightText = "NONE"
34-
SPDX-License-Identifier = "CC0-1.0"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
SPDX-FileCopyrightText: Copyright 2025 gematik GmbH
2+
3+
SPDX-License-Identifier: Apache-2.0
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
17+
*******
18+
19+
For additional notes and disclaimer from gematik and in case of changes by gematik,
20+
find details in the "Readme" file.

0 commit comments

Comments
 (0)