From 61633db2a3e31f70f31c8576b15b0e7322210ccd Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 5 Mar 2024 13:06:57 +0200 Subject: [PATCH 1/2] Adjust copyright year Signed-off-by: Stefan Prodan --- cmd/timoni/main.go | 2 +- internal/engine/fetcher/fetcher.go | 2 +- internal/engine/fetcher/fetcher_test.go | 2 +- internal/engine/fetcher/local.go | 2 +- internal/engine/fetcher/local_test.go | 2 +- internal/engine/fetcher/oci.go | 2 +- internal/engine/fetcher/oci_test.go | 2 +- internal/testutils/gomega.go | 5 +++-- internal/testutils/interface.go | 18 +++++++++++++++++- internal/testutils/interface_test.go | 16 ++++++++++++++++ internal/testutils/matchers.go | 16 ++++++++++++++++ internal/testutils/registry.go | 2 +- 12 files changed, 60 insertions(+), 11 deletions(-) diff --git a/cmd/timoni/main.go b/cmd/timoni/main.go index 90897ff5..c55d090b 100644 --- a/cmd/timoni/main.go +++ b/cmd/timoni/main.go @@ -33,7 +33,7 @@ import ( var ( VERSION = "0.0.0-dev.0" - CUE_VERSION = "0.7.0" + CUE_VERSION = "0.7.1" ) var rootCmd = &cobra.Command{ diff --git a/internal/engine/fetcher/fetcher.go b/internal/engine/fetcher/fetcher.go index 78c3264d..4ef0d026 100644 --- a/internal/engine/fetcher/fetcher.go +++ b/internal/engine/fetcher/fetcher.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/internal/engine/fetcher/fetcher_test.go b/internal/engine/fetcher/fetcher_test.go index 49c0809e..f043789e 100644 --- a/internal/engine/fetcher/fetcher_test.go +++ b/internal/engine/fetcher/fetcher_test.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/internal/engine/fetcher/local.go b/internal/engine/fetcher/local.go index 2429a2f7..6341597f 100644 --- a/internal/engine/fetcher/local.go +++ b/internal/engine/fetcher/local.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/internal/engine/fetcher/local_test.go b/internal/engine/fetcher/local_test.go index f62e66f6..de4efd82 100644 --- a/internal/engine/fetcher/local_test.go +++ b/internal/engine/fetcher/local_test.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/internal/engine/fetcher/oci.go b/internal/engine/fetcher/oci.go index b9b2c9a6..abae2fc8 100644 --- a/internal/engine/fetcher/oci.go +++ b/internal/engine/fetcher/oci.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/internal/engine/fetcher/oci_test.go b/internal/engine/fetcher/oci_test.go index c4c5bc87..29a81142 100644 --- a/internal/engine/fetcher/oci_test.go +++ b/internal/engine/fetcher/oci_test.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/internal/testutils/gomega.go b/internal/testutils/gomega.go index a3a47c1d..684b00ac 100644 --- a/internal/testutils/gomega.go +++ b/internal/testutils/gomega.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,8 +17,9 @@ limitations under the License. package testutils import ( - "github.com/onsi/gomega" "testing" + + "github.com/onsi/gomega" ) type WithT struct { diff --git a/internal/testutils/interface.go b/internal/testutils/interface.go index 30888423..f79f7948 100644 --- a/internal/testutils/interface.go +++ b/internal/testutils/interface.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 Stefan Prodan + +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 testutils import ( @@ -8,7 +24,7 @@ import ( "github.com/onsi/gomega/types" ) -// Implements checks if the object implements the interface +// Implement checks if the object implements the interface func Implement(expected interface{}) types.GomegaMatcher { return &implementsMatcher{ expected: expected, diff --git a/internal/testutils/interface_test.go b/internal/testutils/interface_test.go index afea6287..c8b2b308 100644 --- a/internal/testutils/interface_test.go +++ b/internal/testutils/interface_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 Stefan Prodan + +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 testutils import ( diff --git a/internal/testutils/matchers.go b/internal/testutils/matchers.go index 0d36aca7..fbb960ac 100644 --- a/internal/testutils/matchers.go +++ b/internal/testutils/matchers.go @@ -1,3 +1,19 @@ +/* +Copyright 2024 Stefan Prodan + +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 testutils import ( diff --git a/internal/testutils/registry.go b/internal/testutils/registry.go index e79248a0..36cc49a5 100644 --- a/internal/testutils/registry.go +++ b/internal/testutils/registry.go @@ -1,5 +1,5 @@ /* -Copyright 2023 Stefan Prodan +Copyright 2024 Stefan Prodan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From a88e06e4227a2518db12691a1e3bfe7c2bbb0f8b Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 5 Mar 2024 13:09:41 +0200 Subject: [PATCH 2/2] Update website copyright year Signed-off-by: Stefan Prodan --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 839cd2b6..382700d8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,7 +6,7 @@ site_url: https://timoni.sh repo_name: stefanprodan/timoni repo_url: https://github.com/stefanprodan/timoni edit_uri: "" -copyright: Copyright © 2023 Stefan Prodan +copyright: Copyright © 2024 Stefan Prodan home: image: images/logo_icons.svg