Skip to content

Commit

Permalink
fix to become reuse compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
szeort committed Sep 25, 2024
1 parent ba996ae commit 66026c7
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .reuse/dep5

This file was deleted.

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 = "cfapi"
SPDX-PackageSupplier = "[email protected]"
SPDX-PackageDownloadLocation = "https://github.com/kyma-project/cfapi"
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 = "2023 SAP SE or an SAP affiliate company and Kyma contributors"
SPDX-License-Identifier = "Apache-2.0"
5 changes: 5 additions & 0 deletions api/v1alpha1/cfapi_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

// Package v1alpha1 contains API Schema definitions for the component v1alpha1 API group
// +kubebuilder:object:generate=true
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/managed_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

// Package v1alpha1 contains API Schema definitions for the component v1alpha1 API group
// +kubebuilder:object:generate=true
Expand Down
6 changes: 6 additions & 0 deletions api/v1alpha1/status.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

package v1alpha1

type State string
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions controllers/cfapi_auth.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

package controllers

import (
Expand Down
5 changes: 5 additions & 0 deletions controllers/cfapi_controller_rendered_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

package controllers

Expand Down
6 changes: 6 additions & 0 deletions controllers/cfapi_controller_rendered_resources_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

package controllers_test

import (
Expand Down
5 changes: 5 additions & 0 deletions controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

package controllers_test

Expand Down
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
* SPDX-FileCopyrightText: 2024 Samir Zeort <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

package main

Expand Down

0 comments on commit 66026c7

Please sign in to comment.