Skip to content

Conversation

@kyteinsky
Copy link

https://github.com/nextcloud-releases/integration_slack/actions/runs/16139958941/job/45544906587#logs

PHP 8.0 has been dropped in NC 32 but is required for NC 28.
It may not be worth in the long run to maintain separate GH workflow files to patch the issue and hope that the previous versions are running on PHP >= 8.1.

@kyteinsky kyteinsky requested a review from marcelklehr July 8, 2025 11:38
@kyteinsky kyteinsky requested a review from julien-nc as a code owner July 8, 2025 11:38
"post-update-cmd": [
"@composer bin all update --ansi",
"composer dump-autoload"
]
Copy link
Member

Choose a reason for hiding this comment

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

I think these should probably stay, no?

Copy link
Author

Choose a reason for hiding this comment

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

I was thinking "forward-command": true does this for us now, but looking at it again, maybe we still need the composer dump-autoload

Copy link
Member

Choose a reason for hiding this comment

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

No idea. I just know this was required when I added bamarni-bin

Copy link
Member

Choose a reason for hiding this comment

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

Also, classmap-authoritative should be false, because this can cause updates to fail

Copy link
Author

Choose a reason for hiding this comment

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

you're right, classmap-authoritative seems to disable classes generated at runtime. This may fail if we do that at a future point in time. (https://getcomposer.org/doc/articles/autoloader-optimization.md#optimization-level-2-a-authoritative-class-maps)
Added the dump-autoload back too. We don't need the fast load times for bamarni-bins since they're all tests but it's a good default.

@marcelklehr marcelklehr merged commit bb6c757 into main Jul 10, 2025
25 checks passed
@marcelklehr marcelklehr deleted the chore/min-nc/30 branch July 10, 2025 06:57
@kyteinsky kyteinsky mentioned this pull request Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants