Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added REUSE compliance check #3573

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
06eb4ee
feat: added REUSE compliance check
mfranzke Dec 9, 2024
e2ac9af
Merge branch 'main' into 3572-integrate-reuse
mfranzke Jan 21, 2025
ecaf958
make repository REUSE compliant
mxmehl Jan 21, 2025
edd2719
showcase custom DB license for trademarks
mxmehl Jan 21, 2025
d5dcc41
feat: added further license definitions
mfranzke Jan 21, 2025
c104439
feat: added further configuration
mfranzke Jan 21, 2025
81e8994
feat: added further configuration
mfranzke Jan 21, 2025
bb128af
feat: added further configuration
mfranzke Jan 21, 2025
1e255a0
feat: added further configuration
mfranzke Jan 21, 2025
8c2b0a6
feat: added further configuration
mfranzke Jan 21, 2025
ee1e8e5
feat: added further configuration
mfranzke Jan 21, 2025
3fca4e4
feat: added further configuration
mfranzke Jan 21, 2025
a8c9b20
refactor: simplification
mfranzke Jan 21, 2025
894c1fa
refactor: we won't need those configuration files due to global file
mfranzke Jan 21, 2025
83280f9
feat: added further configuration
mfranzke Jan 21, 2025
27ad672
refactor: optimization
mfranzke Jan 21, 2025
a397a6e
refactor: integrated license information into MDX file
mfranzke Jan 21, 2025
a6b0160
refactor: integrated mdx license into the files
mfranzke Jan 21, 2025
9cdfb77
Update 99-reuse-compliance-check.yml
mfranzke Jan 21, 2025
151d3ba
Update 99-reuse-compliance-check.yml
mfranzke Jan 22, 2025
0adec7e
refactor: mdx isn't supported at the moment
mfranzke Jan 23, 2025
0def917
feat: added relevant license files
mfranzke Jan 23, 2025
ab4929b
refactor: we shouldn't (git) ignore necessary license files
mfranzke Jan 23, 2025
cd68e5a
refactor: specified file pattern
mfranzke Jan 23, 2025
db62b94
refactor: we shouldn't (git) ignore necessary license files
mfranzke Jan 23, 2025
7a302e7
refactor: resilience
mfranzke Jan 23, 2025
33065db
fix: correctly define URL
mfranzke Jan 23, 2025
d056648
refactor: added further licenses
mfranzke Jan 23, 2025
c9ecd65
refactor: added license information
mfranzke Jan 23, 2025
09cbfb1
refactor: added license
mfranzke Jan 23, 2025
346619c
refactor: we shouldn't ignore license files
mfranzke Jan 23, 2025
c769393
Merge branch 'main' into 3572-integrate-reuse
mfranzke Jan 23, 2025
81be958
refactor: added missing licenses
mfranzke Jan 23, 2025
bbb8c69
Update README.md
mfranzke Jan 27, 2025
34a72be
Update REUSE.toml
mfranzke Jan 27, 2025
7c2f496
Apply suggestions from code review
mfranzke Jan 27, 2025
3f0fac2
Update db_logo.svg.license
mfranzke Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .config/.lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
'*.md': 'markdownlint -c .config/.markdown-lint.yml',
// In case that we're changing the stylelints configuration files content, we would need to validate it
'.stylelintrc.*': 'stylelint --validate',
'.stylelintrc.*': 'stylelint --validate --allow-empty-input',
'stylelint.config.*': 'stylelint --validate',
// and elsewhere we don't, compare to https://github.com/stylelint/stylelint/pull/8009
'*.{css,scss}': 'stylelint --fix --allow-empty-input --no-validate',
Expand Down
7 changes: 7 additions & 0 deletions .config/REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version = 1

# A simple glob of all files in resources/img/
[[annotations]]
path = ["*.json", "*.js", "*.yml"]
SPDX-FileCopyrightText = "DB Systel GmbH"
SPDX-License-Identifier = "CC0-1.0"
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# https://editorconfig.org/
Expand Down
4 changes: 4 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH

# SPDX-License-Identifier: Apache-2.0

# It will force the user to add an e-mail for this project, before committing.
[email protected]
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

**/build
**/public
**/out
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🐞 Bug Report
description: Create a report to help us improve
labels: [bug]
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-FileCopyrightText: 2025 DB Systel GmbH

SPDX-License-Identifier: Apache-2.0
-->

## Proposed changes

<!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. -->
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/cancel-workflow/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "Cancel Workflow"
description: "Cancel this workflow on failure"
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/extract-branch/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "Extract branch name"
description: "Extract branch name based on pr or push"
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/npm-cache/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "NPM Cache Action"
description: "Initialize NPM Cache"
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/playwright-cache/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "Playwright Cache Action"
description: "Initialize Playwright Cache"
Expand Down
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
version: 2
updates:
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-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
# Add 'cicd' label to any file changes inside .github dir
🚢📀cicd:
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/build-gh-page.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

if [[ $NAME == "true" ]]; then
echo "Erro: Missing NAME variable"
exit 1
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/cleanup-gh-pages.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2025 DB Systel GmbH
//
// SPDX-License-Identifier: Apache-2.0

/*
* Fetches all branches and deletes all review-branches in github pages
*/
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/get-playwright-version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2025 DB Systel GmbH
//
// SPDX-License-Identifier: Apache-2.0

import packageJson from '../../package.json' assert { type: 'json' };

const getPlaywrightVersion = () => {
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/get-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

if [[ $GITHUB_REF == refs/tags/v* ]]; then
if [[ $GITHUB_ACTOR != 'dependabot[bot]' ]]; then
if [[ $GITHUB_COMMITISH == 'main' && $GITHUB_PRE_RELEASE == false ]]; then
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/package-version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

SEMVER_VERSION=$(npx find-versions-cli "$TAG")
if [[ $RELEASE == "true" ]]; then
if [[ $SEMVER_VERSION == *-* ]]; then
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/publish-npm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

if [[ -z $VALID_SEMVER_VERSION ]]; then
echo "Version is missing!"
exit 1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/00-init.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: Init Workflow

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/00-scan-secrets.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: Leaked Secrets Scan

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-build-outputs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Build outputs

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-build-packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Build Packages

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-build-patternhub.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Build Patternhub

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-build-showcases.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Build Showcases

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-get-playwright-version.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: 🎭 Get playwright version

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-get-publish-version.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Get and save publish version

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-init-playwright.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🎭 Init Playwright

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: Lint

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/01-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: Test

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/02-e2e-foundations.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🎭 Playwright E2E

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/02-e2e-regenerate.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🎭 Playwright E2E

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/02-e2e-screen-reader.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🎭 Playwright Screen Reader

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/02-e2e-showcases.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🎭 Playwright E2E

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/02-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

name: 🎭 Playwright E2E

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/03-deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Deploy to gh-pages

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Publish all Packages to Registries

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/99-add-url-comment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: 💬 Add url for gh-page as issue comment to PR

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/99-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Dependabot auto-merge
on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/99-codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "CodeQL"
on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/99-dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "Dependency Review"
on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/99-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: "Pull Request Labeler"
on:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/99-reuse-compliance-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0

name: REUSE Compliance Check

on: [push, pull_request]

jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: REUSE Compliance Check
uses: fsfe/reuse-action@v5
4 changes: 4 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Cleans all preview pages for gh-pages

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Default Pipeline

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull-request-opened.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: On-Pull-Request opened

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: On-PR to main

Expand Down
Loading
Loading