Skip to content

ci: use recommended mobileapp template folder (requires Moodle 3.8)#702

Open
jrchamp wants to merge 2 commits intoncstate-delta:mainfrom
jrchamp:fix/move-mobile-templates
Open

ci: use recommended mobileapp template folder (requires Moodle 3.8)#702
jrchamp wants to merge 2 commits intoncstate-delta:mainfrom
jrchamp:fix/move-mobile-templates

Conversation

@jrchamp
Copy link
Copy Markdown
Collaborator

@jrchamp jrchamp commented Feb 16, 2026

In moodle-plugin-ci 4.5.10, logic was added to treat the templates/mobileapp folder as special. Initially, it means the templates are automatically skipped, but in the future there may be actually relevant checks performed on these mobile templates.

Warning: Please note that Moodle added support for template folders in Moodle 3.8 (which we discovered previously in #398). Currently, this plugin only requires Moodle 3.7, so this would break compatibility and require an increase to the minimum supported version.

@jrchamp jrchamp added this to the v6.0.0 milestone Feb 16, 2026
@jrchamp jrchamp requested a review from a team February 16, 2026 17:03
@jrchamp jrchamp self-assigned this Feb 16, 2026
@jrchamp jrchamp added bug Fixes problems or reduces technical debt bc-break Breaks backward compatibility labels Feb 16, 2026
@smbader
Copy link
Copy Markdown
Contributor

smbader commented Feb 19, 2026

I remember when we talked about these templates and why they were ignored. I'm so happy they will have a home now to be ignored without the special MUSTACHE_IGNORE_NAMES.

@jrchamp jrchamp changed the title ci: use recommended mobileapp template folder ci: use recommended mobileapp template folder (requires Moodle 3.8) Apr 13, 2026
@jrchamp
Copy link
Copy Markdown
Collaborator Author

jrchamp commented Apr 13, 2026

Note to self: It would be cleaner to fold #604 into this PR. They are both low-impact, backward-incompatible changes and modify some of the same lines, so let's not create merge conflicts for the maintainer. Even though the other change is older, this is the more-beneficial of the two and has the clearest requirements change.

@jrchamp jrchamp force-pushed the fix/move-mobile-templates branch from c73970f to 4329c48 Compare April 17, 2026 12:40
@smbader
Copy link
Copy Markdown
Contributor

smbader commented Apr 23, 2026

This patch requires us to drop everything prior to 3.8. Moodle version 3.9 ended in December 2023 and I can see justifying dropping support for previous versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bc-break Breaks backward compatibility bug Fixes problems or reduces technical debt

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants