Skip to content

feat: added REUSE compliance check #3573

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

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 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
d1a31ad
Merge branch 'main' into 3572-integrate-reuse
mfranzke Feb 26, 2025
e70e662
refactor: further annotations
mfranzke Feb 26, 2025
4ef1c92
refactor: further annotations
mfranzke Feb 26, 2025
d385a4e
refactor: further annotations
mfranzke Feb 26, 2025
e68de31
feat: added license file
mfranzke Feb 26, 2025
c0a111d
refactor: removed this obsolete declaration
mfranzke Feb 26, 2025
e95a104
refactor: necessary renaming
mfranzke Mar 10, 2025
3bfc6ab
Merge branch 'main' into 3572-integrate-reuse
mfranzke Mar 12, 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
  •  
  •  
  •  
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/
Copy link
Preview

Copilot AI Mar 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment in REUSE.toml indicates that the glob targets files in 'resources/img/', but the defined paths (['.json', '.js', '*.yml']) do not match that directory. Please update the comment or adjust the glob patterns to ensure consistency.

Copilot uses AI. Check for mistakes.

[[annotations]]
path = ["*.json", "*.js", "*.yml"]
SPDX-FileCopyrightText = "DB Systel GmbH"
SPDX-License-Identifier = "Apache-2.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 .eslintrc.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

/* We use this for IntelliJ IDEs to fetch xo config */
export default {
eslintConfig: {
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/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
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-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

---
name: Test and publish to package registries after new GitHub release

Expand Down
10 changes: 10 additions & 0 deletions .gitignore
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

.DS_Store
node_modules
npm-debug.log
Expand Down Expand Up @@ -63,6 +67,12 @@ showcases/patternhub/public/iframe-resizer/*
/output/stencil/loader
/output/stencil/www
**/.angular

/scripts/public/
/scripts/gh-pages.tar.gz
!/scripts/tests/fixtures/out

# Under no circumstances we should (git) ignore the necessary license files
!**/*.license
# … but this one file should actually be ignored
.env.license
4 changes: 4 additions & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0

_
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
# SPDX-License-Identifier: Apache-2.0
commitlint --edit "$1" --config .config/.commitlintrc.json
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
# SPDX-License-Identifier: Apache-2.0
validate-branch-name
node scripts/check-commit-mail.js
lint-staged --config .config/.lintstagedrc.js
Expand Down
3 changes: 3 additions & 0 deletions .markdownlintignore.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2025 DB Systel GmbH

SPDX-License-Identifier: Apache-2.0
3 changes: 3 additions & 0 deletions .np-config.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2025 DB Systel GmbH

SPDX-License-Identifier: Apache-2.0
4 changes: 4 additions & 0 deletions .npmignore
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/
Expand Down
Loading
Loading