Skip to content

Commit

Permalink
Fix licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Aug 25, 2023
1 parent 42aef48 commit d4c55a4
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
header:
license:
spdx-id: Apache-2.0
copyright-owner: Canonical Ltd.
content: |
Copyright [year] [owner]
See LICENSE file for licensing details.
paths:
- '**'
paths-ignore:
- '.github/**'
- '**/.gitkeep'
- '**/*.cfg'
- '**/*.conf'
- '**/*.j2'
- '**/*.json'
- '**/*.md'
- '**/*.rule'
- '**/*.tmpl'
- '**/*.txt'
- '.codespellignore'
- '.dockerignore'
- '.flake8'
- '.jujuignore'
- '.gitignore'
- '.licenserc.yaml'
- '.trivyignore'
- '.woke.yaml'
- '.woke.yml'
- 'CODEOWNERS'
- 'icon.svg'
- 'LICENSE'
- 'trivy.yaml'
- 'zap_rules.tsv'
- 'lib/**'
- 'files/**'
comment: on-failure
2 changes: 2 additions & 0 deletions actions.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
grant-admin-role:
description: >
Grant the "system_admin" role to a user. The user will need to log out and
Expand Down
2 changes: 2 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
type: "charm"
bases:
- build-on:
Expand Down
2 changes: 2 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
options:
clustering:
type: boolean
Expand Down
2 changes: 2 additions & 0 deletions mattermost.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
FROM ubuntu:focal AS canonical_flavour_builder

# Avoid needing any input from package installs.
Expand Down
2 changes: 2 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
name: mattermost-k8s
display-name: Mattermost
summary: Messaging platform for team collaboration.
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright 2023 Canonical Ltd.
# see LICENCE file for details.
# See LICENSE file for licensing details.

"""General configuration module for tests."""
import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/localstack-installation.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.

pip install pip --upgrade
pip install pyopenssl --upgrade
Expand Down

0 comments on commit d4c55a4

Please sign in to comment.