Skip to content

Commit

Permalink
Update license headers (#84)
Browse files Browse the repository at this point in the history
* Update license headers

* update trivyignore
  • Loading branch information
arturo-seijas authored Jan 7, 2025
1 parent 8f19429 commit b05c6a8
Show file tree
Hide file tree
Showing 39 changed files with 44 additions and 39 deletions.
7 changes: 6 additions & 1 deletion .trivyignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
CVE-2022-40897
CVE-2024-6345
CVE-2024-34156 # https://github.com/canonical/pebble/issues/498
# Pebble
CVE-2024-34156
CVE-2024-45338
# statsd exporter
CVE-2024-45337
CVE-2024-45338
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion charm/charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: httprequest-lego-provider
type: charm
Expand Down
2 changes: 1 addition & 1 deletion charm/lib/charms/saml_integrator/v0/saml.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion charm/lib/charms/traefik_k8s/v2/ingress.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

r"""# Interface Library for ingress.
Expand Down
2 changes: 1 addition & 1 deletion charm/src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Charm module."""
2 changes: 1 addition & 1 deletion charm/src/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

"""HTTPRequest LEGO provider charm actions."""
Expand Down
2 changes: 1 addition & 1 deletion charm/src/charm.py
Original file line number Diff line number Diff line change
@@ -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."""
Expand Down
2 changes: 1 addition & 1 deletion charm/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

"""Fixtures for charm tests."""
Expand Down
2 changes: 1 addition & 1 deletion charm/tests/integration/test_charm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

"""Charm Integration tests."""
Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""HTTPRequest Lego Provider module."""
2 changes: 1 addition & 1 deletion httprequest_lego_provider/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""App."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/dns.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""DNS utiilities."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/forms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Forms."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/management/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""HTTPRequest management."""
2 changes: 1 addition & 1 deletion httprequest_lego_provider/management/commands/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""HTTPRequest management commands."""
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Allow domains module."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Create user module."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""List domains module."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Revoke domains module."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Models."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/serializers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Serializers."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Settings."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright 2024 Canonical Ltd.
~ Copyright 2025 Canonical Ltd.
~ See LICENSE file for licensing details.
-->
{% block content %}
Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

"""Fixtures for unit tests."""
Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/tests/management/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""HTTPRequest management tests."""
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""HTTPRequest management commands tests."""
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the allow_domains module."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the create_user module."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the list_domains module."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the revoke_domains module."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/tests/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Test settings."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/tests/test_dns.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the dns module."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/tests/test_forms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the forms module."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Unit tests for the views module."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Urls."""

Expand Down
2 changes: 1 addition & 1 deletion httprequest_lego_provider/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
"""Views."""

Expand Down
2 changes: 1 addition & 1 deletion rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

name: httprequest-lego-provider
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Canonical Ltd.
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.

[tox]
Expand Down

0 comments on commit b05c6a8

Please sign in to comment.