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

Update the copyright statements to match CNCF recs #1373

Merged
merged 1 commit into from
May 21, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@v2

- name: Check License Headers
uses: nilp0inter/search-legal-headers@v0.1.0
uses: kt3k/license_checker@v1.0.6

licenses:
name: Dependency Licenses
Expand Down
4 changes: 0 additions & 4 deletions .legal.json

This file was deleted.

32 changes: 32 additions & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"**/*.{go,proto}": [
"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."
],
"ignore": [
"vendor/"
]
},
{
"**/*.{go,proto}": [
"SPDX-License-Identifier: Apache-2.0",
"Copyright Contributors to the Submariner project."
],
"ignore": [
"pkg/client/clientset/",
"pkg/internal/",
"vendor/"
]
},
{
"LICENSE": "Apache License"
}
]
4 changes: 3 additions & 1 deletion apis/addtoscheme_submariner_v1alpha1.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion apis/apis.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion apis/submariner/group.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion apis/submariner/v1alpha1/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion apis/submariner/v1alpha1/register.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion apis/submariner/v1alpha1/servicediscovery_types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion apis/submariner/v1alpha1/submariner_types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

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 apis/submariner/v1alpha1/zz_generated.deepcopy.go

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

4 changes: 3 additions & 1 deletion controllers/controllers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/helpers/helpers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/metrics/metrics.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/broker_controller.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/netwokplugin_syncer.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/submariner_controller.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/submariner_controller_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/submariner_metrics.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/submariner_networkdiscovery.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion controllers/submariner/submariner_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
5 changes: 3 additions & 2 deletions hack/boilerplate.go.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0

© YEAR Red Hat, Inc. and others.
Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -13,4 +14,4 @@ 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.
*/
*/
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/broker/broker_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/broker/ensure.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/broker/globalcidr_cm.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/broker/namespace.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/broker/rbac.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/globalnet/globalnet.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/globalnet/globalnet_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/globalnet/globalnet_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2021 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/canal.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/canal_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/generic.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/generic_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/network.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/network_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion pkg/discovery/network/openshift4.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
© 2019 Red Hat, Inc. and others.
SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

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