Skip to content

Commit

Permalink
correct license years & preamble (#634)
Browse files Browse the repository at this point in the history
* add missing preambles

* remove copyright year from preamble

* provide year range in LICENSE
  • Loading branch information
intrand committed Sep 20, 2022
1 parent cccd446 commit 93633d6
Show file tree
Hide file tree
Showing 35 changed files with 85 additions and 55 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2017, FairwindsOps Inc.
Copyright 2017-2022, FairwindsOps Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions cmd/root_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
12 changes: 12 additions & 0 deletions cmd/update.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 (
Expand Down
2 changes: 0 additions & 2 deletions cmd/validation.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions cmd/validation_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
12 changes: 12 additions & 0 deletions pkg/course/argocd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 course

// We may use these imports to track ArgoCD Applications exactly. However,
Expand Down
2 changes: 0 additions & 2 deletions pkg/course/course.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/course/course_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
12 changes: 12 additions & 0 deletions pkg/course/namespace.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 course

import (
Expand Down
12 changes: 12 additions & 0 deletions pkg/course/namespace_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 course

import (
Expand Down
2 changes: 0 additions & 2 deletions pkg/course/shellSecrets.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/course/shellSecrets_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/helm/helm.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
12 changes: 12 additions & 0 deletions pkg/reckoner/argocd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 reckoner

import (
Expand Down
12 changes: 12 additions & 0 deletions pkg/reckoner/argocd_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 reckoner

import (
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/client.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/diff.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/diff_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/git.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/hook.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/import.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/import_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/manifest_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/manifests.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/namespace.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/namespace_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/plot.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/plot_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/split.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2022 Fairwinds
//
// 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
Expand Down
12 changes: 12 additions & 0 deletions pkg/reckoner/split_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// 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 reckoner

import (
Expand Down
2 changes: 0 additions & 2 deletions pkg/reckoner/update.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down
2 changes: 0 additions & 2 deletions pkg/secrets/secrets.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copyright 2020 Fairwinds
//
// 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
Expand Down

0 comments on commit 93633d6

Please sign in to comment.