From dd3209e3ffe43ee0e4f284f48795f580236b5395 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sun, 2 Feb 2025 12:48:23 +0800 Subject: [PATCH] chore(REUSE): convert from DEP5 to REUSE.toml --- .github/workflows/reuse-check.yml | 8 +++++--- .reuse/dep5 | 28 -------------------------- REUSE.toml | 33 +++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 31 deletions(-) delete mode 100644 .reuse/dep5 create mode 100644 REUSE.toml diff --git a/.github/workflows/reuse-check.yml b/.github/workflows/reuse-check.yml index cd0b9e8..7c6e7ca 100644 --- a/.github/workflows/reuse-check.yml +++ b/.github/workflows/reuse-check.yml @@ -7,9 +7,11 @@ name: REUSE Compliance Check on: [push, pull_request] jobs: - test: + reuse-compliance-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + - name: REUSE Compliance Check - uses: fsfe/reuse-action@v2 \ No newline at end of file + uses: fsfe/reuse-action@v5 diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index 59724d1..0000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,28 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: Pineapple Pictures -Source: https://github.com/BLumia/pineapple-pictures - -# Config files -Files: .gitignore appveyor.yml .github/* -Copyright: None -License: CC0-1.0 - -# README, resource files and Metadata files -Files: README*.md NEWS assets/*.rc assets/*.qrc dist/* -Copyright: None -License: CC0-1.0 - -# Translation files -# See assets/plain/translators.html for a list of translators -Files: app/translations/*.ts assets/plain/translators.html -Copyright: Translators from hosted.weblate.org -License: MIT - -# Assets -Files: assets/icons/*.svg -Copyright: 2022 Gary Wang -License: MIT - -Files: assets/icons/app-icon.* -Copyright: 2020 Lovelyblack -License: MIT diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..15d9cd9 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,33 @@ +version = 1 +SPDX-PackageName = "Pineapple Pictures" +SPDX-PackageDownloadLocation = "https://github.com/BLumia/pineapple-pictures" + +[[annotations]] +path = [".gitignore", "appveyor.yml", ".github/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "None" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = ["README**.md", "NEWS", "assets/**.rc", "assets/**.qrc", "dist/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "None" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = ["app/translations/**.ts", "assets/plain/translators.html"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Translators from hosted.weblate.org" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "assets/icons/**.svg" +precedence = "aggregate" +SPDX-FileCopyrightText = "2022 Gary Wang" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "assets/icons/app-icon.**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2020 Lovelyblack" +SPDX-License-Identifier = "MIT"