-
Task
-
Resolution: Fixed
-
Medium
-
None
During the last days, it has happened several times for me that a plugin version downloaded from moodle.org/plugins did not contain a folder with the expected plugin name but a folder with a name from Github.
For example:
- Getting the plugin version from https://moodle.org/plugins/download.php/24505/atto_morefontcolors_moodle311_2021062100.zip contains a folder called 'ndunand-moodle-atto_morefontcolors-872a60c'.
- Getting an earlier version from https://moodle.org/plugins/download.php/17254/atto_morefontcolors_moodle311_2018050202.zip contains a folder called 'morefontcolors'.
This has happened with multiple plugins from several developers.
I am aware that, when uploading new plugin versions to moodle.org/plugins, there is a checkbox called 'Rename root directory'. This checkbox is checked by default.
I can now imagine (without having reproduced it as I do not have a plugion version to publish currently) that this checkbox is broken and the root directory is not renamed when publishing a plugin version from Github. I would like to ask to have this investigated as some admins (like me) might rely on the directory structure in the Zip packages.
But furthermore, I do not see a real need for this checkbox or for unchecking this checkbox manually. That's why I would like to propose to get rid of this checkbox and to always process the uploaded Zip packages in a way that they contain a folder with the plugin name.
Thanks,
Alex
- is a regression caused by
-
MDLSITE-4781 Way to automate or script plugin archives updates into Moodle plugin base
- Resolved
- is duplicated by
-
MDLSITE-6558 Incorrect directory name in plugins (possibly from Github actions)
- Closed
- will be (partly) resolved by
-
MDLSITE-6538 Upgrade Moodle community sites to 3.11.1
- Resolved