open-lms-open-source / moodle-mod_hsuforum

13 stars 45 forks source link

How do I install a specific version from this repo using git? #55

Open dave559 opened 6 months ago

dave559 commented 6 months ago

We prefer to install specific versions of modules in our install script so that we can be sure that our (later) live site will be the same as our test site (and to avoid incompatible module updates possibly being released between our testing and going live).

We normally check what module version is compatible with a specific Moodle version by checking the information in version.php.

For the hsuforum module, how can we match up the $plugin->release value with the appropriate tag or branch value so that we are installing the appropriate version?

The tag values seem to follow their own separate naming scheme, and it is not entirely clear how the branch names work (Does MOODLE_nnn_STABLE mean that it should work with the similarly named Moodle version (or newer (hopefully))? But although there is a MOODLE_403_STABLE branch, there is also a MOODLE_43_STABLE branch, which is a bit confusing?).

Thanks for any advice.