Skip to content

Conversation

@kesselb
Copy link
Collaborator

@kesselb kesselb commented Sep 5, 2025

For unknown reasons, the reuse check is failing despite a definition being available in .reuse/dep5 🤷

image

@kesselb kesselb added this to the Nextcloud 31.0.9 milestone Sep 5, 2025
@kesselb kesselb self-assigned this Sep 5, 2025
@kesselb kesselb added bug 3. to review Waiting for reviews labels Sep 5, 2025
For unknown reasons the reuse check is failing despite a definition
being available in .reuse/dep5

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the stable31-reuse-check branch from 07254b1 to c8b96bb Compare September 5, 2025 17:09
@kesselb kesselb requested a review from sorbaugh September 5, 2025 17:10
@AndyScherzinger
Copy link
Member

@kesselb is that license file only in the settings in an invisible way or will it be copied over to the users' data?

Afk, else could also check ich the version in use of the reuse action

@kesselb
Copy link
Collaborator Author

kesselb commented Sep 5, 2025

I think that PDF is used by

$data = file_get_contents(__DIR__ . '/../../data/Reasons to use Nextcloud.pdf');

The examples in the homedir are coming from https://github.com/nextcloud/example-files/ afaik.

I can take a second look later.

@kesselb
Copy link
Collaborator Author

kesselb commented Sep 7, 2025

The examples in the homedir are coming from https://github.com/nextcloud/example-files/ afaik.

The example files are copied to core/skeleton during the build. The only reference to the file in apps/settings/data/ is from the ReasonsController. Unless someone set the skeletondirectory to apps/settings/data, we do not copy the contents of the folder somewhere.

also check ich the version in use of the reuse action

The reuse action wasn't update recently, but the action is fetching the latest version of the resuse-tools and something there must have changed.

Good:

docker run --rm --volume $(pwd):/data fsfe/reuse:5@sha256:000c3fc0c3e39e95b36fa9966d0104ae0496571b7de7b9f0c889a66438581bda lint

Bad:

docker run --rm --volume $(pwd):/data fsfe/reuse:5@sha256:f89e2e1284685463a8b3486371dcd7547af564ccec546ff08db00f9c072b85a7 lint

It seems that only .reuse/dep5 is affected, because the same version on master/stable32, where we are using REUSE.toml, does not complain.

Adding the .license file looks like the easiest solution. Given the low impact, I’d wait to merge it until 31/30 final are out. Ideally, we won’t have any more merges for stable31 since it’s in freeze.

@AndyScherzinger
Copy link
Member

Sounds good, the other easy solution would be pinning the reuse action by the latest commit hash that worked. Either one is fine 👍

@st3iny
Copy link
Member

st3iny commented Sep 9, 2025

/backport to stable30

Copy link
Member

@st3iny st3iny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes CI 🥳

@AndyScherzinger
Copy link
Member

to be merged after the code-freeze

@kesselb
Copy link
Collaborator Author

kesselb commented Sep 9, 2025

Superseeded by #54979

@kesselb kesselb closed this Sep 9, 2025
@kesselb kesselb deleted the stable31-reuse-check branch September 9, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants