Azure / Azure/Moodle

moodleVersion config option vs hardcoded moodle version download.

Open
#312 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
184
Forks
186
PR merge metrics
No merged PRs in 30d

Description

In the documentation
https://github.com/Azure/Moodle/blob/b34a1a7c01c7f0e3cca49e9fea9a749935b714cd/docs/Parameters.md#moodleversion
The documenatation says:
moodleVerison: The Moodle version you want to install.

Near
https://github.com/Azure/Moodle/blob/b34a1a7c01c7f0e3cca49e9fea9a749935b714cd/azuredeploy.json#L122
moodleVersion possible values is: MOODLE_402_STABLE which is fine so far, but in
https://github.com/Azure/Moodle/blob/b34a1a7c01c7f0e3cca49e9fea9a749935b714cd/scripts/install_moodle.sh#L256
the install script uses hardcoded version not the $moodleVersion variable.

Which as far as we have only one possible value is not a major problem, but it might be as far as we have more than one.

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the moodleVersion parameter in docs/Parameters.md and azuredeploy.json with the installation logic near line 256 of scripts/install_moodle.sh. Trace how the selected version reaches the installer, then verify that the documented and configured value is used consistently instead of a separate hardcoded version.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, shell
Domain
cloud, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.