Skip to content

Commit

Permalink
chore: migrate reuse (#17)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it

It's 2025 and reuse has some deprecation warnings.

#### Which issue(s) this PR fixes

fixes: reuse warnings
  • Loading branch information
hilmarf authored Jan 30, 2025
1 parent 86dc4a5 commit c4d5a13
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 36 deletions.
29 changes: 0 additions & 29 deletions .reuse/dep5

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ The action to execute.

Possible actions are

|Action|Meaning|Inputs|
|------|-------|------|
|`create_component`|create a component folder with component descriptor| `directory`, `component`, `version`, `provider` |
|`add_resources`|add resources/references to an already existing or new component| `directory`, `component`, `version`, `provider`, `resources`, `references`, `templater`, `settings`, `var_values` |
|`add_component`|add component(s) to an extisting or new transport archive| `directory`, `ctf`, `components`, `templater`, `settings`, `var_values` |
|`push_ctf`|push the transport archive. If it does not exist and a component directory is given, the actual component will be used to create the transport archive.| `directory`, `ctf`, `comprepo_url`, `force_push`, `comprepo_user`, `comprepo_password` |
| Action | Meaning | Inputs |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `create_component` | create a component folder with component descriptor | `directory`, `component`, `version`, `provider` |
| `add_resources` | add resources/references to an already existing or new component | `directory`, `component`, `version`, `provider`, `resources`, `references`, `templater`, `settings`, `var_values` |
| `add_component` | add component(s) to an extisting or new transport archive | `directory`, `ctf`, `components`, `templater`, `settings`, `var_values` |
| `push_ctf` | push the transport archive. If it does not exist and a component directory is given, the actual component will be used to create the transport archive. | `directory`, `ctf`, `comprepo_url`, `force_push`, `comprepo_user`, `comprepo_password` |

### `gen` (default gen/ocm)

Expand Down Expand Up @@ -449,6 +449,6 @@ jobs:
## Licensing
Copyright 2024 SAP SE or an SAP affiliate company and Open Component Model contributors.
Copyright 2025 SAP SE or an SAP affiliate company and Open Component Model contributors.
Please see our [LICENSE](LICENSE) for copyright and license information.
Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/open-component-model/ocm-action).
11 changes: 11 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version = 1
SPDX-PackageName = "ocm-action"
SPDX-PackageSupplier = "ospo@sap.com"
SPDX-PackageDownloadLocation = "https://github.com/open-component-model/ocm-action"
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."

[[annotations]]
path = "**"
precedence = "aggregate"
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and Open Component Model contributors"
SPDX-License-Identifier = "Apache-2.0"

0 comments on commit c4d5a13

Please sign in to comment.