Skip to content

Commit

Permalink
Use Reuse as license
Browse files Browse the repository at this point in the history
Signed-off-by: Olamide Ojo <[email protected]>
  • Loading branch information
olamidepeterojo committed Feb 21, 2025
1 parent 9863192 commit 44ddeb2
Show file tree
Hide file tree
Showing 33 changed files with 15 additions and 383 deletions.
4 changes: 0 additions & 4 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

# See the documentation for more information:
# https://packit.dev/docs/configuration/

Expand Down
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

repos:
# Generic hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
4 changes: 0 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
---
Expand Down
4 changes: 0 additions & 4 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

* @fedora-infra/fedmsg-maintainers
205 changes: 0 additions & 205 deletions LICENSE

This file was deleted.

121 changes: 6 additions & 115 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,7 @@ version = 2

# Test fixtures
[[annotations]]
path = ["tests/fixtures/bad_cb"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/ca_bundle.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/cert.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/good_msg_dump.txt"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/invalid_ca.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/invalid_key.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/invalid_msg_dump.txt"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/key.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/msg_without_topic_dump.txt"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/wrong_json_msg_dump.txt"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/ca_bundle.pem"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/cert.pem"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["tests/fixtures/key.pem"]
path = ["tests/fixtures/*"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

Expand All @@ -74,67 +14,18 @@ SPDX-License-Identifier = "GPL-2.0-or-later"

# configs
[[annotations]]
path = ["configs/cacert.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora-cert.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora-key.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora.stg-cert.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora.stg-key.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/stg-cacert.pem.license"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/cacert.pem"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora-cert.pem"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora-key.pem"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora.stg-cert.pem"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

[[annotations]]
path = ["configs/fedora.stg-key.pem"]
path = ["configs/*"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

# FMF
[[annotations]]
path = ["configs/stg-cacert.pem"]
path = [".fmf/version", "packit/installation/*.fmf"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"

# FMF
# News fragments
[[annotations]]
path = [".fmf/version", "packit/installation/*.fmf"]
path = ["news/*"]
SPDX-FileCopyrightText = "2024 Red Hat, Inc"
SPDX-License-Identifier = "GPL-2.0-or-later"
4 changes: 0 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

coverage:
status:
project:
Expand Down
4 changes: 2 additions & 2 deletions config.toml.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
# SPDX-License-Identifier: GPL-2.0-or-later

# A sample configuration for fedora-messaging. This file is in the TOML format.
amqp_url = "amqp://"
Expand Down
Empty file removed configs/cacert.pem.license
Empty file.
Empty file removed configs/fedora-cert.pem.license
Empty file.
Empty file removed configs/fedora-key.pem.license
Empty file.
Empty file.
Empty file removed configs/fedora.stg-key.pem.license
Empty file.
4 changes: 0 additions & 4 deletions configs/fedora.stg.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

# A basic configuration for Fedora's staging message broker, using the example
# callback which simply prints messages to standard output.
#
Expand Down
4 changes: 0 additions & 4 deletions configs/fedora.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

# A basic configuration for Fedora's message broker, using the example callback
# which simply prints messages to standard output.
#
Expand Down
Empty file removed configs/stg-cacert.pem.license
Empty file.
4 changes: 2 additions & 2 deletions docs/requirements-readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
# SPDX-License-Identifier: GPL-2.0-or-later

myst-parser
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later
-->

A sample schema package.

Expand Down
4 changes: 2 additions & 2 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
# SPDX-License-Identifier: GPL-2.0-or-later

[Unit]
Description=Fedora Messaging consumer
Expand Down
2 changes: 0 additions & 2 deletions news/187.feature.license

This file was deleted.

2 changes: 0 additions & 2 deletions news/359.feature.license

This file was deleted.

2 changes: 0 additions & 2 deletions news/380.feature.license

This file was deleted.

6 changes: 0 additions & 6 deletions news/383.docs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
<!--
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later
-->

Use Reuse for the license text and license header
6 changes: 0 additions & 6 deletions news/_template.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!--
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later
-->

{% macro reference(value) -%}
{%- if value.startswith("PR") -%}
PR #{{ value[2:] }}
Expand Down
3 changes: 0 additions & 3 deletions packit/installation/main.fmf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
SPDX-FileCopyrightText: 2024 Red Hat, Inc
SPDX-License-Identifier: GPL-2.0-or-later

summary: Check some CLI commands
execute:
script:
Expand Down
3 changes: 0 additions & 3 deletions poetry.lock.license

This file was deleted.

4 changes: 0 additions & 4 deletions tests/fixtures/bad_conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# SPDX-FileCopyrightText: 2024 Red Hat, Inc
#
# SPDX-License-Identifier: GPL-2.0-or-later

publish_exchange = I forgot quotes here
Empty file.
Empty file removed tests/fixtures/cert.pem.license
Empty file.
Empty file.
Empty file.
Empty file removed tests/fixtures/key.pem.license
Empty file.
1 change: 0 additions & 1 deletion tests/fixtures/msg_without_topic_dump.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

{"body": {"test_key1": "test_value1"}, "headers": {"fedora_messaging_schema": "base.message", "fedora_messaging_severity": 20, "sent-at": "2018-11-18T10:11:41+00:00"}, "queue": "test_queue"}

0 comments on commit 44ddeb2

Please sign in to comment.