From 7b4a31b8ce95e4e76c87b2707d7eeaadb7a17386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20U=C4=9EUR?= <39213991+alithethird@users.noreply.github.com> Date: Wed, 8 Jan 2025 18:44:45 +0300 Subject: [PATCH] chore(licence): Update licence years. (#309) * chore(licence): Update licence years. * chore(trivy): Add pebble go net library ignore --- .trivyignore | 1 + actions.yaml | 2 +- charmcraft.yaml | 2 +- config.yaml | 2 +- discourse_rock/rockcraft.yaml | 2 +- discourse_rock/scripts/app_launch.sh | 2 +- generate-src-docs.sh | 2 +- localstack-installation.sh | 2 +- metadata.yaml | 2 +- pyproject.toml | 2 +- src/charm.py | 2 +- src/database.py | 2 +- tests/__init__.py | 2 +- tests/conftest.py | 2 +- tests/integration/__init__.py | 2 +- tests/integration/conftest.py | 2 +- tests/integration/test_charm.py | 2 +- tests/integration/test_db_migration.py | 2 +- tests/integration/test_saml.py | 2 +- tests/integration/test_users.py | 2 +- tests/integration/types.py | 2 +- tests/unit/__init__.py | 2 +- tests/unit/helpers.py | 2 +- tests/unit/test_charm.py | 2 +- tox.ini | 2 +- 25 files changed, 25 insertions(+), 24 deletions(-) diff --git a/.trivyignore b/.trivyignore index d9b3762d..847bfacf 100644 --- a/.trivyignore +++ b/.trivyignore @@ -2,6 +2,7 @@ GHSA-rc23-xxgq-x27g # pebble CVE-2024-34156 +CVE-2024-45338 # shlex from ruby test GHSA-r7qv-8r2h-pg27 # squoosh npm package diff --git a/actions.yaml b/actions.yaml index b70f9c07..0c138ea5 100644 --- a/actions.yaml +++ b/actions.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. anonymize-user: description: Anonymize a user. diff --git a/charmcraft.yaml b/charmcraft.yaml index a41bb190..488334e6 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. # Learn more about charmcraft.yaml configuration at: # https://juju.is/docs/sdk/charmcraft-config diff --git a/config.yaml b/config.yaml index fb0ceeff..bb5d3cfb 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. options: cors_origin: diff --git a/discourse_rock/rockcraft.yaml b/discourse_rock/rockcraft.yaml index 97f8718f..57b32a38 100644 --- a/discourse_rock/rockcraft.yaml +++ b/discourse_rock/rockcraft.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. name: discourse diff --git a/discourse_rock/scripts/app_launch.sh b/discourse_rock/scripts/app_launch.sh index b6d35dc2..710f1078 100755 --- a/discourse_rock/scripts/app_launch.sh +++ b/discourse_rock/scripts/app_launch.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. export UNICORN_BIND_ALL=0.0.0.0 diff --git a/generate-src-docs.sh b/generate-src-docs.sh index 23cb0070..326ae2fd 100755 --- a/generate-src-docs.sh +++ b/generate-src-docs.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. rm -rf src-docs diff --git a/localstack-installation.sh b/localstack-installation.sh index f91372e7..580f1384 100755 --- a/localstack-installation.sh +++ b/localstack-installation.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. pip install pip --upgrade diff --git a/metadata.yaml b/metadata.yaml index 09a952d4..4aa4c701 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. name: discourse-k8s display-name: Discourse diff --git a/pyproject.toml b/pyproject.toml index 1f11d215..ac4a0641 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. [tool.bandit] diff --git a/src/charm.py b/src/charm.py index 9c7989d9..0e8bfc6e 100755 --- a/src/charm.py +++ b/src/charm.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Charm for Discourse on kubernetes.""" diff --git a/src/database.py b/src/database.py index 6dc9a2f6..be2fe37e 100644 --- a/src/database.py +++ b/src/database.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Provide the DatabaseObserver class to handle database relation and state.""" diff --git a/tests/__init__.py b/tests/__init__.py index e3979c0f..dddb292a 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. diff --git a/tests/conftest.py b/tests/conftest.py index 4e4131a6..7b1cb8d6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Module for test customizations.""" diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index e3979c0f..dddb292a 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 267e2f8d..e2803821 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Discourse integration tests fixtures.""" diff --git a/tests/integration/test_charm.py b/tests/integration/test_charm.py index 23de5966..662c59c0 100644 --- a/tests/integration/test_charm.py +++ b/tests/integration/test_charm.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Discourse integration tests.""" diff --git a/tests/integration/test_db_migration.py b/tests/integration/test_db_migration.py index 5197dc96..be4cbce0 100644 --- a/tests/integration/test_db_migration.py +++ b/tests/integration/test_db_migration.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Discourse integration tests.""" diff --git a/tests/integration/test_saml.py b/tests/integration/test_saml.py index ea095361..1f91df72 100644 --- a/tests/integration/test_saml.py +++ b/tests/integration/test_saml.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Discourse integration tests.""" diff --git a/tests/integration/test_users.py b/tests/integration/test_users.py index 5a29899f..d07c4b41 100644 --- a/tests/integration/test_users.py +++ b/tests/integration/test_users.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Discourse integration tests.""" diff --git a/tests/integration/types.py b/tests/integration/types.py index e1711cbe..ce3cbef0 100644 --- a/tests/integration/types.py +++ b/tests/integration/types.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Useful types for integration tests.""" diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index e3979c0f..dddb292a 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. diff --git a/tests/unit/helpers.py b/tests/unit/helpers.py index 72b86d15..5f6c78dd 100644 --- a/tests/unit/helpers.py +++ b/tests/unit/helpers.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """helpers for the unit tests.""" diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py index ecf9ebce..8b9c2f6a 100644 --- a/tests/unit/test_charm.py +++ b/tests/unit/test_charm.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Unit tests for Discourse charm.""" diff --git a/tox.ini b/tox.ini index 18595763..3b1066ec 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. [tox]