Skip to content

Conversation

fulldecent
Copy link
Contributor

This PR tries to implement a best practice documented here https://github.com/fulldecent/moodle-local_plugin_template/blob/main/.github/workflows/ci.yml


We would like to automatically test this plug-in every month by automatically looking for the latest stable version of Moodle.

This will allow us to achieve 4.5, 5.0 and 5.1 compatibility, possibly in our sleep.


Personally, I think the Moodle maintainer leadership is derelict in making this so difficult for our plug-in here and the millions of other plug-ins to stay up-to-date. So I think best practice today is to use a level of indirection like I am showing in this PR and I'm documenting in our best practices repo.

@fulldecent fulldecent marked this pull request as ready for review May 27, 2025 15:43
@mdjnelson
Copy link
Owner

Sorry, I don't see the point of this .. if you look it just tested 404 stable. I don't understand how it will automatically do it for all versions. :)

@fulldecent
Copy link
Contributor Author

Okay, I see their documentation here:

https://github.com/catalyst/catalyst-moodle-workflows?tab=readme-ov-file#rocket-quick-start


This CI script will test our 404 branch against 404 Moodle.

And the same CI script will test our 405 branch against 405 Moodle.

And if our develop branch has a target version of like "999" or something then it will also test that against the main version upstream.


Using our develop version with that version "to 999" might be a good way to automatically test against new versions upstream as they are being released. And then when we release 501 or whatever then we would branch off and support that specific version.

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.

2 participants