Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit c54cf23

Browse files
Update license headers date (#75)
1 parent cf0837e commit c54cf23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+49
-49
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2023 Canonical Ltd.
190+
Copyright 2024 Canonical Ltd.
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

actions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
rotate-secret-key:
44
description: >

charmcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
type: charm
44
bases:

config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
options:
44
database_migration_script:

default_rock/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
from flask import Flask
44

default_rock/rockcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
name: flask-app
44
summary: Default Flask application image.

generate-src-docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright 2023 Canonical Ltd.
3+
# Copyright 2024 Canonical Ltd.
44
# See LICENSE file for licensing details.
55

66
lazydocs --no-watermark --output-path src-docs src/*

lib/charms/data_platform_libs/v0/data_interfaces.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

lib/charms/traefik_k8s/v2/ingress.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
r"""# Interface Library for ingress.

metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
name: flask-k8s

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
# Testing tools configuration

src/charm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
"""Flask Charm service."""

src/charm_state.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""This module defines the CharmState class which represents the state of the Flask charm."""

src/charm_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
"""Type definitions for the Flask charm."""

src/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""This module defines constants used throughout the Flask application."""

src/database_migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Provide the DatabaseMigration class to manage database migrations."""

src/databases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Provide the Databases class to handle database relations and state."""

src/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Exceptions used by the Flask charm."""

src/flask_app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Provide the FlaskApp class to represent the Flask application."""

src/observability.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Provide the Observability class to represent the observability stack for Flask application."""

src/secret_storage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Provide the SecretStorage for managing the persistent secret storage for the Flask charm."""

src/webserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Provide the GunicornWebserver class to represent the gunicorn server."""

test_db_rock/alembic.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; Copyright 2023 Canonical Ltd.
1+
; Copyright 2024 Canonical Ltd.
22
; See LICENSE file for licensing details.
33

44
[alembic]

test_db_rock/alembic/env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
import os

test_db_rock/alembic/versions/eca6177bd16a_initial_migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Initial migration

test_db_rock/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
import os

test_db_rock/database-migration.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /usr/bin/env bash
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
alembic upgrade head

test_db_rock/rockcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
name: test-db-flask
44
summary: A flask test app

test_rock/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
import os

test_rock/rockcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33
name: test-flask
44
summary: A flask test app

tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Tests module."""

tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Global fixtures and utilities for integration and unit tests."""

tests/integration/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.

tests/integration/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Fixtures for flask charm integration tests."""

tests/integration/test_charm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
"""Integration tests for Flask charm."""

tests/integration/test_cos.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
"""Integration tests for Flask charm COS integration."""

tests/integration/test_database.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
"""Integration tests for Flask charm database integration."""

tests/integration/test_db_migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Integration tests for Flask charm database integration."""

tests/integration/test_default.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Integration tests for flask-k8s charm default image."""

tests/integration/test_proxy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2023 Canonical Ltd.
2+
# Copyright 2024 Canonical Ltd.
33
# See LICENSE file for licensing details.
44

55
"""Integration tests for Flask charm proxy setting."""

tests/unit/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.

tests/unit/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""pytest fixtures for the integration test."""

tests/unit/test_charm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Flask charm unit tests."""

tests/unit/test_charm_state.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Flask charm state unit tests."""

tests/unit/test_database_migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Unit tests for Flask charm database integration."""

tests/unit/test_databases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Flask charm database relations unit tests."""

tests/unit/test_flask_app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Flask charm unit tests for the flask_app module."""

tests/unit/test_webserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
"""Flask charm unit tests for the webserver module."""

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Canonical Ltd.
1+
# Copyright 2024 Canonical Ltd.
22
# See LICENSE file for licensing details.
33

44
[tox]

0 commit comments

Comments
 (0)