From b56016d588e257082123bbe7094c35bf8192b85b Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Fri, 11 Aug 2023 19:31:55 +0200 Subject: [PATCH] chore: update license header Signed-off-by: Massimiliano Giovagnoli --- cmd/contants.go | 14 ++++++++++++++ cmd/root.go | 14 ++++++++++++++ cmd/sync/contants.go | 14 ++++++++++++++ cmd/sync/github/constants.go | 14 ++++++++++++++ cmd/sync/github/sync_github.go | 14 ++++++++++++++ cmd/sync/local/constants.go | 14 ++++++++++++++ cmd/sync/local/sync_local.go | 14 ++++++++++++++ cmd/sync/sync.go | 14 ++++++++++++++ cmd/version/version.go | 14 ++++++++++++++ cmd/version/version_test.go | 14 ++++++++++++++ docs/docs.go | 14 ++++++++++++++ internal/git/git.go | 14 ++++++++++++++ internal/github/github.go | 14 ++++++++++++++ internal/output/output.go | 14 ++++++++++++++ internal/owners/owners.go | 14 ++++++++++++++ internal/owners/owners_suite_test.go | 14 ++++++++++++++ internal/owners/owners_test.go | 14 ++++++++++++++ internal/sync/sync.go | 14 ++++++++++++++ main.go | 14 ++++++++++++++ pkg/peribolos/config.go | 14 ++++++++++++++ pkg/peribolos/peribolos.go | 14 ++++++++++++++ pkg/peribolos/peribolos_suite_test.go | 14 ++++++++++++++ pkg/peribolos/peribolos_test.go | 14 ++++++++++++++ pkg/pgp/pgp.go | 14 ++++++++++++++ pkg/pgp/pgp_suite_test.go | 14 ++++++++++++++ pkg/pgp/pgp_test.go | 14 ++++++++++++++ 26 files changed, 364 insertions(+) diff --git a/cmd/contants.go b/cmd/contants.go index 11df9c6..f134c9c 100644 --- a/cmd/contants.go +++ b/cmd/contants.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package cmd const ( diff --git a/cmd/root.go b/cmd/root.go index 61d4d2a..f4ff3ad 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package cmd import ( diff --git a/cmd/sync/contants.go b/cmd/sync/contants.go index 8679e94..103b139 100644 --- a/cmd/sync/contants.go +++ b/cmd/sync/contants.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package sync const ( diff --git a/cmd/sync/github/constants.go b/cmd/sync/github/constants.go index 110c101..3e43062 100644 --- a/cmd/sync/github/constants.go +++ b/cmd/sync/github/constants.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package github const ( diff --git a/cmd/sync/github/sync_github.go b/cmd/sync/github/sync_github.go index 561df73..53f0986 100644 --- a/cmd/sync/github/sync_github.go +++ b/cmd/sync/github/sync_github.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package github import ( diff --git a/cmd/sync/local/constants.go b/cmd/sync/local/constants.go index 3d634c9..3a84f5e 100644 --- a/cmd/sync/local/constants.go +++ b/cmd/sync/local/constants.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package local const ( diff --git a/cmd/sync/local/sync_local.go b/cmd/sync/local/sync_local.go index b4d94fe..0311ccc 100644 --- a/cmd/sync/local/sync_local.go +++ b/cmd/sync/local/sync_local.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package local import ( diff --git a/cmd/sync/sync.go b/cmd/sync/sync.go index 2889502..1c751ca 100644 --- a/cmd/sync/sync.go +++ b/cmd/sync/sync.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package sync import ( diff --git a/cmd/version/version.go b/cmd/version/version.go index 0780003..0f98598 100644 --- a/cmd/version/version.go +++ b/cmd/version/version.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package version import ( diff --git a/cmd/version/version_test.go b/cmd/version/version_test.go index cb59027..5d5fa3c 100644 --- a/cmd/version/version_test.go +++ b/cmd/version/version_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package version import ( diff --git a/docs/docs.go b/docs/docs.go index 6393022..d8a4abc 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package main import ( diff --git a/internal/git/git.go b/internal/git/git.go index e4d4647..46e57c5 100644 --- a/internal/git/git.go +++ b/internal/git/git.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package git import ( diff --git a/internal/github/github.go b/internal/github/github.go index 938e5d8..3796572 100644 --- a/internal/github/github.go +++ b/internal/github/github.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package github import ( diff --git a/internal/output/output.go b/internal/output/output.go index 3022bfc..65faa97 100644 --- a/internal/output/output.go +++ b/internal/output/output.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package output import ( diff --git a/internal/owners/owners.go b/internal/owners/owners.go index b3c39ce..931a1df 100644 --- a/internal/owners/owners.go +++ b/internal/owners/owners.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package owners import ( diff --git a/internal/owners/owners_suite_test.go b/internal/owners/owners_suite_test.go index 51b92aa..b4aca7d 100644 --- a/internal/owners/owners_suite_test.go +++ b/internal/owners/owners_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package owners_test import ( diff --git a/internal/owners/owners_test.go b/internal/owners/owners_test.go index 524a6a9..d7e114c 100644 --- a/internal/owners/owners_test.go +++ b/internal/owners/owners_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package owners_test import ( diff --git a/internal/sync/sync.go b/internal/sync/sync.go index 8a91011..d6f1c05 100644 --- a/internal/sync/sync.go +++ b/internal/sync/sync.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package sync // CommonOptions represent the sync command common options. diff --git a/main.go b/main.go index 1b54233..d7466e6 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package main import "github.com/falcosecurity/peribolos-syncer/cmd" diff --git a/pkg/peribolos/config.go b/pkg/peribolos/config.go index 05f23fd..750eaf9 100644 --- a/pkg/peribolos/config.go +++ b/pkg/peribolos/config.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package peribolos import ( diff --git a/pkg/peribolos/peribolos.go b/pkg/peribolos/peribolos.go index fdc742f..8adbf0e 100644 --- a/pkg/peribolos/peribolos.go +++ b/pkg/peribolos/peribolos.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package peribolos import ( diff --git a/pkg/peribolos/peribolos_suite_test.go b/pkg/peribolos/peribolos_suite_test.go index 807d9ac..0b70141 100644 --- a/pkg/peribolos/peribolos_suite_test.go +++ b/pkg/peribolos/peribolos_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package peribolos_test import ( diff --git a/pkg/peribolos/peribolos_test.go b/pkg/peribolos/peribolos_test.go index d8eda85..de72091 100644 --- a/pkg/peribolos/peribolos_test.go +++ b/pkg/peribolos/peribolos_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package peribolos_test import ( diff --git a/pkg/pgp/pgp.go b/pkg/pgp/pgp.go index c23d1e7..d0fc2b7 100644 --- a/pkg/pgp/pgp.go +++ b/pkg/pgp/pgp.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package pgp import ( diff --git a/pkg/pgp/pgp_suite_test.go b/pkg/pgp/pgp_suite_test.go index 2379836..5d54a33 100644 --- a/pkg/pgp/pgp_suite_test.go +++ b/pkg/pgp/pgp_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package pgp_test import ( diff --git a/pkg/pgp/pgp_test.go b/pkg/pgp/pgp_test.go index b1b08c0..1186482 100644 --- a/pkg/pgp/pgp_test.go +++ b/pkg/pgp/pgp_test.go @@ -1,3 +1,17 @@ +// Copyright 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + package pgp_test import (