From 7569824ae072f5e9f8a5c2c574ad3441ae26d231 Mon Sep 17 00:00:00 2001 From: arturo-seijas Date: Thu, 4 Jan 2024 11:28:14 +0100 Subject: [PATCH] Update license headers date --- actions.yaml | 2 +- charmcraft.yaml | 2 +- config.yaml | 2 +- generate-src-docs.sh | 2 +- lib/charms/data_platform_libs/v0/data_interfaces.py | 2 +- lib/charms/nginx_ingress_integrator/v0/nginx_route.py | 2 +- metadata.yaml | 2 +- pyproject.toml | 2 +- src/charm.py | 2 +- src/cos.py | 2 +- src/exceptions.py | 2 +- src/state.py | 2 +- src/types_.py | 2 +- tests/__init__.py | 2 +- tests/conftest.py | 2 +- tests/integration/conftest.py | 2 +- tests/integration/helper.py | 2 +- tests/integration/pre_run_script.sh | 2 +- tests/integration/pre_run_script_juju3.sh | 2 +- tests/integration/test_addon.py | 2 +- tests/integration/test_core.py | 2 +- tests/integration/test_cos_grafana.py | 2 +- tests/integration/test_cos_loki.py | 2 +- tests/integration/test_cos_prometheus.py | 2 +- tests/integration/test_external.py | 2 +- tests/integration/test_ingress.py | 2 +- tests/integration/test_machine.py | 2 +- tests/unit/__init__.py | 2 +- tests/unit/conftest.py | 2 +- tests/unit/test_charm.py | 2 +- tests/unit/wordpress_mock.py | 2 +- tox.ini | 2 +- wordpress_rock/rockcraft.yaml | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/actions.yaml b/actions.yaml index 1916845b..8a12b36e 100644 --- a/actions.yaml +++ b/actions.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. get-initial-password: description: > diff --git a/charmcraft.yaml b/charmcraft.yaml index f838a469..011d197a 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. type: charm bases: diff --git a/config.yaml b/config.yaml index e4e38817..8a8a89c8 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. options: blog_hostname: diff --git a/generate-src-docs.sh b/generate-src-docs.sh index 62c33935..20ce5990 100755 --- a/generate-src-docs.sh +++ b/generate-src-docs.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. lazydocs --no-watermark --output-path src-docs src/*.py diff --git a/lib/charms/data_platform_libs/v0/data_interfaces.py b/lib/charms/data_platform_libs/v0/data_interfaces.py index 714eace4..d7efbea3 100644 --- a/lib/charms/data_platform_libs/v0/data_interfaces.py +++ b/lib/charms/data_platform_libs/v0/data_interfaces.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # # 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/lib/charms/nginx_ingress_integrator/v0/nginx_route.py b/lib/charms/nginx_ingress_integrator/v0/nginx_route.py index b8483db5..a33bde1e 100644 --- a/lib/charms/nginx_ingress_integrator/v0/nginx_route.py +++ b/lib/charms/nginx_ingress_integrator/v0/nginx_route.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # Licensed under the Apache2.0, see LICENCE file in charm source for details. """Library for the nginx-route relation. diff --git a/metadata.yaml b/metadata.yaml index 4db45164..8367b433 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. name: wordpress-k8s display-name: WordPress diff --git a/pyproject.toml b/pyproject.toml index 4fef92e1..d2f43d18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. [tool.bandit] exclude_dirs = ["/venv/"] diff --git a/src/charm.py b/src/charm.py index be1fc9fb..9275cb10 100755 --- a/src/charm.py +++ b/src/charm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Charm for WordPress on kubernetes.""" diff --git a/src/cos.py b/src/cos.py index 3f773256..860cc585 100644 --- a/src/cos.py +++ b/src/cos.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """COS integration for WordPress charm.""" diff --git a/src/exceptions.py b/src/exceptions.py index 2cd74a88..ac784da5 100644 --- a/src/exceptions.py +++ b/src/exceptions.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """User-defined exceptions used by WordPress charm.""" diff --git a/src/state.py b/src/state.py index fae47fff..44391d71 100644 --- a/src/state.py +++ b/src/state.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Wordpress charm state.""" diff --git a/src/types_.py b/src/types_.py index da09f75c..a13bbd87 100644 --- a/src/types_.py +++ b/src/types_.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Module for commonly used internal types in WordPress charm.""" diff --git a/tests/__init__.py b/tests/__init__.py index 2fb9958a..289a5245 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Tests module.""" diff --git a/tests/conftest.py b/tests/conftest.py index e2ba0775..74d7dac7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Fixtures for Wordpress charm tests.""" diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 8afdfabe..afa8a2de 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Fixtures for the wordpress integration tests.""" diff --git a/tests/integration/helper.py b/tests/integration/helper.py index cc67684a..41c1e771 100644 --- a/tests/integration/helper.py +++ b/tests/integration/helper.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Helper classes and functions for integration tests.""" diff --git a/tests/integration/pre_run_script.sh b/tests/integration/pre_run_script.sh index d4d58f5f..6193124b 100644 --- a/tests/integration/pre_run_script.sh +++ b/tests/integration/pre_run_script.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. # Pre-run script for integration test operator-workflows action. diff --git a/tests/integration/pre_run_script_juju3.sh b/tests/integration/pre_run_script_juju3.sh index ef7171c4..572718d7 100644 --- a/tests/integration/pre_run_script_juju3.sh +++ b/tests/integration/pre_run_script_juju3.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. # Pre-run script for integration test operator-workflows action. diff --git a/tests/integration/test_addon.py b/tests/integration/test_addon.py index 4ad35c78..d0729b94 100644 --- a/tests/integration/test_addon.py +++ b/tests/integration/test_addon.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for WordPress charm COS addon management.""" diff --git a/tests/integration/test_core.py b/tests/integration/test_core.py index 235e3950..b5db6ce8 100644 --- a/tests/integration/test_core.py +++ b/tests/integration/test_core.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for WordPress charm core functionality.""" diff --git a/tests/integration/test_cos_grafana.py b/tests/integration/test_cos_grafana.py index 5d83815c..37d7c433 100644 --- a/tests/integration/test_cos_grafana.py +++ b/tests/integration/test_cos_grafana.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. # pylint: disable=protected-access,too-many-locals diff --git a/tests/integration/test_cos_loki.py b/tests/integration/test_cos_loki.py index 8ef65744..b695f298 100644 --- a/tests/integration/test_cos_loki.py +++ b/tests/integration/test_cos_loki.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. # pylint: disable=protected-access,too-many-locals diff --git a/tests/integration/test_cos_prometheus.py b/tests/integration/test_cos_prometheus.py index 9bce841b..d91b445b 100644 --- a/tests/integration/test_cos_prometheus.py +++ b/tests/integration/test_cos_prometheus.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. # pylint: disable=protected-access,too-many-locals diff --git a/tests/integration/test_external.py b/tests/integration/test_external.py index 3b847aad..09fede1a 100644 --- a/tests/integration/test_external.py +++ b/tests/integration/test_external.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for WordPress charm external service integration.""" diff --git a/tests/integration/test_ingress.py b/tests/integration/test_ingress.py index b50b10a0..277aaae7 100644 --- a/tests/integration/test_ingress.py +++ b/tests/integration/test_ingress.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for WordPress charm ingress integration.""" diff --git a/tests/integration/test_machine.py b/tests/integration/test_machine.py index 1eb031a8..0144d631 100644 --- a/tests/integration/test_machine.py +++ b/tests/integration/test_machine.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for WordPress charm core functionality with mysql machine charm.""" diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index db3bfe1a..e3979c0f 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index 125dcd17..5f77976d 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """Fixtures for WordPress charm unit tests.""" diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py index fd625da4..5a47d407 100644 --- a/tests/unit/test_charm.py +++ b/tests/unit/test_charm.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. """WordPress charm unit tests.""" diff --git a/tests/unit/wordpress_mock.py b/tests/unit/wordpress_mock.py index bf4e2336..d8bcf0e9 100644 --- a/tests/unit/wordpress_mock.py +++ b/tests/unit/wordpress_mock.py @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. # pylint:disable=invalid-name,protected-access,unused-argument diff --git a/tox.ini b/tox.ini index 80288491..538cdca8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. [tox] skipsdist=True diff --git a/wordpress_rock/rockcraft.yaml b/wordpress_rock/rockcraft.yaml index 1a59a940..a4cf57a1 100644 --- a/wordpress_rock/rockcraft.yaml +++ b/wordpress_rock/rockcraft.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Canonical Ltd. +# Copyright 2024 Canonical Ltd. # See LICENSE file for licensing details. name: wordpress