Skip to content
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

docs: add SPDX license identifier #330

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ linters-settings:
const:
AUTHORS: The Falco Authors
template: |-
Copyright {{ YEAR }} {{ AUTHORS }}
SPDX-License-Identifier: Apache-2.0
Copyright (C) {{ YEAR }} {{ AUTHORS }}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/artifact.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
leogr marked this conversation as resolved.
Show resolved Hide resolved
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/follow/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/follow/follow.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/info/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/info/info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/constants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/deps.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/deps_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/install.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/install_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/install/install_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/list/artifact_list.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/list/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/search/artifact_search.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/artifact/search/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/cli_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/add/add.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/add/add_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/add/add_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/add/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/index.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/list/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/list/list.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/remove/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/remove/remove.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/update/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/index/update/update.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/basic/basic.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/basic/basic_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/basic/basic_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/basic/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/gcp/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/gcp/gcp.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/oauth/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/oauth/oauth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/oauth/oauth_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/auth/oauth/oauth_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/pull/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/pull/pull.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/pull/pull_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/pull/pull_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/push/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/push/push.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/push/push_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/push/push_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/registry/registry.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion cmd/tls/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2023 The Falco Authors
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2023 The Falco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Loading