Skip to content

Commit

Permalink
Add SPDX header to rest of files
Browse files Browse the repository at this point in the history
To make the project compliant with the REUSE spec[1], all files should
have SPDX headers. For simplicity, treat the rest of the files in the
same way we treat code.

Some files in config, examples, and hack directories are not handled
yet, since it is not clear if we own them and which license should be
used.

[1] https://reuse.software/spec/

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs committed Oct 27, 2022
1 parent 47b099f commit 61716f9
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore all files which are not go type
!**/*.go
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

---
# yamllint disable rule:line-length

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

# Binaries for programs and plugins
*.exe
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

# Build the manager binary
FROM golang:1.18 as builder

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

# Enable GOPROXY. This speeds up a lot of vendoring operations.
export GOPROXY=https://proxy.golang.org

Expand Down
3 changes: 3 additions & 0 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

domain: openshift.io
layout:
- go.kubebuilder.io/v3
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: The RamenDR authors
// SPDX-License-Identifier: Apache-2.0

module github.com/ramendr/ramen

go 1.18
Expand Down
2 changes: 2 additions & 0 deletions go.sum.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: The RamenDR authors
SPDX-License-Identifier: Apache-2.0
3 changes: 3 additions & 0 deletions hack/mdl-style.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

all

#Refer below url for more information about the markdown rules.
Expand Down
3 changes: 3 additions & 0 deletions hack/yamlconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

---
# https://yamllint.readthedocs.io/en/stable/configuration.html

Expand Down

0 comments on commit 61716f9

Please sign in to comment.