Skip to content

Commit 5db8748

Browse files
committed
refactor: REUSE tool setup in UI5 CLI repository
1 parent 8e00f82 commit 5db8748

File tree

15 files changed

+114
-48
lines changed

15 files changed

+114
-48
lines changed

.github/workflows/reuse-compliance.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,20 @@ jobs:
1515
compliance-check:
1616
name: Compliance Check
1717
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
package:
21+
- "."
22+
- "packages/builder"
23+
- "packages/cli"
24+
- "packages/documentation"
25+
- "packages/fs"
26+
- "packages/logger"
27+
- "packages/project"
28+
- "packages/server"
1829
steps:
1930
- uses: actions/checkout@v5
20-
- name: Execute REUSE Compliance Check
31+
- name: Execute REUSE Compliance Check for ${{ matrix.package }}
2132
uses: fsfe/reuse-action@v6
33+
with:
34+
args: --root ${{ matrix.package }} lint

LICENSES/MIT.txt

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

REUSE.toml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,16 @@ version = 1
22
SPDX-PackageName = "ui5-cli"
33
SPDX-PackageSupplier = "SAP OpenUI5 <[email protected]>"
44
SPDX-PackageDownloadLocation = "https://github.com/UI5/cli"
5-
SPDX-PackageComment = "The code in this project may include calls to APIs (“API Calls”) of\n SAP or third-party products or services developed outside of this project\n (“External Products”).\n “APIs” means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project’s code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
5+
SPDX-PackageComment = "The code in this project may include calls to APIs ("API Calls") of\n SAP or third-party products or services developed outside of this project\n ("External Products").\n "APIs" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
66

77
[[annotations]]
8-
path = "**"
8+
path = ["docs/**", "examples/**", "resources/**", "rfcs/**", "scripts/**", "site/**", ".github/**", ".husky/**", ".vscode/**"]
99
precedence = "aggregate"
1010
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and UI5 CLI contributors"
1111
SPDX-License-Identifier = "Apache-2.0"
1212

1313
[[annotations]]
14-
path = "packages/server/lib/middleware/serveIndex/**"
14+
path = [".editorconfig", ".gitattributes", ".gitignore", ".licensee.json", ".npmrc", "audit-ci.jsonc", "CODE_OF_CONDUCT.md", "commitlint.config.mjs", "CONTRIBUTING.md", "eslint.common.config.js", "eslint.config.js", "LICENSE.txt", "package-lock.json", "package.json", "README.md", "REUSE_CLEANUP_SUMMARY.md", "REUSE.toml", "SUPPORT.md"]
1515
precedence = "aggregate"
16-
SPDX-FileCopyrightText = ["2010 Sencha Inc.", "2011 LearnBoost", "2011 TJ Holowaychuk", "2014-2015 Douglas Christopher Wilson"]
17-
SPDX-License-Identifier = "MIT"
18-
19-
[[annotations]]
20-
path = "packages/server/lib/middleware/testRunner/**"
21-
precedence = "aggregate"
22-
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors"
23-
SPDX-License-Identifier = "Apache-2.0"
24-
25-
[[annotations]]
26-
path = "packages/builder/lib/processors/jsdoc/lib/**"
27-
precedence = "aggregate"
28-
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors"
16+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and UI5 CLI contributors"
2917
SPDX-License-Identifier = "Apache-2.0"
30-
31-
[[annotations]]
32-
path = "packages/documentation/.vitepress/**"
33-
precedence = "aggregate"
34-
SPDX-FileCopyrightText = ["2019-present, Konrad Kost, Holger Schäfer, Yuxi (Evan) and VitePress contributors"]
35-
SPDX-License-Identifier = "MIT"

packages/builder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> Modules for building UI5 projects
55
> Part of the [UI5 CLI](https://github.com/UI5/cli)
66
7-
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/ui5-builder)](https://api.reuse.software/info/github.com/SAP/ui5-builder)
7+
[![REUSE status](https://api.reuse.software/badge/github.com/UI5/cli)](https://api.reuse.software/info/github.com/UI5/cli)
88
[![npm Package Version](https://badge.fury.io/js/%40ui5%2Fbuilder.svg)](https://www.npmjs.com/package/@ui5/builder)
99
[![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-builder/badge.svg)](https://coveralls.io/github/SAP/ui5-builder)
1010

packages/builder/REUSE.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version = 1
2+
SPDX-PackageName = "ui5-builder"
3+
SPDX-PackageSupplier = "SAP OpenUI5 <[email protected]>"
4+
SPDX-PackageDownloadLocation = "https://github.com/SAP/ui5-builder"
5+
SPDX-PackageComment = "The code in this project may include calls to APIs ("API Calls") of\n SAP or third-party products or services developed outside of this project\n ("External Products").\n "APIs" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
6+
7+
[[annotations]]
8+
path = "**"
9+
precedence = "aggregate"
10+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and UI5 CLI contributors"
11+
SPDX-License-Identifier = "Apache-2.0"
12+
13+
[[annotations]]
14+
path = "lib/processors/jsdoc/lib/**"
15+
precedence = "aggregate"
16+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors"
17+
SPDX-License-Identifier = "Apache-2.0"

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> `ui5` Command Line Interface
55
> Part of the [UI5 CLI](https://github.com/UI5/cli)
66
7-
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/ui5-cli)](https://api.reuse.software/info/github.com/SAP/ui5-cli)
7+
[![REUSE status](https://api.reuse.software/badge/github.com/UI5/cli)](https://api.reuse.software/info/github.com/UI5/cli)
88
[![npm Package Version](https://badge.fury.io/js/%40ui5%2Fcli.svg)](https://www.npmjs.com/package/@ui5/cli)
99
[![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-cli/badge.svg)](https://coveralls.io/github/SAP/ui5-cli)
1010

packages/cli/REUSE.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version = 1
2+
SPDX-PackageName = "ui5-cli"
3+
SPDX-PackageSupplier = "SAP OpenUI5 <[email protected]>"
4+
SPDX-PackageDownloadLocation = "https://github.com/SAP/ui5-cli"
5+
SPDX-PackageComment = "The code in this project may include calls to APIs ("API Calls") of\n SAP or third-party products or services developed outside of this project\n ("External Products").\n "APIs" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
6+
7+
[[annotations]]
8+
path = "**"
9+
precedence = "aggregate"
10+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and UI5 CLI contributors"
11+
SPDX-License-Identifier = "Apache-2.0"

packages/documentation/REUSE.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version = 1
2+
SPDX-PackageName = "ui5-cli-documentation"
3+
SPDX-PackageSupplier = "SAP OpenUI5 <[email protected]>"
4+
SPDX-PackageDownloadLocation = "https://github.com/UI5/cli"
5+
SPDX-PackageComment = "The code in this project may include calls to APIs ("API Calls") of\n SAP or third-party products or services developed outside of this project\n ("External Products").\n "APIs" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
6+
7+
[[annotations]]
8+
path = "**"
9+
precedence = "aggregate"
10+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and UI5 CLI contributors"
11+
SPDX-License-Identifier = "Apache-2.0"
12+
13+
[[annotations]]
14+
path = ".vitepress/**"
15+
precedence = "aggregate"
16+
SPDX-FileCopyrightText = ["2019-present, Konrad Kost, Holger Schäfer, Yuxi (Evan) and VitePress contributors"]
17+
SPDX-License-Identifier = "MIT"

packages/fs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> UI5-specific file system abstraction
55
> Part of the [UI5 CLI](https://github.com/UI5/cli)
66
7-
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/ui5-fs)](https://api.reuse.software/info/github.com/SAP/ui5-fs)
7+
[![REUSE status](https://api.reuse.software/badge/github.com/UI5/cli)](https://api.reuse.software/info/github.com/UI5/cli)
88
[![npm Package Version](https://badge.fury.io/js/%40ui5%2Ffs.svg)](https://www.npmjs.com/package/@ui5/fs)
99
[![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-fs/badge.svg)](https://coveralls.io/github/SAP/ui5-fs)
1010

packages/fs/REUSE.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version = 1
2+
SPDX-PackageName = "ui5-fs"
3+
SPDX-PackageSupplier = "SAP OpenUI5 <[email protected]>"
4+
SPDX-PackageDownloadLocation = "https://github.com/SAP/ui5-fs"
5+
SPDX-PackageComment = "The code in this project may include calls to APIs ("API Calls") of\n SAP or third-party products or services developed outside of this project\n ("External Products").\n "APIs" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
6+
7+
[[annotations]]
8+
path = "**"
9+
precedence = "aggregate"
10+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and UI5 CLI contributors"
11+
SPDX-License-Identifier = "Apache-2.0"

0 commit comments

Comments
 (0)