Skip to content

Commit

Permalink
Merge pull request #1589 from nextcloud/renovate/fsfe-reuse-action-5.x
Browse files Browse the repository at this point in the history
chore(deps): update fsfe/reuse-action action to v5
  • Loading branch information
AndyScherzinger authored Nov 14, 2024
2 parents af4a196 + 04acd90 commit 575f958
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions library/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,36 @@
~ SPDX-License-Identifier: MIT
-->
<lint>
<issue id="MissingQuantity">
<ignore path="**/values-ka-rGE/strings.xml"/>
<ignore path="**/values-ar/strings.xml" />
</issue>

<issue id="UnusedQuantity">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="StringFormatCount">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="ExtraTranslation">
<ignore path="**/strings.xml"/>
<ignore path="**/values-b+en+001/strings.xml"/>
</issue>

<issue id="UnusedResources">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="TypographyEllipsis">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="Typos">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="TrustAllX509TrustManager">
<ignore path="**/bouncycastle/est/jcajce/*.class" />
<ignore path="**/bcpkix-jdk18on-1.**.jar" />
Expand Down

0 comments on commit 575f958

Please sign in to comment.