From 3cf9f05cbd622cc8c1a9b16a366b661a53d076cf Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Tue, 7 Jan 2025 08:25:54 +0100 Subject: [PATCH] Update copyright notice (#44) * update copyright * remove blank lines --- LICENSE | 2 +- app.py | 2 +- charm/charmcraft.yaml | 2 +- charm/lib/charms/saml_integrator/v0/saml.py | 2 +- charm/lib/charms/traefik_k8s/v2/ingress.py | 2 +- charm/src/charm.py | 2 +- charm/tox.ini | 2 +- generate-src-docs.sh | 4 ++-- rockcraft.yaml | 2 +- tests/conftest.py | 4 ++-- tests/integration/__init__.py | 4 ++-- tests/integration/conftest.py | 2 +- tests/integration/test_app.py | 2 +- tests/integration/test_webhook_redelivery.py | 2 +- tests/unit/__init__.py | 4 ++-- tests/unit/helpers.py | 2 +- tests/unit/test_app.py | 4 ++-- tests/unit/test_mq.py | 2 +- tests/unit/test_parse.py | 2 +- tests/unit/test_router.py | 2 +- tests/unit/test_validation.py | 2 +- tests/unit/test_webhook_redelivery.py | 2 +- tox.ini | 2 +- webhook_redelivery.py | 2 +- webhook_router/__init__.py | 2 +- webhook_router/app.py | 2 +- webhook_router/mq.py | 2 +- webhook_router/parse.py | 2 +- webhook_router/router.py | 2 +- webhook_router/validation.py | 2 +- 30 files changed, 35 insertions(+), 35 deletions(-) diff --git a/LICENSE b/LICENSE index c4a371b..4b8b005 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2024 Canonical Ltd. + Copyright 2025 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/app.py b/app.py index d212213..af6c544 100644 --- a/app.py +++ b/app.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """The main entry point for the charmed webhook router.""" diff --git a/charm/charmcraft.yaml b/charm/charmcraft.yaml index d276253..22290f1 100644 --- a/charm/charmcraft.yaml +++ b/charm/charmcraft.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. name: github-runner-webhook-router diff --git a/charm/lib/charms/saml_integrator/v0/saml.py b/charm/lib/charms/saml_integrator/v0/saml.py index be555dc..722b1c6 100644 --- a/charm/lib/charms/saml_integrator/v0/saml.py +++ b/charm/lib/charms/saml_integrator/v0/saml.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # Licensed under the Apache2.0. See LICENSE file in charm source for details. """Library to manage the relation data for the SAML Integrator charm. diff --git a/charm/lib/charms/traefik_k8s/v2/ingress.py b/charm/lib/charms/traefik_k8s/v2/ingress.py index 93ae2f7..0723b44 100644 --- a/charm/lib/charms/traefik_k8s/v2/ingress.py +++ b/charm/lib/charms/traefik_k8s/v2/ingress.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. r"""# Interface Library for ingress. diff --git a/charm/src/charm.py b/charm/src/charm.py index cd7087d..5a07757 100755 --- a/charm/src/charm.py +++ b/charm/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. """Flask Charm entrypoint.""" diff --git a/charm/tox.ini b/charm/tox.ini index 10d33c0..b185406 100644 --- a/charm/tox.ini +++ b/charm/tox.ini @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. [tox] diff --git a/generate-src-docs.sh b/generate-src-docs.sh index 93295c5..adc1c6f 100644 --- a/generate-src-docs.sh +++ b/generate-src-docs.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2024 Canonical Ltd. -# See LICENSE file for licensing details. +# Copyright 2025 Canonical Ltd. +# See LICENSE file for licensing details. lazydocs --no-watermark --output-path src-docs webhook_router/* diff --git a/rockcraft.yaml b/rockcraft.yaml index 9894ed1..6e04d79 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. name: github-runner-webhook-router diff --git a/tests/conftest.py b/tests/conftest.py index 69269b9..c14b94b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,5 @@ -# Copyright 2024 Canonical Ltd. -# See LICENSE file for licensing details. +# Copyright 2025 Canonical Ltd. +# See LICENSE file for licensing details. """Fixtures for charm tests.""" diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index e3979c0..97bca57 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Canonical Ltd. -# See LICENSE file for licensing details. +# Copyright 2025 Canonical Ltd. +# See LICENSE file for licensing details. diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index ea7fb62..4ff5eb4 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. """Fixtures for the github-runner-webhook-router charm.""" diff --git a/tests/integration/test_app.py b/tests/integration/test_app.py index 07d9f7e..9ec94c8 100644 --- a/tests/integration/test_app.py +++ b/tests/integration/test_app.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for the charmed flask application.""" diff --git a/tests/integration/test_webhook_redelivery.py b/tests/integration/test_webhook_redelivery.py index b89dfd1..b8443d4 100644 --- a/tests/integration/test_webhook_redelivery.py +++ b/tests/integration/test_webhook_redelivery.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Integration tests for the webhook redelivery script.""" diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index e3979c0..97bca57 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2024 Canonical Ltd. -# See LICENSE file for licensing details. +# Copyright 2025 Canonical Ltd. +# See LICENSE file for licensing details. diff --git a/tests/unit/helpers.py b/tests/unit/helpers.py index 23f771b..5da3920 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. """Helper functions for the unit tests.""" diff --git a/tests/unit/test_app.py b/tests/unit/test_app.py index 2dfdf4f..2de00dc 100644 --- a/tests/unit/test_app.py +++ b/tests/unit/test_app.py @@ -1,5 +1,5 @@ -# Copyright 2024 Canonical Ltd. -# See LICENSE file for licensing details. +# Copyright 2025 Canonical Ltd. +# See LICENSE file for licensing details. """The unit tests for the flask app.""" diff --git a/tests/unit/test_mq.py b/tests/unit/test_mq.py index 67bb875..2d0b683 100644 --- a/tests/unit/test_mq.py +++ b/tests/unit/test_mq.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """The unit tests for the mq module.""" diff --git a/tests/unit/test_parse.py b/tests/unit/test_parse.py index cef670a..3b77460 100644 --- a/tests/unit/test_parse.py +++ b/tests/unit/test_parse.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Unit tests for the parse module.""" diff --git a/tests/unit/test_router.py b/tests/unit/test_router.py index f9efb7a..8c84f19 100644 --- a/tests/unit/test_router.py +++ b/tests/unit/test_router.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Unit tests for the router module.""" diff --git a/tests/unit/test_validation.py b/tests/unit/test_validation.py index d5d56b2..9e0a0d6 100644 --- a/tests/unit/test_validation.py +++ b/tests/unit/test_validation.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """The unit tests for the validation module.""" diff --git a/tests/unit/test_webhook_redelivery.py b/tests/unit/test_webhook_redelivery.py index 1555d30..67cea4c 100644 --- a/tests/unit/test_webhook_redelivery.py +++ b/tests/unit/test_webhook_redelivery.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Unit tests for webhook redelivery script.""" diff --git a/tox.ini b/tox.ini index 87ed798..164d742 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] diff --git a/webhook_redelivery.py b/webhook_redelivery.py index 7af9611..60acbd9 100644 --- a/webhook_redelivery.py +++ b/webhook_redelivery.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Redeliver failed webhooks since a given time. diff --git a/webhook_router/__init__.py b/webhook_router/__init__.py index fc725f5..748a04c 100644 --- a/webhook_router/__init__.py +++ b/webhook_router/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Flask application package for webhook router.""" diff --git a/webhook_router/app.py b/webhook_router/app.py index 6401faa..6657064 100644 --- a/webhook_router/app.py +++ b/webhook_router/app.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Flask application which receives GitHub webhooks and logs those.""" diff --git a/webhook_router/mq.py b/webhook_router/mq.py index 15589f4..ab6894d 100644 --- a/webhook_router/mq.py +++ b/webhook_router/mq.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Module for interacting with the message queue.""" diff --git a/webhook_router/parse.py b/webhook_router/parse.py index e108424..b4cbee8 100644 --- a/webhook_router/parse.py +++ b/webhook_router/parse.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Module for parsing the webhook payload.""" diff --git a/webhook_router/router.py b/webhook_router/router.py index 349dfd5..028148d 100644 --- a/webhook_router/router.py +++ b/webhook_router/router.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Module for routing webhooks to the appropriate message queue.""" import itertools diff --git a/webhook_router/validation.py b/webhook_router/validation.py index 4412896..7ad251e 100644 --- a/webhook_router/validation.py +++ b/webhook_router/validation.py @@ -1,4 +1,4 @@ -# Copyright 2024 Canonical Ltd. +# Copyright 2025 Canonical Ltd. # See LICENSE file for licensing details. """Module for validating the webhook request."""