From 01436e1806fdb90df98394f363da4b31532ca77c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:35:59 +0000 Subject: [PATCH 1/3] chore(deps): update fsfe/reuse-action action to v5 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/reuse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index 8b9b6227e..d877c3fbb 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -19,4 +19,4 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: REUSE Compliance Check - uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0 + uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0 From 4d097f029c2f7df794734439e1eb8f34127cdfe6 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 14 Nov 2024 16:21:20 +0100 Subject: [PATCH 2/3] docs(reuse): Add translations Signed-off-by: Andy Scherzinger --- REUSE.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/REUSE.toml b/REUSE.toml index f0eef0821..189a2e6e3 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -22,3 +22,9 @@ path = ["renovate.json5", "**/.gitignore", ".library/src/androidTest/assets/**", precedence = "aggregate" SPDX-FileCopyrightText = "2024 Nextcloud GmbH and Nextcloud contributors" SPDX-License-Identifier = "MIT" + +[[annotations]] +path = ["library/src/main/res/values-**/strings.xml"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2024 Nextcloud GmbH and Nextcloud translators" +SPDX-License-Identifier = "MIT" From 04acd90ac552cacab195b56bf09a32fe5f78279a Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 14 Nov 2024 16:13:45 +0100 Subject: [PATCH 3/3] ci(lint): Update exceptions for translations Signed-off-by: Andy Scherzinger --- library/build.gradle | 2 +- library/lint.xml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/library/build.gradle b/library/build.gradle index 839ef42c9..f4c073d04 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -131,7 +131,7 @@ android { lint { abortOnError true - disable 'GradleDependency','InvalidPackage' + disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'StringFormatInvalid', 'MissingQuantity', 'InvalidPackage' htmlOutput file("$project.buildDir/reports/lint/lint.html") htmlReport true warningsAsErrors true diff --git a/library/lint.xml b/library/lint.xml index aa7aee9b4..efcf83895 100644 --- a/library/lint.xml +++ b/library/lint.xml @@ -7,6 +7,36 @@ ~ SPDX-License-Identifier: MIT --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +