Merge branch 'ci-add-reuse-job' into 'main'

CI: add job to check reuse compliance

See merge request dbus/dbus!544
This commit is contained in:
Ralf Habacker 2025-11-07 12:19:24 +00:00
commit 38bfa3dd4d
11 changed files with 83 additions and 29 deletions

View file

@ -329,6 +329,15 @@ opensuse mingw64 meson debug:
ci_test: "no"
ci_variant: "debug"
opensuse tumbleweed reuse:
image: opensuse/tumbleweed
stage: build
allow_failure: true
before_script:
- zypper --non-interactive install reuse
script:
- reuse --root /builds/dbus lint
.ubuntu-build:
extends: .unix-host-build
image: "ubuntu:latest"

View file

@ -1,9 +0,0 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: dbus
Source: https://gitlab.freedesktop.org/dbus/dbus
Files:
subprojects/*.wrap
Copyright:
© 2022-2023 Meson contributors
License: MIT

74
REUSE.toml Normal file
View file

@ -0,0 +1,74 @@
version = 1
SPDX-PackageName = "dbus"
SPDX-PackageDownloadLocation = "https://gitlab.freedesktop.org/dbus/dbus"
[[annotations]]
path = ["subprojects/**.wrap"]
precedence = "aggregate"
SPDX-FileCopyrightText = ["© 2022-2023 Meson contributors"]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/valid-messages/byteswap-fd-index.message-raw",
"test/data/valid-messages/byteswap-fd-index.message-raw.hex"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Evgeny Vereshchagin", "2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/valid-messages/minimal.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/invalid-messages/truncated-variant-sig.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/invalid-messages/mis-nested-sig.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Evgeny Vereshchagin", "2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/invalid-messages/issue418.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Evgeny Vereshchagin", "2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/invalid-messages/boolean-has-no-value.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2003 Red Hat, Inc."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/invalid-messages/fixed-array-not-divisible.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Evgeny Vereshchagin", "2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = [
"test/data/invalid-messages/zero-length-variant-sig.message-raw"
]
precedence = "override"
SPDX-FileCopyrightText = ["2022 Collabora Ltd."]
SPDX-License-Identifier = "MIT"

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2003 Red Hat, Inc.
SPDX-License-Identifier: MIT

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 Evgeny Vereshchagin
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 Evgeny Vereshchagin
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 Evgeny Vereshchagin
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 Evgeny Vereshchagin
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2022 Collabora Ltd.
SPDX-License-Identifier: MIT